← Back to team overview

desktop-packages team mailing list archive

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

 

** Tags removed: verification-needed
** Tags added: verification-done

** Tags removed: verification-done
** Tags added: verification-done-vivid

-- 
You received this bug notification because you are a member of Desktop
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