Re: New jail does not understand nullfs

From: Matt Donovan <kitchetech_at_gmail.com>
Date: Mon, 3 Dec 2012 23:23:40 -0600
Below is the output of truss jail -c poudriere

__sysctl(0x7fffffffd450,0x2,0x7fffffffd458,0x7fffffffd8c0,0x7fffffffd4b4,0x1c)
= 0 (0x0)
__sysctl(0x7fffffffd450,0x7,0x7fffffffd4b0,0x7fffffffd8b8,0x0,0x0) = 0 (0x0)
__sysctl(0x7fffffffd450,0x2,0x7fffffffd458,0x7fffffffd8c0,0x7fffffffd4b4,0x1b)
= 0 (0x0)
__sysctl(0x7fffffffd450,0x6,0x7fffffffd4b0,0x7fffffffd8b8,0x0,0x0) = 0 (0x0)
__sysctl(0x7fffffffd450,0x2,0x7fffffffd458,0x7fffffffd8c0,0x7fffffffd4b4,0x20)
= 0 (0x0)
__sysctl(0x7fffffffd450,0x7,0x7fffffffd4b0,0x7fffffffd8b8,0x0,0x0) = 0 (0x0)
__sysctl(0x7fffffffd450,0x2,0x7fffffffd458,0x7fffffffd8c0,0x7fffffffd4b4,0x1f)
= 0 (0x0)
__sysctl(0x7fffffffd450,0x7,0x7fffffffd4b0,0x7fffffffd8b8,0x0,0x0) = 0 (0x0)
__sysctl(0x7fffffffd450,0x2,0x7fffffffd458,0x7fffffffd8c0,0x7fffffffd4b4,0x26)
ERR#2 'No such file or directory'
jail: write(2,"jail: ",6)                 = 6 (0x6)
poudriere: unknown parameter: allow.mount.nullfswrite(2,"poudriere: unknown
parameter: al"...,48) = 48 (0x30)

write(2,"\n",1)                     = 1 (0x1)
__sysctl(0x7fffffffd450,0x2,0x7fffffffd458,0x7fffffffd8c0,0x7fffffffd4b4,0x25)
= 0 (0x0)
__sysctl(0x7fffffffd450,0x7,0x7fffffffd4b0,0x7fffffffd8b8,0x0,0x0) = 0 (0x0)
__sysctl(0x7fffffffd450,0x2,0x7fffffffd458,0x7fffffffd8c0,0x7fffffffd4b4,0x23)
= 0 (0x0)
__sysctl(0x7fffffffd450,0x7,0x7fffffffd4b0,0x7fffffffd8b8,0x0,0x0) = 0 (0x0)
__sysctl(0x7fffffffd450,0x2,0x7fffffffd458,0x7fffffffd8c0,0x7fffffffd4b4,0x21)
= 0 (0x0)
__sysctl(0x7fffffffd450,0x7,0x7fffffffd4b0,0x7fffffffd8b8,0x0,0x0) = 0 (0x0)
__sysctl(0x7fffffffd450,0x2,0x7fffffffd458,0x7fffffffd8c0,0x7fffffffd4b4,0x22)
= 0 (0x0)
__sysctl(0x7fffffffd450,0x6,0x7fffffffd4b0,0x7fffffffd8b8,0x0,0x0) = 0 (0x0)
__sysctl(0x7fffffffd450,0x2,0x7fffffffd458,0x7fffffffd8c0,0x7fffffffd4b4,0x18)
= 0 (0x0)
__sysctl(0x7fffffffd450,0x6,0x7fffffffd4b0,0x7fffffffd8b8,0x0,0x0) = 0 (0x0)
__sysctl(0x7fffffffd458,0x4,0x7fffffffd4b4,0x7fffffffd8b8,0x0,0x0) = 0 (0x0)
sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0)
= 0 (0x0)
sigprocmask(SIG_SETMASK,0x0,0x0)         = 0 (0x0)
sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0)
= 0 (0x0)
sigprocmask(SIG_SETMASK,0x0,0x0)         = 0 (0x0)
sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0)
= 0 (0x0)
sigprocmask(SIG_SETMASK,0x0,0x0)         = 0 (0x0)
sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0)
= 0 (0x0)
sigprocmask(SIG_SETMASK,0x0,0x0)         = 0 (0x0)
sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0)
= 0 (0x0)
sigprocmask(SIG_SETMASK,0x0,0x0)         = 0 (0x0)
process exit, rval = 1

I just updated the system before my last reply. So I am sure that all is in
sync. The documentation of jail.conf though is off as it states
allow.mount.devfs should be used but this errors out mount.devfs works.



On Mon, Dec 3, 2012 at 4:35 AM, Mateusz Guzik <mjguzik_at_gmail.com> wrote:

> On Mon, Dec 03, 2012 at 02:45:09AM -0600, Matt Donovan wrote:
> > 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:
> >
>
> Can you post output of truss jail -c poudriere? Are you sure that both
> jail(8) and libjail are updated? (or that world and kernel are in sync)
>
> --
> Mateusz Guzik <mjguzik gmail.com>
>



-- 
Technological progress is like an ax in the hands of a pathological
criminal.
-*Albert Einstein

Breadth of Unix experience and depth of knowledge in the world of servers.

*
Received on Tue Dec 04 2012 - 04:24:02 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:32 UTC