% ls -l /home/aquota.user
-rw-r--r-- 1 root staff 7168 2007-12-29 23:03 /home/aquota.user

% cat /etc/default/quota
# Set to "true" if warnquota should be run in cron.daily
run_warnquota=

# Add options to rpc.rquotad here
RPCRQUOTADOPTS=

% sudo find /var -name '*quot*' | egrep -v  '/var/lib/dpkg|/var/cache/apt'
/var/lib/quota

% dpkg -s quota
Package: quota
Status: install ok half-configured
Priority: optional
Section: admin
Installed-Size: 1700
Maintainer: Michael Meskes <[EMAIL PROTECTED]>
Architecture: powerpc
Version: 3.15-5
Config-Version: 3.15-4
Depends: debconf (>= 1.2.9) | debconf-2.0, e2fslibs, libc6 (>= 2.7-1),
libcomerr2 (>= 1.33-3), libldap2 (>= 2.1.17-1), libssl0.9.8 (>=
0.9.8f-1), libwrap0, lsb-base (>= 3.0-3)
Suggests: libnet-ldap-perl
Conffiles:
 /etc/init.d/quotarpc 9e0cf11dd48014366101a3aa91ff00fc
 /etc/init.d/quota f45de12b2cdf1dec8deac1eac4d7dcc5
 /etc/warnquota.conf 87ccf8e6337879c06322b134683ac9f0
 /etc/quotatab a930a2a1992adf72a6d7e50267e674e4
 /etc/quotagrpadmins 0b4a5484e590fea00f9949d6e298a659
 /etc/default/quota 0dd01986a1b7fa36e5686fb04229335d
 /etc/cron.daily/quota e94fb81735996aec80a936408e8ab4d7
Description: implementation of the disk quota system
 [...]
% sudo dpkg --configure quota
Setting up quota (3.15-5) ...
Checking quotas...quotacheck: Quota for users is enabled on mountpoint /home so 
quotacheck might damage the file.
Please turn quotas off or use -f to force checking.
quotacheck: Quota for users is enabled on mountpoint /home so
quotacheck might damage the file.
Please turn quotas off or use -f to force checking.
invoke-rc.d: initscript quota, action "start" failed.
dpkg: error processing quota (--configure):
 subprocess post-installation script returned error exit status 6
Errors were encountered while processing:
 quota

% quota
Disk quotas for user rleigh (uid 1000):
Filesystem  blocks   quota   limit   grace   files   quota   limit     grace
     /dev/mapper/hda_vg-home
           10638196  16000000 17000000          239848       0         0

% sudo /etc/init.d/quota stop
Turning off quotas...done.

% sudo dpkg --configure quota
Setting up quota (3.15-5) ...
Checking quotas...done.
Turning on quotas...done.
Checking quotas...quotacheck: Quota for users is enabled on mountpoint /home so 
quotacheck might damage the file.
Please turn quotas off or use -f to force checking.
quotacheck: Quota for users is enabled on mountpoint /home so quotacheck might 
damage the file.
Please turn quotas off or use -f to force checking.
invoke-rc.d: initscript quota, action "start" failed.
dpkg: error processing quota (--configure):
 subprocess post-installation script returned error exit status 6
Errors were encountered while processing:
 quota

% sudo /etc/init.d/quota start
Checking quotas...quotacheck: Quota for users is enabled on mountpoint /home so 
quotacheck might damage the file.
Please turn quotas off or use -f to force checking.
quotacheck: Quota for users is enabled on mountpoint /home so quotacheck might 
damage the file.
Please turn quotas off or use -f to force checking.

% sudo /etc/init.d/quota stop
Turning off quotas...done.
% sudo /etc/init.d/quota start
Checking quotas...done.
Turning on quotas...done.

So, it appears that something in the postinst is turning on the quotas
prior to starting them with the init script?  Following the above, I
tried running dpkg --configure again, and it fails every time, whether
or not I stop quota beforehand.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.

Attachment: signature.asc
Description: Digital signature

Reply via email to