Bug 57310 - Courier 0.45.5 init script does not stop pop3d-ssl
Bug#: 57310 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: net-mail@gentoo.org Reported By: ben@zygoat.ca
Component: Server
URL: 
Summary: Courier 0.45.5 init script does not stop pop3d-ssl
Keywords:  
Status Whiteboard: 
Opened: 2004-07-16 10:56 0000
Description:   Opened: 2004-07-16 10:56 0000
With mail-mta/courier 0.45.5 (current), doing '/etc/init.d/courier start'
correctly starts all of its daemons.  However, '/etc/init.d/courier stop' stops
all EXCEPT for the pop3d-ssl server, due to an error in the script.

Line 161 which currently reads:

       [ -x ${sbindir}/pop3d-ssl ] && \        

must change to:

       [ -x ${sbindir}/courier-pop3d-ssl ] && \        

as it is testing for the existence of an incorrectly-named binary.  (This
change is all that is needed, since the actual invocation of the binary on 164
is correct.)



Reproducible: Always
Steps to Reproduce:
/etc/init.d/courier start ; /etc/init.d/courier stop
Actual Results:  
All courier daemons except courier-pop3d-ssl stop.


Expected Results:  
courier-pop3d-ssl should have stopped; ps ax | grep courier should yield
nothing.

------- Comment #1 From Francisco Javier 2004-09-04 06:48:09 0000 -------
Created an attachment (id=38900) [details]
fix 

------- Comment #2 From Francisco Javier 2004-09-04 06:49:11 0000 -------
(From update of attachment 38900 [details])
sorry send to wrong

------- Comment #3 From Brian Jackson (RETIRED) 2004-10-01 22:46:46 0000 -------
fixed in cvs, you'll see this in the next release (or if you remerge courier)