Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Feb 2020 17:19:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 244193] quota not working for jails in release 12.0 & 12.1
Message-ID:  <bug-244193-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244193

            Bug ID: 244193
           Summary: quota not working for jails in release 12.0 & 12.1
           Product: Base System
           Version: 12.1-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: joeb1@a1poweruser.com

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 which
filesystem covers the complete hard drive 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? The FreeBSD manual needs a section added to the jail
section giving the details of how to configure a jail to use quota.

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244193-227>