Bug 294557

Summary: courier-imap init scripts do not stop running service
Product: [openSUSE] openSUSE 10.2 Reporter: Petr Cerny <pcerny>
Component: NetworkAssignee: Michael Skibbe <mskibbe>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 10.2   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Petr Cerny 2007-07-25 17:17:38 UTC
Running "service courier-imap-ssl stop" doesn't stop the service (although the script claims so). Moreover, starting e.g. courier-imap-ssl fires up courier-imap, courier-pop and courier-pop-ssl as well. 

This might have some security consequences - switching on some security protected service automatically starts its unprotected conterpart as well.
Comment 1 Petr Cerny 2007-07-25 17:33:14 UTC
Errata: init script stops the services however reports them running, so it is just confusing the user. (Maybe the script is checking courier-authdaemon instead of the imap/pop daemon?)
Comment 2 Matej Horvath 2007-07-26 10:54:08 UTC
Which version of courier-imap are you running?
Comment 3 Petr Cerny 2007-07-26 11:00:19 UTC
Sorry, forgot to enter in original bugreport:

/work/CDs/all/full-10.2-x86_64/suse/x86_64

courier-authlib-0.58-36
courier-imap-4.1.1-24
Comment 4 Michael Skibbe 2007-07-31 09:26:58 UTC
i can reproduce this here:

# rccourier-imap status
Checking for Courier-IMAP                                             unused
# rccourier-imap start
Starting Courier Authentication Daemon                                done
Starting Courier-IMAP                                                 done
# rccourier-imap status
Checking for Courier-IMAP                                             running
# rccourier-imap stop
Shutting down Courier-IMAP                                            done
# rccourier-imap status
Checking for Courier-IMAP                                             running

i take a look on that
Comment 5 Michael Skibbe 2007-07-31 09:52:19 UTC
i already fix this problem on jan 22:

-------------------------------------------------------------------
Mon Jan 22 08:53:39 CET 2007 - mskibbe@suse.de

- checkproc uses -p parameter not as specified in man page
  (#230806)


it's already fixed in stable

*** This bug has been marked as a duplicate of bug 230806 ***