Checkbox doesn't terminate properly when logging out
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox (Legacy) |
Won't Fix
|
Undecided
|
Unassigned | ||
checkbox (Ubuntu) |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
Steps to reproduce on Oneiric:
Start Checkbox
Start tests , at audio test log out of unity
Log into unity 2d
Result: Checkbox give error that it is still running when run. backend and checkbox are still running, lock file is present in the cache.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: checkbox 0.12.7
ProcVersionSign
Uname: Linux 3.0.0-12-generic i686
ApportVersion: 1.23-0ubuntu2
Architecture: i386
Date: Thu Sep 29 17:19:43 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta i386 (20110913)
ProcEnviron:
LANGUAGE=en_CA:en
LANG=en_CA.UTF-8
SHELL=/bin/bash
SourcePackage: checkbox
UpgradeStatus: Upgraded to oneiric on 2011-09-27 (2 days ago)
Changed in checkbox: | |
status: | New → Triaged |
Confirmed, reproduced on a virtual machine.
- It's not necessary to use Unity2d when logging back in, this happens even if you just log out and back in with Unity 3d.
- The checkbox frontend dies, but it leaves behind the .cache/ checkbox/ lock file and the sudo-privileged backend. This means that checkbox had no time to clean up or send the stop message to the backend, which in turn suggests that whichever signal gets sent to checkbox when logging out is not being handled correctly, if it gets sent at all.
- Looking at the log file, there are no errors or indications that checkbox was aware it got shut down. As far as checkbox knew, it was waiting for user input when it got killed, with no chance to clean up or log anything.
I'm setting as medium since, even though it's an unlikely use case, it's pretty nasty because it's not obvious how to get checkbox to a running state again (remove .cache/checkbox and either kill the backend manually or reboot so it disappears).