Date: Wed, 06 Nov 2024 15:44:38 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 282587] [quota] Cannot set quota from chrooted environment Message-ID: <bug-282587-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282587 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: bugs@FreeBSD.org Reporter: luc.techer@alstomgroup.com 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=3D40M,mode=3D1777 0 0 tmpfs /var tmpfs rw,noexec,nosuid,size=3D50M,mode=3D755 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. --=20 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-282587-227>