daemon should be stopped when package is removed or upgraded

Bug #1026692 reported by Matt Fischer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Accomplishments Daemon
Invalid
Undecided
Matt Fischer

Bug Description

If the daemon is running when the daemon package is upgraded or removed, it should be stopped. Especially during an upgrade this is important so that the new daemon starts. From my testing it keeps running during both operations.

Changed in ubuntu-accomplishments-daemon:
status: New → Confirmed
Revision history for this message
Jono Bacon (jonobacon) wrote :

This sounds like something we need to fix in the packaging (in a maintainer script) but not in the daemon itself. I guess it would work like this:

 * When a collection is installed the maintainer script stops the daemon.
 * The collection is installed.
 * The daemon is then restarted.

Make sense?

Changed in ubuntu-accomplishments-daemon:
milestone: none → 0.3
status: Confirmed → Incomplete
Revision history for this message
Matt Fischer (mfisch) wrote :

Yes, this is a packaging issue. I will look at it.

Changed in ubuntu-accomplishments-daemon:
assignee: nobody → Matt Fischer (mfisch)
status: Incomplete → In Progress
Revision history for this message
Jono Bacon (jonobacon) wrote :

Awesome, thanks, Matt!

Revision history for this message
Matt Fischer (mfisch) wrote :

After discussing with cielak today we decided that this was standard behavior for daemons and would be difficult to fix given the dependency that the viewer has on it. The daemon will be restarted after a logout/login cycle or reboot.

Changed in ubuntu-accomplishments-daemon:
status: In Progress → Invalid
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.