Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Feb 2015 22:33:42 -0700
From:      James Gritton <jamie@freebsd.org>
To:        Garrett Cooper <yaneurabeya@gmail.com>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers <src-committers@freebsd.org>, jenkins-admin@freebsd.org
Subject:   Re: svn commit: r278323 - in head: etc/rc.d usr.sbin/jail
Message-ID:  <50b5af6dca2ee6fea17e716874d731e2@gritton.org>
In-Reply-To: <D394178A-1710-4863-BC88-07E4ABC479CD@gmail.com>
References:  <201502061754.t16HssXU042750@svn.freebsd.org> <343803A3-CFA3-4766-8294-139A6D8C0235@gmail.com> <d47729eeee3fc3725dedaeb4e4e4fb3c@gritton.org> <D394178A-1710-4863-BC88-07E4ABC479CD@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On 2015-02-06 22:23, Garrett Cooper wrote:
> On Feb 6, 2015, at 18:38, James Gritton <jamie@freebsd.org> wrote:
> 
>> On 2015-02-06 19:23, Garrett Cooper wrote:
>>> On Feb 6, 2015, at 9:54, Jamie Gritton <jamie@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).

Oh I figure I broke something, not blaming Jenkins or anything like that 
- merely voicing my ignorance of how it's all put together :-).  My 
guess is that the jail(8) changes were good (I tested those), and for 
now I've reverted the rc script change so the old (untouched) jail 
options will be used.

> 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!

OK, now I'm getting somewhere!  I'll try that test.

- Jamie



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50b5af6dca2ee6fea17e716874d731e2>