Package: quota
Version: 4.01-4
Severity: serious

Dear Michael,

unfortunately quota 4.01-4 fails to upgrade or install on machines where
no quota is present in /etc/fstab. It also does not care if the word
"quota" appears in an actuall file system line or in a comment.

I've added a "set +x" to /var/lib/dpkg/info/quota.postinst to get the
following traces:

Without the string "quota" anywhere in /etc/fstab:

# dpkg --configure --pending
Setting up quota (4.01-4) ...
+ set -e
+ '[' configure = configure ']'
+ . /usr/share/debconf/confmodule
++ '[' '!' '' ']'
++ PERL_DL_NONLAZY=1
++ export PERL_DL_NONLAZY
++ '[' '' ']'
++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/quota.postinst configure 
4.01-3
+ set -e
+ '[' configure = configure ']'
+ . /usr/share/debconf/confmodule
++ '[' '!' 1 ']'
++ '[' -z '' ']'
++ exec
++ '[' '' ']'
++ exec
++ DEBCONF_REDIR=1
++ export DEBCONF_REDIR
+ '[' '!' -f /etc/warnquota.conf ']'
+ '[' '!' -f /etc/default/quota ']'
+ db_stop
+ echo STOP
+ case "$1" in
+ test '!' -f /var/run/quota.upgrade
+ '[' -f /etc/fstab ']'
++ grep -v quota=off
++ grep quota /etc/fstab
+ fs=
dpkg: error processing package quota (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 quota
# 

With "quota" in a comment:

# dpkg --configure --pending
Setting up quota (4.01-4) ...
+ set -e
+ '[' configure = configure ']'
+ . /usr/share/debconf/confmodule
++ '[' '!' '' ']'
++ PERL_DL_NONLAZY=1
++ export PERL_DL_NONLAZY
++ '[' '' ']'
++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/quota.postinst configure 
4.01-3
+ set -e
+ '[' configure = configure ']'
+ . /usr/share/debconf/confmodule
++ '[' '!' 1 ']'
++ '[' -z '' ']'
++ exec
++ '[' '' ']'
++ exec
++ DEBCONF_REDIR=1
++ export DEBCONF_REDIR
+ '[' '!' -f /etc/warnquota.conf ']'
+ '[' '!' -f /etc/default/quota ']'
+ db_stop
+ echo STOP
+ case "$1" in
+ test '!' -f /var/run/quota.upgrade
+ '[' -f /etc/fstab ']'
++ grep -v quota=off
++ grep quota /etc/fstab
+ fs='# quota'
+ '[' '# quota' ']'
++ which invoke-rc.d
+ '[' -x /usr/sbin/invoke-rc.d ']'
+ invoke-rc.d quota start
+ touch /var/lib/quota/new
+ '[' -d /var/state/quota ']'
+ test -f /var/run/quota.upgrade
+ rm -f /var/run/quota.upgrade
+ deb-systemd-helper unmask quota.service
+ deb-systemd-helper --quiet was-enabled quota.service
+ deb-systemd-helper enable quota.service
+ deb-systemd-helper unmask quota.service
+ deb-systemd-helper --quiet was-enabled quota.service
+ deb-systemd-helper enable quota.service
+ '[' -x /etc/init.d/quota ']'
+ update-rc.d quota defaults
+ '[' -x /etc/init.d/quotarpc ']'
+ update-rc.d quotarpc defaults
+ invoke-rc.d quotarpc start
Job for quotarpc.service failed. See 'systemctl status quotarpc.service' and 
'journalctl -xn' for details.
invoke-rc.d: initscript quotarpc, action "start" failed.
+ exit 1
dpkg: error processing package quota (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 quota
#

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (600, 'testing'), (400, 'stable'), (110, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12-trunk-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages quota depends on:
ii  debconf [debconf-2.0]  1.5.53
ii  e2fslibs               1.42.10-1
ii  init-system-helpers    1.19
ii  libc6                  2.19-1
ii  libcomerr2             1.42.10-1
ii  libdbus-1-3            1.8.4-1
ii  libldap-2.4-2          2.4.39-1
ii  libnl-3-200            3.2.24-2
ii  libnl-genl-3-200       3.2.24-2
ii  libtirpc1              0.2.3-1
ii  libwrap0               7.6.q-25
ii  lsb-base               4.1+Debian13

quota recommends no packages.

Versions of packages quota suggests:
ii  libnet-ldap-perl                1:0.6300+dfsg-1
ii  postfix [mail-transport-agent]  2.11.1-1
pn  rpcbind                         <none>

-- debconf information:
  quota/cc_before:
  quota/subject:
  quota/group_message:
  quota/supportphone:
  quota/charset:
  quota/signature:
  quota/rquota_setquota:
  quota/message:
  quota/group_signature:
  quota/supportemail:
  quota/cc:
* quota/run_warnquota: false
  quota/mailfrom:


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to