FS#20160 - [courier-imap] installation is broken by default

Attached to Project: Community Packages
Opened by Johnny Halfmoon (jhalfmoon) - Tuesday, 13 July 2010, 10:39 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Friday, 24 September 2010, 03:31 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Tobias Kieslich (tobias)
Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

A fresh installation of Courier Imap will be broken by default authdaemond gets stopped by the courier imap startup script. This bug has been discussed before in a different bugreport (13909), but the subject and severity of that report are such, that I think it is useful to create a new, seperate report.

Additional info:

* package version(s)
courier-authlib 0.62.4-4
courier-imap 4.4.1-5

* config and/or log files etc.
:: Starting Authdaemond [DONE]
:: Starting Courier imapd [DONE]
:: Starting Courier pop3d [DONE]
:: Starting Courier imapd-ssl [DONE]
:: Starting Courier pop3d-ssl [DONE]
:: Stopping Authdaemond [DONE]

Steps to reproduce:

- Do a fresh install of courier IMAP
- run /etc/rc.d/courier-imap

This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Friday, 24 September 2010, 03:31 GMT
Reason for closing:  Fixed
Comment by Carl Carstenson (carstenson) - Friday, 27 August 2010, 22:11 GMT
See  FS#13909 .

I opened a bug yesterday that was assigned to Tobias. I now see that there are three problems with this package:

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 per Philippe's comment.
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.

Loading...