Package: apache
Version: 1.3.34-4
Severity: normal
Tags: patch

I have not actually verified this, but just by looking at the code
in postrm:

    if [ -x "`which ucf`" ]; then
        ucf --purge /etc/apache/httpd.conf
        ucf --purge /etc/apache/access.conf
        ucf --purge /etc/apache/srm.conf
        ucf --purge /etc/apache/modules.conf
    else
        rm -f /etc/apache/httpd.conf
        rm -f /etc/apache/access.conf
        rm -f /etc/apache/srm.conf
        rm -f /etc/apache/modules.conf
    fi

The ucf manpage says:

  Note: ucf  does  not actually  touch  the file on disk in this
  operation, so any file removals are still the responsibility of
  the calling package.

So the rm calls should be outside the if.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (750, 'unstable'), (500, 'testing'), (250, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17-2-686
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

-- 
 .''`.     martin f. krafft <[EMAIL PROTECTED]>
: :'  :    proud Debian developer, author, administrator, and user
`. `'`     http://people.debian.org/~madduck http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems

Attachment: signature.asc
Description: Digital signature (GPG/PGP)

Reply via email to