Bug 207179 - MFC of r285685 to permit linprocfs in jails (for poudriere in jails)
Summary: MFC of r285685 to permit linprocfs in jails (for poudriere in jails)
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 10.2-STABLE
Hardware: Any Any
: --- Affects Some People
Assignee: Marcelo Araujo
URL: https://reviews.freebsd.org/D2846
Keywords: easy, patch
Depends on:
Blocks:
 
Reported: 2016-02-14 09:28 UTC by Thomas Steen Rasmussen / Tykling
Modified: 2016-02-24 05:06 UTC (History)
4 users (show)

See Also:
koobs: mfc-stable10+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Steen Rasmussen / Tykling 2016-02-14 09:28:34 UTC
The following commit adds a knob to permit mounting linprocfs in jails: https://svnweb.freebsd.org/base?view=revision&revision=285685

When running poudriere inside a jail linprocfs is needed if you want to build linux ports. Without this patch the only way to run poudriere inside a jail is to use NOLINUX=yes in the config.

Any chance of getting an MFC for r285685? Thanks!
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2016-02-14 12:13:44 UTC
Thank you Thomas,

I presume you have tested this on the latest stable/10 revision to confirm it has not been MFC'd (and not merely gone unreported)

CC'ing original committer and patch submitter (araujo)

CC'ing re, due to feature freeze / slush. This change request approval will need to be made through the proper mechanism
Comment 2 Nikolai Lifanov 2016-02-15 22:50:36 UTC
I would like to comment that this patch is non-intrusive and low risk.
Comment 3 Marcelo Araujo freebsd_committer freebsd_triage 2016-02-16 01:49:52 UTC
Let me take it.
Comment 4 Marcelo Araujo freebsd_committer freebsd_triage 2016-02-22 07:58:16 UTC
Open review and waiting for approve.

https://reviews.freebsd.org/D5390
Comment 5 commit-hook freebsd_committer freebsd_triage 2016-02-24 02:35:07 UTC
A commit references this bug:

Author: araujo
Date: Wed Feb 24 02:34:12 UTC 2016
New revision: 295951
URL: https://svnweb.freebsd.org/changeset/base/295951

Log:
  MFH: 285685
  Add support to the jail framework to be able to mount linsysfs(5) and linprocfs(5).

  PR:		207179
  Requested by:	thomas@gibfest.dk
  Reviewed by:	jamie, bapt
  Approved by:	re (gjb)
  Sponsored by:	gandi.net
  Differential Revision:	https://reviews.freebsd.org/D5390

Changes:
  stable/10/sys/compat/linprocfs/linprocfs.c
  stable/10/sys/compat/linsysfs/linsysfs.c
  stable/10/sys/kern/kern_jail.c
  stable/10/sys/sys/jail.h
  stable/10/usr.sbin/jail/jail.8
Comment 6 Marcelo Araujo freebsd_committer freebsd_triage 2016-02-24 02:35:35 UTC
Committed!

Thanks!