-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I ran into this bug with woody: When you have dhcp3-server installed, and
you purge it, the postrm script tries to remove a directory that has been
removed already. The bug itself would be not worth mentioning, but it kinda
breaks things for dselect, and that's annoying.

In the file dhcp3-server.postrm the last line of the following fails:

- --------------------------
case "$1" in
        remove)
                # Nothing to do
                ;;

        purge)
                # Remove database
                rm -f /var/lib/dhcp3/dhcpd.leases \
                    /var/lib/dhcp3/dhcpd.leases~

                # Remove database directory
                rmdir --ignore-fail-on-non-empty /var/lib/dhcp3/
- --------------------------

If you insert one line, it works:

- --------------------------
case "$1" in
        remove)
                # Nothing to do
                ;;

        purge)
                # Remove database
                rm -f /var/lib/dhcp3/dhcpd.leases \
                    /var/lib/dhcp3/dhcpd.leases~

                # Remove database directory
                test -d /var/lib/dhcp3 &&
                rmdir --ignore-fail-on-non-empty /var/lib/dhcp3/
- --------------------------

Joern
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFB5Pl7vMfQeSoJHBkRAqz9AJ90ErUVoTe+FgcE/hRzUCNBxnvRFgCeO+xS
9tL0bhD9AOKBRrrasbsYN0M=
=a3i/
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to