FS#20913 - [courier-imap] AUTO_AUTHDAEMON if assigns but doesn't check for value

Attached to Project: Arch Linux
Opened by Sven-Hendrik Haase (Svenstaro) - Wednesday, 22 September 2010, 04:29 GMT
Last edited by Ionut Biru (wonder) - Thursday, 23 September 2010, 00:08 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The /etc/rc.d/courier-imap daemon script has two lines:
if [ $AUTO_AUTHDAEMON="true" ]; then
This is an obvious mistake, it should be
if [ $AUTO_AUTHDAEMON == "true" ]; then
The former one is always true.

In fact, I think there is a second bug in this daemon. The last bit of the start) case switch stops the authdaemond again. It shouldn't do this! If the authdaemond is shutdown while courier-imap's daemons are up, I get bad authentication errors. The last bit should probably go into the stop) case switch instead.

Please fix! :D
This task depends upon

Closed by  Ionut Biru (wonder)
Thursday, 23 September 2010, 00:08 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#13909 

Loading...