Package: denyhosts
Version: 2.6-2.1
Severity: normal

Today I received a mail from anacron.
Anacron <[EMAIL PROTECTED]> writes:

> /etc/cron.daily/logrotate:
> start-stop-daemon: Unable to start /usr/share/denyhosts/denyhosts_ctl.py: No 
> such file or directory (No such file or directory)
> error: error running postrotate script for /var/log/denyhosts
> run-parts: /etc/cron.daily/logrotate exited with return code 1

`/usr/share/denyhosts/denyhosts_ctl.py' has been removed by
`apt-get remove denyhosts', but `/etc/logrotate.d/denyhosts' and
`/etc/init.d/denyhosts' still persist in the system.

Possible fix:

--- BEGIN OF PATCH ---
--- denyhosts-2.6/debian/denyhosts.postrm.orig  2007-10-02
10:36:15.000000000 +0300
+++ denyhosts-2.6/debian/denyhosts.postrm       2007-10-02 10:39:22.670801344 
+0300
@@ -9,6 +9,7 @@
         rm -fr /var/lib/denyhosts
         ;;
     remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+       rm -f /etc/logrotate.d/denyhosts /etc/init.d/denyhosts
         ;;

     *)
--- END OF PATCH ---


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-2-686 (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/bash

Versions of packages denyhosts depends on:
ii  lsb-base                      3.1-24     Linux Standard Base 3.1 init scrip
ii  python                        2.4.4-6    An interactive high-level object-o
ii  python-central                0.5.15     register and build utility for Pyt

denyhosts recommends no packages.

Have fun!
--
vvv



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

Reply via email to