lightdm install prompts about default dm even though debconf value set
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gdm3 (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
lightdm (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I've got gdm3-3.
Copying from Bug #1020770, I set some values with debconf.
$ echo "debconf debconf/priority select critical
lightdm shared/
gdm3 shared/
info: Trying to set 'debconf/priority' [select] to 'critical'
info: Loading answer for 'debconf/priority'
info: Trying to set 'shared/
info: Loading answer for 'shared/
info: Trying to set 'shared/
info: Loading answer for 'shared/
When I now install lightdm (or reconfigure it), it is ignoring that I set the value to "lightdm". I confirmed that by having a look at /etc/X11/
$ cat /etc/X11/
/usr/sbin/gdm3
When I manually answer the DM question and give "lightdm" as the answer, the file contains "/usr/sbin/
dpkg-reconfigure in non-interactive mode:
$ sudo env DEBCONF_
debconf (developer): starting /var/lib/
debconf (developer): starting /var/lib/
debconf (developer): <-- METAGET shared/
debconf (developer): --> 0 gdm, gdm3, lightdm, slim
debconf (developer): <-- METAGET shared/
debconf (developer): --> 0 gdm, gdm3, lightdm, slim
debconf (developer): <-- SET shared/
debconf (developer): --> 0 value set
debconf (developer): <-- INPUT high shared/
debconf (developer): --> 30 question skipped
debconf (developer): <-- GO
debconf (developer): --> 0 ok
debconf (developer): <-- GET shared/
debconf (developer): --> 0 gdm3
debconf (developer): starting /var/lib/
debconf (developer): <-- STOP
And in interactive mode:
$ sudo env DEBCONF_
debconf (developer): starting /var/lib/
debconf (developer): starting /var/lib/
debconf (developer): <-- METAGET shared/
debconf (developer): --> 0 gdm, gdm3, lightdm, slim
debconf (developer): <-- METAGET shared/
debconf (developer): --> 0 gdm, gdm3, lightdm, slim
debconf (developer): <-- SET shared/
debconf (developer): --> 0 value set
debconf (developer): <-- INPUT high shared/
debconf (developer): --> 0 question will be asked
debconf (developer): <-- GO
debconf (developer): --> 0 ok
debconf (developer): <-- GET shared/
debconf (developer): --> 0 lightdm
debconf (developer): starting /var/lib/
debconf (developer): <-- GET shared/
debconf (developer): --> 0 lightdm
debconf (developer): <-- GET lightdm/daemon_name
debconf (developer): --> 0 /usr/sbin/lightdm
debconf (developer): <-- STOP
To me, this is a bug in lightdm (or gdm3, which has the same code and problem), because it doesn't seem to honor the values set with debconf and thus makes it impossible to install without having to manually answer questions.
tags: | added: xenial |
affects: | gdm (Ubuntu) → gdm3 (Ubuntu) |
Status changed to 'Confirmed' because the bug affects multiple users.