courier-authdaemon init script - “status" works incorrectly

Bug #1411046 reported by Ivan Ilves
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
courier-authlib (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

courier-authdaemon init script has "status" command supported, but not actually working,
it will always return " * could not access PID file for authdaemond", no matter runs courier-authdaemon or not.

This may cause status-checking by administrator and software like Puppet, pacemaker, etc to go wrong.

this change to line 59:

--- CUT HERE ---
59c59
< status_of_proc -p "$pidfile" "" "authdaemond" && exit 0 || exit $?
---
> status_of_proc -p "$pidfile" "courier-authdaemon" "authdaemond" && exit 0 || exit $?
--- CUT HERE ---

will fix script behavior and resolve issue. Status checking started to run successfully after this change.

"Correct" script attached.

Thanks!

Revision history for this message
Ivan Ilves (ivan-ilves) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in courier-authlib (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.