desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #107668
[Bug 1411100] Re: Guest user not removed after guest session ends when using bash as default shell
This bug was fixed in the package lightdm - 1.12.3-0ubuntu1
---------------
lightdm (1.12.3-0ubuntu1) utopic; urgency=medium
* New upstream release:
- Fix pipe file descriptor leak for each greeter session. (LP: #1190344)
- Don't attempt generate D-Bus seat/session removal signals on shutdown.
* debian/guest-account.sh:
- Rename variables to make script compatible with Bash (LP: #1411100)
* debian/lightdm-session:
- Use bash for the session to improve error handling (LP: #678421)
* debian/control:
- Depend on bash
lightdm (1.12.2-0ubuntu1) utopic; urgency=medium
* New upstream release:
- Fix pipe file descriptor leak for each session login / authentication
(LP: #1190344)
- Use correct syntax for DesktopNames key in session files (LP: #1383321)
- Mock /run in tests
* debian/config-error-dialog.sh:
- Show warning dialog instead of interrupted login if syntax error in
~/.profile etc (LP: #678421)
-- Robert Ancell <robert.ancell@xxxxxxxxxxxxx> Tue, 10 Mar 2015 16:02:44 +1300
** Changed in: lightdm (Ubuntu Utopic)
Status: Fix Committed => Fix Released
--
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/1411100
Title:
Guest user not removed after guest session ends when using bash as
default shell
Status in lightdm package in Ubuntu:
Fix Released
Status in lightdm source package in Precise:
Triaged
Status in lightdm source package in Trusty:
Fix Released
Status in lightdm source package in Utopic:
Fix Released
Bug description:
The /usr/sbin/giest-account script contains a bug which prevents the
removal of guest accounts:
$ sudo /usr/sbin/guest-account remove guest-Hhiook
/usr/sbin/guest-account: line 129: UID: readonly variable
Maybe this is related to /bin/sh actually beeing a Bash:
$ ll -d /bin/sh
lrwxrwxrwx 1 root root 4 Jan 1 01:44 /bin/sh -> bash*
But since using Bash as default sh is still a "feature" of Ubuntu, all
scripts should work with both.
Running the script with dash actually works:
$ sudo dash /usr/sbin/guest-account remove guest-ZWCtva
umount: /tmp/guest-ZWCtva: mountpoint not found
umount: /tmp/guest-ZWCtva: mountpoint not found
Removing user `guest-ZWCtva' ...
Warning: group `guest-ZWCtva' has no more members.
Done.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1411100/+subscriptions
References