FS#10233 - courier-imap start/stop script is incorrect

Attached to Project: Arch Linux
Opened by ... (spider007) - Sunday, 20 April 2008, 11:01 GMT
Last edited by Andrea Scarpino (BaSh) - Tuesday, 14 April 2009, 21:47 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Kieslich (tobias)
Architecture All
Severity Low
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

There are 2 things that are incorrect in the /etc/rc.d/courier-imap script:

* it doesn't start with #!/bin/bash which is a minor problem
* it calls add_daemon $daemon which makes the stop-script believe it should stop $daemon instead of courier-imap

I suggest the following diff to be applied:

0a1,2
> #!/bin/bash
>
20c22
< add_daemon $daemon
---
> add_daemon courier-imap
32c34
< rm_daemon $daemon
---
> rm_daemon courier-imap
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Tuesday, 14 April 2009, 21:47 GMT
Reason for closing:  Fixed
Comment by Gerardo Exequiel Pozzi (djgera) - Saturday, 21 March 2009, 22:20 GMT
works for my, courier-imap-4.4.1-1

i created a patch for other issue  FS#13909  - [courier-imap] need authdaemon at startup

Loading...