https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282587
Bug ID: 282587
Summary: [quota] Cannot set quota from chrooted environment
Product: Base System
Version: 14.0-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: [email protected]
Reporter: [email protected]
Setting a quota from a chrooted environment fails with the following error. The
current shell is chrooted in /mnt/chroot.
$ mount
/dev/mmcsd0p1 on / (ufs, local, read-only)
devfs on /dev (devfs)
/dev/mmcsd0p2 on /mnt/chroot (ufs, local, read-only)
devfs on /mnt/chroot/dev (devfs)
/dev/ada0p1 on /mnt/chroot/persist (ufs, local, noatime, noexec, nosuid,
soft-updates, journaled soft-updates)
tmpfs on /mnt/chroot/tmp (tmpfs, local, noexec, nosuid)
tmpfs on /mnt/chroot/var (tmpfs, local, noexec, nosuid)
$ /usr/sbin/edquota -u -e /persist:1500000k:1500000k syslog
edquota: No quotas on /persist
$ cat /etc/fstab
/dev/ada0p1 /persist ufs rw,noexec,nosuid,userquota,noatime 0 2
tmpfs /tmp tmpfs rw,noexec,nosuid,size=40M,mode=1777 0 0
tmpfs /var tmpfs rw,noexec,nosuid,size=50M,mode=755 0 0
I have a patch that fixes the issue, let me know if you think this would be
beneficial to the community as this use case is quite peculiar.
--
You are receiving this mail because:
You are the assignee for the bug.