systemd-logind assert failure: error.c:319: Assertion failed in nih_error_get: context_stack != NULL
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Fix Released
|
Critical
|
Stéphane Graber |
Bug Description
Initially presents as a 'hang' during bootup. Checking the upstart logs it looks like systemd-logind is failing.
I tried a few different approaches - and eventually found that installing cgmanager allowed the system to reach a x11 login
checking into the logs now I continue to see errors:
Removed session c1.
cgmanager: cgm_remove for controller=blkio, cgroup_
cgmanager: cgm_remove for controller=cpu, cgroup_
cgmanager: cgm_remove for controller=cpuacct, cgroup_
cgmanager: cgm_remove for controller=cpuset, cgroup_
cgmanager: cgm_remove for controller=devices, cgroup_
cgmanager: cgm_remove for controller=freezer, cgroup_
cgmanager: cgm_remove for controller=hugetlb, cgroup_
cgmanager: cgm_remove for controller=memory, cgroup_
cgmanager: cgm_remove for controller=
cgmanager: cgm_remove for controller=systemd, cgroup_
cgmanager: cgm_remove for controller=blkio, cgroup_
cgmanager: cgm_remove for controller=cpu, cgroup_
cgmanager: cgm_remove for controller=cpuacct, cgroup_
cgmanager: cgm_remove for controller=cpuset, cgroup_
cgmanager: cgm_remove for controller=devices, cgroup_
cgmanager: cgm_remove for controller=freezer, cgroup_
cgmanager: cgm_remove for controller=hugetlb, cgroup_
cgmanager: cgm_remove for controller=memory, cgroup_
cgmanager: cgm_remove for controller=
Failed to issue method call: Unknown unit: <email address hidden>
but the system seems to working now.
ProblemType: Crash
DistroRelease: Ubuntu 14.04
Package: systemd-services 204-5ubuntu16
ProcVersionSign
Uname: Linux 3.13.0-22-generic x86_64
ApportVersion: 2.14-0ubuntu1
Architecture: amd64
AssertionMessage: error.c:319: Assertion failed in nih_error_get: context_stack != NULL
Date: Thu Apr 3 18:18:23 2014
ExecutablePath: /lib/systemd/
InstallationDate: Installed on 2014-03-24 (10 days ago)
InstallationMedia: Ubuntu-GNOME 14.04 "Trusty Tahr" - Alpha amd64 (20140323)
ProcCmdline: /lib/systemd/
ProcEnviron:
PATH=(custom, no user)
TERM=linux
Signal: 6
SourcePackage: systemd
StacktraceTop:
nih_error_get () from /lib/x86_
?? ()
?? ()
?? ()
?? ()
Title: systemd-logind assert failure: error.c:319: Assertion failed in nih_error_get: context_stack != NULL
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
Related branches
Changed in systemd (Ubuntu): | |
importance: | Medium → Critical |
StacktraceTop: shared/ cgmanager. c:47 0x13b62a0 "blkio") at ../src/ shared/ cgroup- util.c: 656 controllers (controllers= 0x13b6700) at ../src/ shared/ cgroup- util.c: 1493 0x13b6010) at ../src/ login/logind. c:1642
nih_error_get () at error.c:320
cgm_dbus_connect () at ../src/
check_hierarchy (p=p@entry=
cg_shorten_
manager_startup (m=m@entry=