Control: tags -1 + patch
On Sat, 19 Oct 2024 00:55:29 +0200 Francesco Poli wrote: [...] > Turns out that adding a "quota" mount option in 'etc/fstab' to the > filesystem which has the quota feature enabled makes the quotaon > systemd unit fail at boot. > > So I decided to go for a "noquota" mount option in 'etc/fstab'. > Very counter-intuitive. No, if I add "noquota", disk quotas are only enabled in 'accounting' mode, not in 'enforced' mode. I removed the "noquota" mount option from '/etc/fstab' and applied the attached patch to the cron.daily job. Please modify the cron.daily job in the Debian package (with this patch). Rationale: If "$run_warnquota" is "true", then the system administrator wants warnquota to run. There's no point in checking that the string "quota" is found somewhere in a non-comment line of '/etc/fstab'. Especially taking into account that the absence of "quota" in '/etc/fstab' does not necessarily mean that no filesystem has quotas... There could be filesystems with the "quota" feature enabled (those filesystems do not need any quota mount option!). Please fix this bug once and for all. Thanks for your time and dedication! -- http://www.inventati.org/frx/ There's not a second to spare! To the laboratory! ..................................................... Francesco Poli . GnuPG key fpr == CA01 1147 9CD2 EFDF FB82 3925 3E1C 27E1 1F69 BFFE
quota_cronjob.diff.gz
Description: application/gzip
pgpbvBCCuewYt.pgp
Description: PGP signature