Date: Tue, 03 Feb 2015 09:42:20 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 197280] sysutils/cbsd - nullfs automounted portstree in created jail not mounted read-only Message-ID: <bug-197280-13-hvCJVqAl2w@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-197280-13@https.bugs.freebsd.org/bugzilla/> References: <bug-197280-13@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197280 --- Comment #2 from olevole@olevole.ru --- (In reply to k from comment #0) If you want /usr/ports ro in jail, do not use "mount_ports" (unset via jset or jconfig) options and put into fstab.local custom mounts, e.g for jail1: 1) /usr/jails/jails-fstab/fstab.jail1.local: ---- /usr/ports /usr/ports nullfs ro 0 0 /usr/jails/jails-data/jail1-data/usr/ports/distfiles /usr/ports/distfiles nullfs rw 0 0 --- 2) And don't forget to create jail1 distfiles for RW mount above: --- mkdir -p /usr/jails/jails-data/jail1-data/usr/ports/distfiles -- I agree that the default behavior should be RO-mount, this will be fixed in the next version. PS: Please use the CBSD bugtracker ( https://github.com/olevole/cbsd/issues ) for next time for CBSD-related issue. Please close this request, this is not ports problem. Thanks. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-197280-13-hvCJVqAl2w>