[utopic] [proposed] cgmanager breaks lightdm login

Bug #1342586 reported by dino99
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
Fix Released
High
Unassigned
systemd-shim (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

The latest 'proposed' systemd-shim 6.3-ubuntu1 package install cgmanager. As a result X is first killed and then its impossible to login again.
This happen on Utopic i386 with unity-greeter, systemd-boot and a gtx 750 nvidia card.

The bad experience:
- trying to purge cgmanager also wants to remove a bunch of packages that will deeply break the system
- X can be started but the login always fail
- there is no way to open a terminal (ctrl+t) or (ctrl+alt+t) from X
- even cant get a command line

dino99 (9d9)
tags: added: regression-proposed systemd-boot utopic
description: updated
tags: added: bot-stop-nagging
dino99 (9d9)
description: updated
Revision history for this message
dino99 (9d9) wrote :

Feedback from a recovery boot:

/var/crash:

get a _lib_systemd_systemd.0.crash :
systemd assert failure: alloc.c:315: Assertion failed in nih_free: ptr !=NULL

StacktraceTop:
__GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
__GI_abort() at abort.c:89
nih_free() from /lib/i386-linux-gnu/libnih.so.1

.xsession-errors:

x-session-manager: could not get session id for session. Check that logind is properly installed and pam_systemd is getting used at login. Connection refused.

initctl: UPSTART_SESSION isn't set in the environment. Unable to locate the Upstart instance.

Revision history for this message
dino99 (9d9) wrote :

reconfiguring lightdm and selecting gdm is the actual workaround

Steve Langasek (vorlon)
tags: removed: regression-proposed
Revision history for this message
dino99 (9d9) wrote :

Other users having the same issue: http://ubuntuforums.org/showthread.php?t=2234728

Revision history for this message
James Hunt (jamesodhunt) wrote :

Note: systemd packaging branch is out-of-date.

Attached patch stops a NULL deref which would explain this issue.

Revision history for this message
Martin Pitt (pitti) wrote :

Pushed James' fix to packaging git, thanks!

Changed in systemd (Ubuntu):
status: New → Fix Committed
Changed in systemd-shim (Ubuntu):
status: New → Invalid
Changed in systemd (Ubuntu):
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package systemd - 204-14ubuntu2

---------------
systemd (204-14ubuntu2) utopic; urgency=medium

  * Add-cgmanager-support-to-logind.patch: Don't nih_unref a NULL value.
    Thanks to James Hunt! (LP: #1342586)
 -- Martin Pitt <email address hidden> Thu, 17 Jul 2014 13:03:19 +0200

Changed in systemd (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Caleb Howland (Menzador) (menzador) wrote :

Whoever marked this bug 'invalid' apparently did not test it on UEFI hardware. The same bug exists for systemd-shim, making graphical login impossible.

Changed in systemd-shim (Ubuntu):
status: Invalid → Confirmed
Revision history for this message
Martin Pitt (pitti) wrote :

I am on an UEFI system. I'm not sure what you mean by "the same bug", that bug was fixed by above systemd upload. If you have trouble with booting, can you please open a new bug? Preferably by submitting a crash report through Apport if you have any crash report; if you don't have crashes, please use "ubuntu-bug lightdm" (the problem might not be there, but that will automatically attach relevant logs). Thanks!

Changed in systemd-shim (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.