← Back to team overview

touch-packages team mailing list archive

[Bug 1302264] Re: systemd-logind assert failure: error.c:319: Assertion failed in nih_error_get: context_stack != NULL

 

Not sure if my problem is related to this one. At the moment I
experience issues installing/updating libpam-systemd:amd64. Then I
followed the installation scripts and saw that /sys/fs/cgroup/systemd is
missing and I wasn't able to create that manually or using the script.
Looks like /sys/fs/cgroup is missing.

Sorry if this is off-topic but I am desperate to fix it. Here a log from
sudo apt-get install libpam-systemd:

...
Setting up libpam-systemd:amd64 (204-5ubuntu20.4) ...
start: Job failed to start
invoke-rc.d: initscript systemd-logind, action "start" failed.
dpkg: error processing package libpam-systemd:amd64 (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 libpam-systemd:amd64

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1302264

Title:
  systemd-logind assert failure: error.c:319: Assertion failed in
  nih_error_get: context_stack != NULL

Status in “systemd” package in Ubuntu:
  Fix Released

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_path=user/115.user/c1.session, recursive=1 failed: invalid request
  cgmanager: cgm_remove for controller=cpu, cgroup_path=user/115.user/c1.session, recursive=1 failed: invalid request
  cgmanager: cgm_remove for controller=cpuacct, cgroup_path=user/115.user/c1.session, recursive=1 failed: invalid request
  cgmanager: cgm_remove for controller=cpuset, cgroup_path=user/115.user/c1.session, recursive=1 failed: invalid request
  cgmanager: cgm_remove for controller=devices, cgroup_path=user/115.user/c1.session, recursive=1 failed: invalid request
  cgmanager: cgm_remove for controller=freezer, cgroup_path=user/115.user/c1.session, recursive=1 failed: invalid request
  cgmanager: cgm_remove for controller=hugetlb, cgroup_path=user/115.user/c1.session, recursive=1 failed: invalid request
  cgmanager: cgm_remove for controller=memory, cgroup_path=user/115.user/c1.session, recursive=1 failed: invalid request
  cgmanager: cgm_remove for controller=perf_event, cgroup_path=user/115.user/c1.session, recursive=1 failed: invalid request
  cgmanager: cgm_remove for controller=systemd, cgroup_path=user/115.user/c1.session, recursive=1 failed: invalid request
  cgmanager: cgm_remove for controller=blkio, cgroup_path=user/115.user, recursive=1 failed: invalid request
  cgmanager: cgm_remove for controller=cpu, cgroup_path=user/115.user, recursive=1 failed: invalid request
  cgmanager: cgm_remove for controller=cpuacct, cgroup_path=user/115.user, recursive=1 failed: invalid request
  cgmanager: cgm_remove for controller=cpuset, cgroup_path=user/115.user, recursive=1 failed: invalid request
  cgmanager: cgm_remove for controller=devices, cgroup_path=user/115.user, recursive=1 failed: invalid request
  cgmanager: cgm_remove for controller=freezer, cgroup_path=user/115.user, recursive=1 failed: invalid request
  cgmanager: cgm_remove for controller=hugetlb, cgroup_path=user/115.user, recursive=1 failed: invalid request
  cgmanager: cgm_remove for controller=memory, cgroup_path=user/115.user, recursive=1 failed: invalid request
  cgmanager: cgm_remove for controller=perf_event, cgroup_path=user/115.user, recursive=1 failed: invalid request
  Failed to issue method call: Unknown unit: autovt@tty2.service

  but the system seems to working now.

  ProblemType: Crash
  DistroRelease: Ubuntu 14.04
  Package: systemd-services 204-5ubuntu16
  ProcVersionSignature: Ubuntu 3.13.0-22.44-generic 3.13.8
  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/systemd-logind
  InstallationDate: Installed on 2014-03-24 (10 days ago)
  InstallationMedia: Ubuntu-GNOME 14.04 "Trusty Tahr" - Alpha amd64 (20140323)
  ProcCmdline: /lib/systemd/systemd-logind
  ProcEnviron:
   PATH=(custom, no user)
   TERM=linux
  Signal: 6
  SourcePackage: systemd
  StacktraceTop:
   nih_error_get () from /lib/x86_64-linux-gnu/libnih.so.1
   ?? ()
   ?? ()
   ?? ()
   ?? ()
  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:

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