courier-authdaemon init script - “status" works incorrectly

Bug #1411046 reported by Ivan Ilves on 2015-01-15
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
courier-authlib (Ubuntu)
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!

Ivan Ilves (ivan-ilves) wrote :
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  Edit
Everyone can see this information.

Other bug subscribers