PID file hard coded, breaks multiple instances
Bug #632205 reported by
Andrew Cranwell
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apcupsd (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: apcupsd
In apcupsd, Ubuntu 8.04.4, apcupsd-3.14.2:
The PID used by apcupsd is hardcoded in src/lib/apcfile.c and include/defines.h to apcupsd.pid.
This breaks the expectation that start-stop-daemon can specify its own PID file, and hence allow multiple instances to be controlled by the init scripts. This is useful when multiple UPSes are controlled by a single server.
Expected behaviour: PID file to be specified on command line
Actual behaviour: PID file is hard coded to /var/run/
This may or may not be a bug upstream.
To post a comment you must log in.