From nobody Wed Nov 6 15:44:38 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Xk8dz0X3cz5cjw4 for ; Wed, 06 Nov 2024 15:44:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xk8dy5lxBz4Mh2 for ; Wed, 6 Nov 2024 15:44:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730907878; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=C06PQJbFTLMHA/AlqtmNBJLiYAVo+guGMhiR+8taWnw=; b=GFCJyOpb4CG/0SYFIZpTX+yd4DtUL6UyQrTOEPKVyJzVD0c1CGoSYXgjFJL4dBl9wsXTR/ WY6aRXu4J8te1FHdZZDEozE0gHLg1hoPSeZBHkw4HHxQhPFyWqAIFyg/BdIh7u3cRFhAqX n0Ni8MZFKOp5Ec1RM2tK1O/bmRr7iyUTra3dlKe1whUOamvWoZZ/GDu/GZ3qw3MPW4dd7Z oyYSKc88mUUrBBMYVR1LuX3aa5qtI1zcFZZgU3CrUf+coLr4gei0WsVVPpNX1fzBjTxmEa RUu1ipbQiEiwSCqA83fDhWV98uTvrxRtl6qel1j/bC2UXCwhiChGQOjcT1y/iw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730907878; a=rsa-sha256; cv=none; b=snBJvdYVUQPjInL5bNKWqdv0WGdZUj9+IrRaPhNPXbzQTHoSURkS1hgqni2NYx+V+r4GE3 CJgCyQkBVR9E0MMFbSZYJQKPihNi2mZ+LDzSNdQWXN9/7z82qVd/fzCoDHBt6J+H5mpnN0 V+34zbYyS2oi5x1XWklkIhxK5Q97h0C8oXNbAhicnhhkf4V7m8k0QUz9pDlEWYRzLL7uer BJdnBrb1Z8IYQFsmFjrqtjOKClfMpiNddto0qq3hrqcOSxMiACf6MWxWulwKWGw2e2DnId E8dP0d9NLpZ1dzhxBELdoqQ6+KQJXTY+Dqzn9V0vqRE5JfyoVJFDltK3Kic5vg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Xk8dy54Csz16lW for ; Wed, 6 Nov 2024 15:44:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4A6FicPx011224 for ; Wed, 6 Nov 2024 15:44:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4A6FicNV011223 for bugs@FreeBSD.org; Wed, 6 Nov 2024 15:44:38 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 282587] [quota] Cannot set quota from chrooted environment Date: Wed, 06 Nov 2024 15:44:38 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: luc.techer@alstomgroup.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 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.=