There is also a second issue in the `gdm.prerm` script, lightdm no
longer has a 'daemon_name' key, so the following command will fail with
status 10, if someone trys to configure lightdm from the dm chooser when
removing gdm.

db_get "$RET"/daemon_name

This will only cause be a problem when the user has > 1 dm remaining on
the system after uninstalling gdm. Although it does currently always
trigger an error message due to the chooser bug.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gdm in Ubuntu.
https://bugs.launchpad.net/bugs/1055292

Title:
  removing gdm results in dm chooser question even when only 1 dm is
  left

Status in “gdm” package in Ubuntu:
  New

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/1055292/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to