GDM package fails to uninstall if GDM not running
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gdm (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Precise |
Invalid
|
High
|
Unassigned | ||
Quantal |
Fix Released
|
High
|
Unassigned |
Bug Description
Currently the gdm package attempts to stop the gdm daemon when it is uninstalled. If this fails the package fails to uninstall.
The daemon is not necessarily running when the package is uninstalled so this is a bug, also it is unsafe to stop the daemon as the sysadmin might not be expecting this. Fix is to not attempt to stop the dameon at all and leave that to the sysadmin to do before uninstalling the package.
[Test Case]
1. sudo apt-get install gdm
2. sudo stop gdm
3. sudo apt-get remove gdm
Expected result:
gdm package successfully uninstalls
Observed result:
Package fails to uninstall.
[Regression Potential]
When uninstalling GDM the daemon will no longer be stopped. There is a risk of someone relying on this behaviour but it seems unlikely.
Related branches
- Ubuntu branches: Pending requested
-
Diff: 31 lines (+9/-2)2 files modifieddebian/changelog (+7/-0)
debian/gdm.prerm (+2/-2)
tags: | removed: need-duplicate-check |
Changed in gdm (Ubuntu Precise): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Status changed to 'Confirmed' because the bug affects multiple users.