** Also affects: ubuntu
Importance: Undecided
Status: New
** Also affects: Ubuntu Vivid
Importance: Undecided
Status: New
** Package changed: ubuntu => lightdm (Ubuntu)
** Changed in: lightdm (Ubuntu)
Status: New => Fix Released
** Changed in: lightdm (Ubuntu Vivid)
Status: New => Triaged
** Changed in: lightdm (Ubuntu Vivid)
Importance: Undecided => Medium
** Changed in: lightdm (Ubuntu)
Importance: Undecided => Medium
** Summary changed:
- lightdm.conf is sensitive to trailing whitespace
+ lightdm.conf boolean values false if have trailing whitespace
** Description changed:
- It appears that lightdm.conf is sensitive to trailing spaces. I get
- different behavior with
+ [Impact]
+ Adding trailing whitespace to a boolean true value in LightDM configuration
has it read as false.
- greeter-hide-users=true
+ [Test Case]
+ 1. Set a boolean configuration value in lightdm.conf to true_ (_ is a space
character)
+ 2. Run LightDM
- and
+ Expected result:
+ The configured value is interpreted as true.
- greeter-hide-users=true_
+ Observed result:
+ The configured value is interpreted as false.
- where the _ in the second example represents a trailing space. Without
- the space, the greeter hides the list of users as I expected. With the
- space, the greeter displays the list of users as if the greeter-hide-
- users parameter is not set to true.
+ [Regression potential]
+ Low. We just strip trailing whitespace when checking for the value "true".
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1507033
Title:
lightdm.conf boolean values false if have trailing whitespace
To manage notifications about this bug go to:
https://bugs.launchpad.net/lightdm/+bug/1507033/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs