svn commit: r278323 - in head: etc/rc.d usr.sbin/jail
Garrett Cooper
yaneurabeya at gmail.com
Sat Feb 7 05:23:49 UTC 2015
On Feb 6, 2015, at 18:38, James Gritton <jamie at freebsd.org> wrote:
> On 2015-02-06 19:23, Garrett Cooper wrote:
>> On Feb 6, 2015, at 9:54, Jamie Gritton <jamie at freebsd.org> wrote:
>>> Author: jamie
>>> Date: Fri Feb 6 17:54:53 2015
>>> New Revision: 278323
>>> URL: https://svnweb.freebsd.org/changeset/base/278323
>>> Log:
>>> Add mount.procfs jail parameter, so procfs can be mounted when a prison's
>>> root is in its fstab.
>>> Also fix a typo while I'm at it.
>>> PR: 197237 197066
>>> MFC after: 3 days
>>> Modified:
>>> head/etc/rc.d/jail
>>> head/usr.sbin/jail/command.c
>>> head/usr.sbin/jail/config.c
>>> head/usr.sbin/jail/jail.8
>>> head/usr.sbin/jail/jail.c
>>> head/usr.sbin/jail/jailp.h
>> I think you broke the Jenkins tests runs, and potentially jail support
>> in some edgecases:
>> https://jenkins.freebsd.org/job/FreeBSD_HEAD-tests2/651/
>
> Where do I go from here? There error you refer to certainly seems jail-related, which leads me to guess at something disconnected between the matching rc.d/jail and jail(8) change (i.e. using the new rc file with the old jail program). But that's really just a wild guess. Is there somewhere I look for more information? For example, where does Jenkins actually do its thing?
>
> Sorry for being so stupid in this - Jenkins has only been on the very edge of my awareness until now.
I honestly don’t think it’s Jenkins because Jenkins runs in bhyve. I think you accidentally broke option handling in the jail configuration (please see my other reply about added “break;” statements).
pgrep uses /proc to determine whether or not a process is running. If it’s not properly mounted or the jail isn’t started properly, that could cause the issues seen here. I know because I’ve tried running these tests before in an attempt to fix them, and this was one of the things I ran into.
You can verify your changes by doing:
% (cd /usr/tests/bin/pkill; sudo kyua test)
Cheers!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20150206/2a2a4795/attachment.sig>
More information about the svn-src-head
mailing list