Your message dated Fri, 12 Jun 2026 18:19:34 +0000
with message-id <[email protected]>
and subject line Bug#985952: fixed in quota 4.11-1
has caused the Debian Bug report #985952,
regarding quota: quota.service is installed disabled and needs
After=local-fs.target
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
985952: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985952
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: quota
Version: 4.04-2+deb10u1
Architecture: amd64
Severity: normal
Tags: patch
X-Debbugs-CC: [email protected]
I created a new filesystem and specified to use quota in /etc/fstab,
but didn't run quotacheck -c as I expected this to happen anyway on
reboot. However, systemd's unit quotaon.service failed with:
quotaon[883]: quotaon: cannot find /path/to/filesystem/aquota.group on
/dev/mapper/vg-lv [/path/to/filesystem]
quotaon[883]: quotaon: cannot find /path/to/filesystem/aquota.user on
/dev/mapper/vg-lv [/path/to/filesystem]
systemd[1]: quotaon.service: Main process exited, code=exited,
status=2/INVALIDARGUMENT
I know that during boot /usr/share/quota/quota-initial-check.sh should
have been invoked through quota.service to fix that, but running
"systemctl is-enabled quota.service" prints "disabled" (this is on a
system installed from DVD, so no upgrade logic was ever involved).
Running "systemctl preset quota.service" then created the symlink
/etc/systemd/system/sysinit.target.wants/quota.service to
/lib/systemd/system/quota.service. If the vendor preset for
quota.service is "enabled" then that symlink should have been created
during package installation, no? Otherwise the preset should be
changed to "disabled" and README.Debian should explain why it is not
enabled by default.
I know with absolute certainty that I never deleted that symlink. My
etckeeper logs don't show it either for the commit made when
installing "quota" and "quotatool":
# etckeeper vcs show --name-only 86e432a|grep quota
+quota 4.04-2+deb10u1 amd64
+quotatool 1:1.6.2-5 amd64
cron.daily/quota
default/quota
init.d/quota
init.d/quotarpc
quotagrpadmins
quotatab
warnquota.conf
Running the following command prints nothing either:
find /var/lib/systemd/deb-systemd-helper-enabled -name '*quota*'
Maybe you forgot to call deb-systemd-helper/dh_systemd_enable in a
maintscript?
After enabling quota.service manually and rebooting, the service
started, but the quota files were still not created. There is a file
/var/lib/quota/new whose creation date is equal to that of the
etckeeper commit from installing quota, but
/usr/share/quota/quota-initial-check.sh should have deleted it long
ago. I think quota.service needs an After= in its Unit section on
either var.mount or local-fs.target, otherwise /var/lib/quota/new has
no effect if /var is a mountpoint (which it is in my case) and mounted
after quota.service has run. With that change in place the quota
files were created correctly on the next reboot.
Of course, one could also argue that it is the user's obligation to
ensure correct ordering here as he's the one controlling the mount
units, but that approach doesn't scale well since most mount units are
generated from /etc/fstab. Adding an After=local-fs.target sounds
like the best solution to me personally as it ensures that mountpoints
defined in /etc/fstab have been established. Non-generated mount
units will need to specify an explicit Before=quota.service which they
easily can, thus making this a reasonable demand.
The attached patch also adds some checks to quota-initial-check.sh to
make troubleshooting easier, but you may have to adjust it a bit.
Regards,
Dennis.
N.B.: Looking at quotarpc.service I wonder if the Wants= on
rpcbind.service should actually be a BindsTo= instead, or can
rpc.rquotad function at all without rpcbind? The rpcbind manpage
says: "All RPC servers must be restarted if rpcbind is restarted." If
you decide to switch to a BindsTo= then
ConditionFileIsExecutable=/sbin/rpcbind should be dropped as well as
it would either occlude or duplicate the dependency relation between
both units.
quota.patch.gz
Description: application/gzip
--- End Message ---
--- Begin Message ---
Source: quota
Source-Version: 4.11-1
Done: Michael Meskes <[email protected]>
We believe that the bug you reported is fixed in the latest version of
quota, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Michael Meskes <[email protected]> (supplier of updated quota package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 12 Jun 2026 19:36:14 +0200
Source: quota
Architecture: source
Version: 4.11-1
Distribution: unstable
Urgency: medium
Maintainer: Michael Meskes <[email protected]>
Changed-By: Michael Meskes <[email protected]>
Closes: 985952 987386 1073187 1129467 1132333 1136571
Changes:
quota (4.11-1) unstable; urgency=medium
.
* Simplified rules file
* New upstream version 4.11
* Added VCS information to control file (Closes: #1132333)
* Root is not required for building
* Suggest procps because quotarpc uses pidof (Closes: #1136571)
* Removed superfluous build-depedency on quilt (Closes: #1129467)
* Updated quotarpc.service to make sure service is started correctly
(Closes: #987386, #1073187)
* Clean-up initial quota check.
Thanks to Dennis Filder <[email protected]> (Closes: #985952)
* Bumped Standards-Version to 4.7.4, no changes needed
* Do not explicitly specify priority optional
* Updated watch file to version 5
Checksums-Sha1:
f98bb55b017970151595373bf0dd4628fb558d44 1929 quota_4.11-1.dsc
95aa1cdf635a906e40ed9afd4b81cbecc4f07910 537326 quota_4.11.orig.tar.gz
10ba52c4ea81bfe294250efbbbedf7fef498dc22 40680 quota_4.11-1.debian.tar.xz
5624a6605a769991837eeaf484b43aa5110c3adc 6665 quota_4.11-1_amd64.buildinfo
Checksums-Sha256:
58140c5659d64b40022dae27420616c29a2d3b5b5a24153a988435261fc31e94 1929
quota_4.11-1.dsc
0b29c6e5cd0d76bec14fbf53c259024385426b7084bd04aed77537cd33074349 537326
quota_4.11.orig.tar.gz
febad4a99f0b7551eae3c8ed544168b7a3ccd042863d8cd05f499bcf38573a1f 40680
quota_4.11-1.debian.tar.xz
e97a9fef95b607e766f9cb2b5fea57f8832a849278772b45056992ca5b8d2eab 6665
quota_4.11-1_amd64.buildinfo
Files:
fb9e870e9857318206f677ff0d72c8d2 1929 admin optional quota_4.11-1.dsc
678bdaff3f189e9627d6c9ca54b138f1 537326 admin optional quota_4.11.orig.tar.gz
82477d5eea59155d05fed84bcb71aff5 40680 admin optional
quota_4.11-1.debian.tar.xz
83aa5d419dfca244445c5eef7d007273 6665 admin optional
quota_4.11-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEZ/2RWVGI6sRsEOjtNdhXwLvLOyUFAmosSkkACgkQNdhXwLvL
OyXirhAAqp8s7DhLUbq8LN0XuhXq4861UuQM/yx/QnIjenPplG3LOwx6PTJU45RG
PKgiWs05rHgTMeP2egtSYO0jTHaRaaufxjwSCFwazJHu1GtNzeRecgT0b43Io0jq
O+0XMtC7Y2YeTYKMwah0tvjuH9wAryYljMM4yDiyoDCHVgwTh9dSLKizW7452CXt
8taqn8eTsGb+yfME2snOzXTxpe+9/XebamMPbE62T+kc64lrepSM20/9ttM23KC0
fw1JM0zgJ/YIjrVIBahu6Abf/fo8zu2qK/bKhLPnM2XcflAufZvMmE4sAwVw+05W
PG16xyXlOhAwkO5LrIkb3kvPtRhsu0nIsN48RGYCo1+qZz6B1xn0VSu+eNz6QjXV
L8EQUn/h1bYXdLSl2hN5iSDsT8CAxD09tDIqW/8yuUrupJvbWqyakyDxEOJiI9w1
tPwYSmGDaVVa2ukc+AaNDej7gqzgS1muF2+q40uSj1Y3jP3Wg8Q7JdD3n8EEAtyX
D0NT2R1AMeN4ftERiqA4rifCmlk9ZFXEXNjAprE9CKnRG5ZtWlBOqncNUHQi24NQ
0NFPpCX1m1M00kGfsEhnSAiseRAHi0FqyM9Rovs/cJgbKP6kOw3oIAK5VBy6t/sa
nuAn1fqOZITHeWXNiY96sK4q8wLFTmw55sjED+O44xus/5NYJ4E=
=ESQw
-----END PGP SIGNATURE-----
pgptTlymFrMzx.pgp
Description: PGP signature
--- End Message ---