variables defined twice in config files lead to crash

Bug #1378994 reported by Yves-Alexis Perez
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Light Display Manager
New
Undecided
Unassigned
1.10
New
Undecided
Unassigned
1.12
New
Undecided
Unassigned
lightdm (Debian)
Unknown
Unknown

Bug Description

Hi,

it seems that the recent changes to the config files handling (maybe linked to the --show-config option) actually cause crashes. When a variable is set twice, LightDM crashes at startup.

It seems also visible with --show-config:

root@scapa:~# lightdm --show-config
   [SeatDefaults]
A greeter-session=lightdm-greeter
A greeter-hide-users=true
A session-wrapper=/etc/X11/Xsession

Sources:
A /usr/share/lightdm/lightdm.conf.d/01_debian.conf
B /etc/lightdm/lightdm.conf

Uncommenting greeter-hide-user=true in /etc/lightdm/lightdm.conf:

root@scapa:~# lightdm --show-config
   [SeatDefaults]
(null) greeter-session=lightdm-greeter
B greeter-hide-users=true
(null) session-wrapper=/etc/X11/Xsession

Sources:
[Invalid UTF-8] (null) \x8861\xe3m\x7f
B /etc/lightdm/lightdm.conf

Revision history for this message
Yves-Alexis Perez (corsac) wrote :

This is LightDM 1.10.2 by the way.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.