Package: quota Version: 4.06-1.1 Severity: normal X-Debbugs-Cc: invernom...@paranoici.org
Hello! I enabled the quota feature on the ext4 filesystem for the /home partition: # umount /home # tune2fs -O quota /dev/XXXX # mount -a # quotaon -va and then I configured disk quotas. Everything seems to work, except for the cron.daily job, which should send e-mail notifications to users in violation of their quotas. I have edited '/etc/warnquota.conf' and set run_warnquota="true" in '/etc/default/quota', but the cron.daily job does nothing, since it does not find a "quota" string in '/etc/fstab': $ cat /etc/cron.daily/quota #! /bin/sh # check if quota package is available test -x /usr/sbin/warnquota || exit 0 # check if warnquota run is configured test -f /etc/default/quota || exit 0 . /etc/default/quota if [ "$run_warnquota" = "true" ]; then # check if quotas are enabled if grep -q '^[^#]*quota' /etc/fstab; then /usr/sbin/warnquota -ug fi fi exit 0 However, when enabling the "quota" feature with tune2fs, "*quota" options in '/etc/fstab' are apparently useless. I added a "quota" option to '/etc/fstab', just to make the cron.daily job happy, but I think the logic of this cron.daily job should be changed, so that it does not insist that a "quota" string is found in a non-comment line of '/etc/fstab' ... Please fix this bug in the cron.daily job. Thanks for your time! -- System Information: Debian Release: trixie/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 6.10.11-amd64 (SMP w/16 CPU threads; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages quota depends on: ii debconf [debconf-2.0] 1.5.87 ii init-system-helpers 1.67 ii libc6 2.40-3 ii libdbus-1-3 1.14.10-4+b1 ii libext2fs2t64 1.47.1-1 ii libldap-2.5-0 2.5.18+dfsg-3 ii libnl-3-200 3.7.0-0.3 ii libnl-genl-3-200 3.7.0-0.3 ii libtirpc3t64 1.3.4+ds-1.3 ii libwrap0 7.6.q-33 ii sysvinit-utils [lsb-base] 3.10-2 quota recommends no packages. Versions of packages quota suggests: ii exim4-daemon-light [mail-transport-agent] 4.98-1 pn libnet-ldap-perl <none> ii rpcbind 1.2.6-8.1 -- Configuration Files: /etc/default/quota changed [not included] /etc/quotatab changed [not included] /etc/warnquota.conf changed [not included] -- debconf information excluded