On Thu, 8 Aug 2013 14:53+0300, George Kontostanos wrote:
> On Wed, Aug 7, 2013 at 7:26 PM, George Kontostanos wrote:
>
> > Hi list,
> >
> > With a 9.1 system and the following:
> >
> > /etc/sysctl.conf:
> >
> > security.jail.mount_allowed=1
> > security.jail.mount_zfs_allowed=1
> > security.jail.enforce_statfs=1
> >
> > zfs set jailed=on Pool
> > zfs jail 1 Pool
> >
> > jexec 1 tcsh
> >
> > jail1# zfs create Pool/test1
> > jail1# zfs list
> >
> > NAME USED AVAIL REFER MOUNTPOINT
> > Pool 223K 19.6G 31K /Pool
> > Pool/test1 31K 19.6G 31K /Pool/test
> >
> > After upgrading to 9.2-RC1 the same operation results in:
> >
> > jail1# zfs create Pool/test2
> >
> > cannot create 'Pool/test2': permission denied
> >
> > What am I missing?
> >
> > Thanks
> >
> > --
> > George Kontostanos
> > ---
> >
> >
> Anybody?
I'm just guessing, but I doubt a jail would be able to create new ZFS
filesystems outside its own structure, if at all able. A jail would
however be allowed to (un)mount already existing filesystems within
its own structure, i.e. Pool/test1.
--
+-------------------------------+------------------------------------+
| Vennlig hilsen, | Best regards, |
| Trond Endrestøl, | Trond Endrestøl, |
| IT-ansvarlig, | System administrator, |
| Fagskolen Innlandet, | Gjøvik Technical College, Norway, |
| tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, |
| sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. |
+-------------------------------+------------------------------------+
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"