New jail does not understand nullfs

Matt Donovan kitchetech at gmail.com
Mon Dec 3 08:45:10 UTC 2012


Updated system to r243801 the allow.mount.nullfs still errors out.
On Dec 2, 2012 8:15 PM, "Matt Donovan" <kitchetech at gmail.com> wrote:

> Attached is my jail.conf. according to my logs I am using r243464. Going
> to do another svn update and try again as well.
>  On Dec 2, 2012 7:12 PM, "Mateusz Guzik" <mjguzik at gmail.com> wrote:
>
>> On Sun, Dec 02, 2012 at 08:09:39AM -0700, Ian Lepore wrote:
>> > On Sun, 2012-12-02 at 01:17 -0600, Matt Donovan wrote:
>> > > When attempting to start the jail in question the following happens
>> > >
>> > >
>> > > server# jail -c poudriere
>> > > jail: poudriere: unknown parameter: allow.mount.nullfs
>> > >
>> > >
>> > > Below is my jail.conf
>> > >
>> > > poudriere {
>> > >          name=poudriere;
>> > >          host.hostname=poudriere;
>> > >         ip4.addr="192.168.1.30";
>> > >        persist;
>> > >         children.max=10;
>> > >         allow.mount;
>> > >          mount.devfs;
>> > >       allow.mount.nullfs;
>> > >       allow.raw_sockets;
>> > >       allow.socket_af;
>> > >       allow.sysvipc;
>> > >       enforce_statfs=1;
>> > >       path=/newsystem/jail/poudriere;
>> > >       exec.stop="umount -a";
>> > > }
>> > >
>> > > Does the switch not work yet? As I am using CURRENT with the latest
>> > > revision.
>> > >
>> >
>> > That "mount.devfs" doesn't look right, should that have "allow." on the
>> > front?  I wonder if that's the problem and the error report is off by
>> > one line or something?
>> >
>>
>> mount.devfs means "mount devfs" :)
>>
>> However, it indeed may be some issue with config parsing, e.g. some
>> mishandled whitespace.
>>
>> Matt, in general this should work just fine. What revision are you using
>> to test? Can you attach this config instead of copy-pasting it?
>>
>> --
>> Mateusz Guzik <mjguzik gmail.com>
>>
>


More information about the freebsd-current mailing list