jails with quota
Ernie Luzar
luzar722 at gmail.com
Fri Feb 14 18:53:18 UTC 2020
Looked all over and only found small blurb in jail(8) manpage that
really says next to nothing. I created /usr/jails/fulljail by
un-compressing the downloaded base.txz file and then copying the hosts
localtime file and resolv.conf file to the fulljail. This fulljail
starts and stops with out problems. I have added a user called daddy to
this jail.
On the host I added quota_enable="YES" and check_quotas="YES" to the
hosts rc.conf file. Also added userquota option to the hosts /etc/fstab
file and rebooted the host.
The quota commands repquota -ah, quota -h bob, and edquota -uh bob all
work on the host.
But after starting the fulljail with the allow.quotas option in
jail.config and entering the root console I get this
edquota -uh daddy message "NO quotas on any filesystem
repquota -ah gives nothing
quota -h daddy message Disk quotas for user daddy (uid1001): none
I see that quota had bug fixed in 12.0 that is now in 12.1 release that
I am running on my host. Did that fix screw up jail quotas? Does the
/etc/fstab file in fulljail need a entry? If so what should it look like.
More information about the freebsd-jail
mailing list