The init script installed with net-mail/perdition-1.18 has a typo and is unable to bring down the imaps listener. Reproducible: Always Steps to Reproduce: 1. Enable the imap4s listener (IMAP4s=yes in /etc/conf.d/perdition) 2. /etc/init.d/perdition start 3. /etc/init.d/perdition stop Actual Results: * Shutting down perdition services (IMAP4S) ... * WARNING: -o/--oknodo is deprecated and will be removed in the future * start-stop-daemon: fopen `/var/run/perdition/imaps.pid': No such file or directory [ !! ] * ERROR: perdition failed to stop Expected Results: Perdition should stop. Replacing ${PIDDIR}/imaps.pid with ${PIDDIR}/imap4s.pid in the init script fixes the problem.
--- ChangeLog 2013-01-15 17:33:35.711165715 +0100 +++ ChangeLog.new 2013-01-15 17:33:42.851026814 +0100 @@ -1,7 +1,11 @@ # ChangeLog for net-mail/perdition -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 # $Header: /var/cvsroot/gentoo-x86/net-mail/perdition/ChangeLog,v 1.14 2011/06/15 15:24:06 eras Exp $ + 15 Jan 2013; Jeroen Roovers <jer@gentoo.org> -perdition-1.17.1.ebuild, + perdition-1.18.ebuild, files/perdition.initd: + Fix init.d script by Dennis Lichtenthäler (bug #452370). Inherit user. + 15 Jun 2011; Eray Aslan <eras@gentoo.org> perdition-1.18.ebuild, files/perdition.initd: Fix pid dir creation in init script. I didn't do a revision bump since it apparently took more than a year for anyone to notice. 8-)