Public bug reported:
When removing gdm package on quantal, the dm chooser question is always
presented, even when there is only one dm remaining on the system. This
seems to be caused by an issue in the debconf gdm.prerm script.
I made a little test script and discovered the following, although I am
not actually sure why the "|| true" is interfering with the unregister.
Test case #2 below returns the correct result. I do note this does not
appear to happen on precise which uses the commands as per the #1 test
case. fwiw lightdm uses #2 also.
1. running (this is what is currently in the prerm script):
db_unregister shared/default-x-display-manager || true
db_get shared/default-x-display-manager
returns:
debconf (developer): <-- UNREGISTER shared/default-x-display-manager
debconf (developer): --> 0
db_get shared/default-x-display-manager
debconf (developer): <-- GET shared/default-x-display-manager
debconf (developer): --> 0 lightdm
2. running (this produces the correct output):
db_unregister shared/default-x-display-manager
db_get shared/default-x-display-manager
returns:
debconf (developer): <-- starting
debconf (developer): <-- UNREGISTER shared/default-x-display-manager
debconf (developer): --> 0
** Affects: gdm (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1055292
Title:
removing gdm results in dm chooser question even when only 1 dm is
left
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/1055292/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs