cannot boot with latest systemd updates

Bug #1301544 reported by Julien Aubin
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
cgmanager (Ubuntu)
Fix Released
Critical
Unassigned

Bug Description

Hi,

With latest systemd updates with cgmanager support, system won't boot if /usr is mounted on a different partition from /. The reason (that you can see when booting system in failsafe mode and trying to launch dpkg or anything and seeing that system is complaining) is that the system is trying to load library libcgmanager.so.0 while udev is not fully started and mountpoints not completely mounted.

Workaround consists in copying libcgmanager.so.0 and libcgmanager.so.0.0.0 from /usr/lib/x86-64-linux-gnu to /lib/x86-64-linux-gnu and everything is fine again.

This regression was introduced when fixing bug 1297363

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: systemd-services 204-5ubuntu14
ProcVersionSignature: Ubuntu 3.13.0-21.43-generic 3.13.8
Uname: Linux 3.13.0-21-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14-0ubuntu1
Architecture: amd64
CurrentDesktop: KDE
Date: Wed Apr 2 18:32:31 2014
SourcePackage: systemd
UpgradeStatus: Upgraded to trusty on 2014-03-20 (12 days ago)

Revision history for this message
Julien Aubin (gojulgarbmail) wrote :
Revision history for this message
Stéphane Graber (stgraber) wrote :

Moving to cgmanager, cgmanager is supposed to work entirely without /usr, this is a bug and needs fixing ASAP.

affects: systemd (Ubuntu) → cgmanager (Ubuntu)
Changed in cgmanager (Ubuntu):
importance: Undecided → Critical
status: New → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cgmanager - 0.24-0ubuntu2

---------------
cgmanager (0.24-0ubuntu2) trusty; urgency=medium

  [ Serge Hallyn ]
  * move libraries from /usr/lib into /lib (LP: #1301544)
  * debian/control:
    - remove ${shlibs:Depends} from cgmanager-utils, cgmanager-tests and
      libcgmanager-devel
  * Makefile.am:
    - add -shared to AM_LDFLAGS
    - add AM_LDFLAGS to libcgmanager's ldflags

  [ Stéphane Graber ]
  * Add adt support.
 -- Serge Hallyn <email address hidden> Wed, 02 Apr 2014 13:59:03 -0500

Changed in cgmanager (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Crashbit (crashbit-gmail) wrote :

Yes, the update of cgmanager solve my problem!
For me, bug is fixed

Revision history for this message
Crashbit (crashbit-gmail) wrote :

When I try to install cgmanager:i386 with cgmanager:amd64 installed, installation shows an error:

Unpacking libcgmanager0:i386 (0.24-0ubuntu2) ...
dpkg: error processing archive /var/cache/apt/archives/libcgmanager0_0.24-0ubuntu2_i386.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/libcgmanager0/changelog.Debian.gz', which is different from other instances of package libcgmanager0:i386
Selecting previously unselected package cgmanager.
Preparing to unpack .../cgmanager_0.24-0ubuntu2_i386.deb ...
Unpacking cgmanager (0.24-0ubuntu2) ...
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for man-db (2.6.6-1) ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Errors were encountered while processing:
 /var/cache/apt/archives/libcgmanager0_0.24-0ubuntu2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I use the same amd64 bits machine.

Revision history for this message
Crashbit (crashbit-gmail) wrote :

Latest version of cgmanager:i386 solve the problem!

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.