Public bug reported: Binary package hint: postfix-policyd
Can't delete postfix-policyd If it is not running: ---------- # dpkg -P postfix-policyd (Reading database ... 29267 files and directories currently installed.) Removing postfix-policyd ... Stopping Postfix greylisting policy daemon: invoke-rc.d: initscript postfix-policyd, action "stop" failed. dpkg: error processing postfix-policyd (--purge): subprocess installed pre-removal script returned error exit status 1 Starting Postfix greylisting policy daemon: postfix-policyd. Errors were encountered while processing: postfix-policyd -------------- Patch for /etc/init.d/postfix-policyd attached (Detect PIDFILE first) ---- --- /etc/init.d/postfix-policyd 2010-04-10 19:34:52.116514907 -0700 +++ postfix-policyd 2010-04-10 19:34:33.976519625 -0700 @@ -32,7 +32,7 @@ ;; stop) echo -n "Stopping $DESC: " - start-stop-daemon --stop --quiet --pidfile $PIDFILE --exec $DAEMON + [ -f $PIDFILE ] && start-stop-daemon --stop --quiet --pidfile $PIDFILE --exec $DAEMON echo "$NAME." ;; reload|force-reload) ---- ** Affects: postfix-policyd (Ubuntu) Importance: Undecided Status: New -- [PATCH] Can't delete postfix-policyd when service is not running https://bugs.launchpad.net/bugs/560440 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs