Package: quota
Version: 3.16-7
Severity: important

Installing the quota package on a system using "insserv" fails, because
/var/lib/dpkg/info/quota.postinst contains the following fragments:
        # Automatically added by dh_installinit
        if [ -x "/etc/init.d/quotarpc" ]; then
                update-rc.d quotarpc defaults 21 79 >/dev/null
                ^^^^^^^^^^^^^^^^^^^^
                if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
                        invoke-rc.d quotarpc start || exit $?
                else
                        /etc/init.d/quotarpc start || exit $?
                fi
        fi
        # End automatically added section
        # Automatically added by dh_installinit
        if [ -x "/etc/init.d/quota" ]; then
                update-rc.d quota start 35 S . stop 85 0 6 . >/dev/null || exit 
$?
                ^^^^^^^^^^^^^^^^^
        fi
        # End automatically added section

/etc/init.d/quotarpc contains the following info:
        ### BEGIN INIT INFO
        # Provides:          quotarpc
        # Short-Description: Starts rpc process for remote quota handling
        # Required-Start:    $local_fs $remote_fs $portmap quota
                                                           ^^^^^
        # Required-Stop:     $local_fs $remote_fs $portmap quota
        # Default-Start:     S 2 3 4 5
        # Default-Stop:      0 1 6
        ### END INIT INFO

"insservs" fails to run "update-rc.d" for "quotarpc" because the
rd.d-links for "quota" are not yet installed.
Swapping the two fragments fixed the problem for me.


-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages quota depends on:
ii  debconf [debconf-2.0]         1.5.24     Debian configuration management sy
ii  e2fslibs                      1.41.3-1   ext2 filesystem libraries
ii  libc6                         2.7-18     GNU C Library: Shared libraries
ii  libcomerr2                    1.41.3-1   common error description library
ii  libldap-2.4-2                 2.4.11-1   OpenLDAP libraries
ii  libwrap0                      7.6.q-16   Wietse Venema's TCP wrappers libra
ii  lsb-base                      3.2-20     Linux Standard Base 3.2 init scrip

quota recommends no packages.

Versions of packages quota suggests:
pn  libnet-ldap-perl              <none>     (no description available)
ii  portmap                       6.0-9      RPC port mapper

-- debconf information excluded



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

Reply via email to