← Back to team overview

touch-packages team mailing list archive

[Bug 1507033] Re: lightdm.conf boolean values false if have trailing whitespace

 

Confirmed in both vivid and wily by setting:

[XDMCPServer]
enabled_=_true_

Where _ is a space. The XDMCP server correctly enables.

** Tags added: verification-done-wily

** Changed in: lightdm (Ubuntu Wily)
     Assignee: (unassigned) => Robert Ancell (robert-ancell)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/1507033

Title:
  lightdm.conf boolean values false if have trailing whitespace

Status in Light Display Manager:
  Fix Released
Status in Light Display Manager 1.10 series:
  Fix Committed
Status in Light Display Manager 1.14 series:
  Fix Released
Status in Light Display Manager 1.16 series:
  Fix Released
Status in Light Display Manager 1.2 series:
  Fix Committed
Status in lightdm package in Ubuntu:
  Fix Released
Status in lightdm source package in Vivid:
  Fix Committed
Status in lightdm source package in Wily:
  Fix Committed

Bug description:
  [Impact]
  Adding trailing whitespace to a boolean true value in LightDM configuration has it read as false.

  [Test Case]
  1. Set a boolean configuration value in lightdm.conf to true_ (_ is a space character)
  2. Run LightDM

  Expected result:
  The configured value is interpreted as true.

  Observed result:
  The configured value is interpreted as false.

  [Regression potential]
  Low. We just strip trailing whitespace when checking for the value "true".

To manage notifications about this bug go to:
https://bugs.launchpad.net/lightdm/+bug/1507033/+subscriptions