powerd can run multiple instances at once causing confusion
Bug #1195800 reported by
Matt Fischer
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
powerd |
Fix Released
|
Medium
|
Matt Fischer | ||
powerd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
powerd can run multiple instances at once. This can cause problems in the system as we're not sure which will get the dbus messages (probably the first one) and who will be talking to the sensor (probably both). To solve this we should fail to start powerd if it is already running.
Related branches
lp:~mfisch/powerd/lp1195800
- PS Jenkins bot: Approve (continuous-integration)
- Seth Forshee (community): Approve
-
Diff: 126 lines (+17/-35)4 files modifieddebian/upstart (+6/-25)
src/powerd-internal.h (+1/-1)
src/powerd-object.c (+4/-3)
src/powerd.cpp (+6/-6)
Changed in powerd: | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Matthew Fischer (mfisch) |
Changed in powerd: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix committed into lp:powerd at revision 63, scheduled for release in powerd, milestone ubuntu-13.05