Date: Fri, 25 Jan 2013 22:09:14 +0000 From: Jase Thew <jase@FreeBSD.org> To: Russell Poyner <rpoyner@engr.wisc.edu> Cc: freebsd-jail@freebsd.org Subject: Re: ezjail and allow.mount.zfs on 9.1 Message-ID: <5103028A.5050503@FreeBSD.org> In-Reply-To: <5102DEBC.50604@engr.wisc.edu> References: <5102DEBC.50604@engr.wisc.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On 25/01/2013 19:36, Russell Poyner wrote: > An earlier thread discussed the issues involved with allowing jails to > mount zfs filesystems. > > here: > http://freebsd.1045724.n5.nabble.com/9-1-PRERELEASE-allow-mount-allow-mount-zfs-do-not-get-passed-to-child-td5740553.html#a5742453 > > > I can get it to work if I do: > jail -m jid=12 allow.mount.zfs > > on the running jail, but I'm at a loss to figure out how to make the > setting survive a restart of the jail. > > Is there a way to get ezjail to honor the new /etc/jail.conf file? > > Or could someone post an example of how to set this using the > /usr/local/etc/ezjail/JAILNAME > file? > > Thanks > Russ Poyner Hi Russ, Since the introduction of jail_<name>_parameters support in /etc/rc.d/jail, you can add a line to your /usr/local/etc/ezjail/<jailname> config file to pass jail start-time parameters. eg. export jail_<jailname>_parameters="allow.mount=1 allow.raw_sockets=1 etc." Regards, Jase. -- Jase Thew jase@FreeBSD.org FreeBSD Ports Committer
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5103028A.5050503>