courier-authdaemon init script - “status" works incorrectly
Bug #1411046 reported by
Ivan Ilves
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-
--- CUT HERE ---
will fix script behavior and resolve issue. Status checking started to run successfully after this change.
"Correct" script attached.
Thanks!
To post a comment you must log in.
Status changed to 'Confirmed' because the bug affects multiple users.