ezjail and zfs in FreeBSD>=9.1

看板FB_stable作者時間12年前 (2014/02/19 17:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
Hello. It seems that ezjail 3.3 doesn't set allow.mount allow.mount.zfs when delegates zfs fs to a jail. Changing # Attach ZFS-datasets to the jail for zfs in ${ezjail_zfs_datasets}; do /sbin/zfs jail ${ezjail_id} ${zfs} || echo -n "Error: ${zfs} could not be configured" done to # Attach ZFS-datasets to the jail [ -z "${ezjail_zfs_datasets}" ] || /usr/sbin/jail -m jid=${ezjail_id} allow.mount allow.mount.zfs for zfs in ${ezjail_zfs_datasets}; do /sbin/zfs jail ${ezjail_id} ${zfs} || echo -n "Error: ${zfs} could not be configured" done in /usr/local/etc/rc.d/ezjail solves the issue for me. -- Best regards, Alexander Pyhalov, system administrator of Computer Center of Southern Federal University _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
文章代碼(AID): #1J17eIzx (FB_stable)