FS#20625 - [courier-imap] startup causes authdaemond to be stopped
Attached to Project:
Community Packages
Opened by Carl Carstenson (carstenson) - Thursday, 26 August 2010, 16:49 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Friday, 24 September 2010, 03:32 GMT
Opened by Carl Carstenson (carstenson) - Thursday, 26 August 2010, 16:49 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Friday, 24 September 2010, 03:32 GMT
|
Details
Description:
courier-imap now has an option for starting authdaemond in /etc/rc.d/courier-imap. This startup script also has code for stopping this service, but it is at the end of the start function. It should be moved to the beginning of the stop function. The three lines that need to be moved from "start" to "stop" are: if [ $AUTO_AUTHDAEMON="true" ]; then /etc/rc.d/authdaemond stop fi Additional info: * package version(s) 4.4.1-5 * config and/or log files etc. Steps to reproduce: run "/etc/rc.d/courier-imap start" This shows ":: Starting Authdaemond" at the beginning, but also shows ":: Stopping Authdaemond" at the end. |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Friday, 24 September 2010, 03:32 GMT
Reason for closing: Fixed
Friday, 24 September 2010, 03:32 GMT
Reason for closing: Fixed
FS#13909andFS#20160. These are all related.1) The conditions to start and stop authdaemond are wrong and always going to be "true".
2) The default condition needs to be put into /etc/conf.d/courier-imap.
3) The stop code for authdaemond needs to be taken from the end of the start function and put at the beginning of the stop function.
I moved the three lines as noted above into the stop section and now courier works without the authdaemond being stopped as soon courier's daemons are up and running.
I guess it is very easy to alter the start script and repack it again?
Regards