Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 452370 - net-mail/perdition-1.18 init script typo
Summary: net-mail/perdition-1.18 init script typo
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-15 15:19 UTC by Dennis Lichtenthäler
Modified: 2013-01-15 16:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Lichtenthäler 2013-01-15 15:19:53 UTC
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.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-01-15 16:34:28 UTC
--- 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-)