Greeter auth doesn't unlock unity lockscreen

Bug #1498775 reported by Sebastien Bacher on 2015-09-23
22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Unity
Fix Released
High
Unassigned
lightdm (Ubuntu)
High
Unassigned
unity (Ubuntu)
High
Unassigned

Bug Description

Using current wily

- use indicator-session to go to the greeter (e.g pick another user in the list)
- select your normal user back
- enter your password

you should go back to an unlocked session but it's still locked...

Sebastien Bacher (seb128) wrote :

The issue starts with that lightdm update, https://launchpad.net/ubuntu/+source/lightdm/1.16.1-0ubuntu1

The update changes the pam configuration, unsure if that could confuse unity in some way?

Changed in unity (Ubuntu):
importance: Undecided → High
Tyler Hicks (tyhicks) wrote :

I believe this is due to the pam config changes rather than the code changes to lightdm. I commented out the new lines in the pam config files, rebooted, and then verified that the greeter auth works as intended.

tags: added: wily
Andrea Azzarone (azzar1) on 2015-09-24
Changed in lightdm (Ubuntu):
importance: Undecided → High
Changed in unity:
importance: Undecided → High
Robert Ancell (robert-ancell) wrote :

I'm having trouble reproducing this as my graphics drivers just show a black screen when X quits.

Changed in lightdm (Ubuntu):
status: New → Confirmed
N1ck 7h0m4d4k15 (nick-athens30) wrote :

I cannot reproduce this bug in Wily after latest updates.
Please update your system and make sure this still exist.

$ apt-cache policy lightdm
lightdm:
  Installed: 1.16.2-0ubuntu1
  Candidate: 1.16.2-0ubuntu1

Changed in lightdm (Ubuntu):
status: Confirmed → Incomplete
Changed in unity:
status: New → Incomplete
Changed in unity (Ubuntu):
status: New → Incomplete
Sebastien Bacher (seb128) wrote :

neither lightdm nor unity changed

Changed in unity:
status: Incomplete → Confirmed
Changed in lightdm (Ubuntu):
status: Incomplete → Confirmed
Changed in unity (Ubuntu):
status: Incomplete → Confirmed
N1ck 7h0m4d4k15 (nick-athens30) wrote :

Tried this again I can reproduce it *only if* I switch to another user(name).

If the system has two (or more) users and I click another username from the indicator but instead I select my current logged-in user and write the password the lock screen blinks and asks for the password a second time. The second time accepts the password and unlocks the session.

If I click the 'Lock/Switch Account' in the indicator, greeter works as it should without problems.

This has been tested with package, https://launchpad.net/ubuntu/+source/lightdm/1.16.2-0ubuntu1

Any other test-case is welcome.

Regards
NickTh

Robert Ancell (robert-ancell) wrote :

tyhicks / others - does the libaudit functionality work if we revert the PAM configuration? i.e. is it a way forward to revert this PAM change until we work out what the problem is?

Robert Ancell (robert-ancell) wrote :

I've managed to reproduce on a VM, however commenting out the PAM changes seems to have no effect - it still shows the Unity lockscreen when returning from the greeter.

Tyler Hicks (tyhicks) wrote :

Robert, you have to reboot the system after reverting the PAM config changes.

Tyler Hicks (tyhicks) wrote :

Unfortunately, the PAM changes are required for the auditing functionality.

Tyler Hicks (tyhicks) wrote :

I am ok with reverting the entirety of the libaudit functionality in Wily until I can sort out this bug.

Robert Ancell (robert-ancell) wrote :

I've uploaded a version to wily with libaudit support disabled.

Robert Ancell (robert-ancell) wrote :

Also - confirming after reboot the changes worked.

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lightdm - 1.16.3-0ubuntu1

---------------
lightdm (1.16.3-0ubuntu1) wily; urgency=medium

  * New upstream release:
    - Fix compile failing without libinput
    - Fix compile failing without Vala
  * debian/lightdm.lightdm-autologin.pam:
  * debian/lightdm.pam:
  * debian/rules:
    - Disable libaudit support for now - Unity is not unlocking with these
      changes (LP: #1498775)

 -- Robert Ancell <email address hidden> Wed, 30 Sep 2015 09:30:57 +1300

Changed in lightdm (Ubuntu):
status: Confirmed → Fix Released
Rodrigo (rodhos-hp) on 2015-11-22
Changed in unity (Ubuntu):
status: Confirmed → Fix Released
Changed in unity:
status: Confirmed → Fix Released
tags: added: lockscreen
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers