>From my reading of the above, it seems that this bug should be fixed in
Yakkety, and probably also in up-to-date installations of Xenial.

I believe this is the bug I'm currently seeing (prefs.sh not sourced as
privileged user) in both Yakkety and Xenial (lightdm versions
1.19.5-0ubuntu1 and 1.18.3-0ubuntu1 respectively). Should I open a new
bug report tagged regression-update as mentioned above, or have I
misunderstood in thinking it should be fixed in these versions?

The symptom I'm seeing is that if I put commands into /etc/guest-
session/prefs.sh requiring execution by a privileged user, the guest
login loops back around to the login screen without any messages.
Behaviour is the same in both Yakkety and Xenial with all packages up-
to-date.

-- 
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/1581853

Title:
  Source prefs.sh as privileged user to allow user mods

Status in lightdm package in Ubuntu:
  Fix Released
Status in lightdm source package in Xenial:
  Fix Released

Bug description:
  [Impact] including [Test Case]

  The Ask Ubuntu question <http://askubuntu.com/q/771080> called my
  attention to a regression in 16.04 as regards the possibilities for
  the system owner to configure the guest account. Up to 15.10 you can
  put e.g. this line in /etc/guest-session/prefs.sh:

  adduser $USER somegroup

  But if you try that in 16.04, the guest session won't launch. The
  explanation is that after the reorganization of the guest session code
  in 16.04, prefs.sh is sourced by /usr/share/lightdm/guest-
  session/setup.sh, which is not run as root.

  The linked merge proposals restore the previous behavior by letting
  prefs.sh be sourced by /usr/sbin/guest-account again.

  [Regression Potential]

  Low.

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to