touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #104844
[Bug 1497420] Re: systemd 226-2 (debian sid) breaks lxc-attach
** Changed in: systemd (Debian)
Status: Unknown => New
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1497420
Title:
systemd 226-2 (debian sid) breaks lxc-attach
Status in lxc package in Ubuntu:
New
Status in systemd package in Ubuntu:
New
Status in systemd package in Debian:
New
Bug description:
Once systemd 226 is installed in an unprivileged Debian Sid container,
lxc-attach no-longer functions:
% lxc-attach -n siddy
lxc-attach: cgmanager.c: lxc_cgmanager_enter: 698 call to cgmanager_move_pid_abs_sync failed: invalid request
lxc-attach: cgmanager.c: cgm_attach: 1460 Failed to enter group /user.slice/user-1000.slice/session-1.scope/lxc/siddy/init.scope
lxc-attach: attach.c: lxc_attach: 909 error communicating with child process
% journalctl -u cgmanager | tail -n 1
Sep 18 20:20:44 astoria cgmanager[1169]: cgmanager:per_ctrl_move_pid_main: pid 21918 (uid 1000 gid 1000) may not write to /run/cgmanager/fs/none,name=systemd//user.slice/user-1000.slice/session-1.scope/lxc/siddy/init.scope/tasks
Full walkthrough:
% lxc-create -n siddy -t download -- -d debian -r sid -a amd64
Using image from local cache
Unpacking the rootfs
...
% lxc-start -n siddy
% lxc-attach -n siddy
root@siddy:/# apt-get update
Get:1 http://http.debian.net sid InRelease [253 kB]
...
Get:7 http://http.debian.net sid/non-free amd64 Packages [91.3 kB]
Fetched 13.2 MB in 3s (3789 kB/s)
Reading package lists... Done
root@siddy:/# apt-get install systemd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libsystemd0
Suggested packages:
systemd-ui systemd-container
Recommended packages:
libpam-systemd dbus
The following packages will be upgraded:
libsystemd0 systemd
2 upgraded, 0 newly installed, 0 to remove and 47 not upgraded.
Need to get 3668 kB of archives.
After this operation, 1100 kB disk space will be freed.
Do you want to continue? [Y/n]
Get:1 http://http.debian.net/debian/ sid/main libsystemd0 amd64 226-2 [242 kB]
Get:2 http://http.debian.net/debian/ sid/main systemd amd64 226-2 [3426 kB]
...
Setting up systemd (226-2) ...
Installing new version of config file /etc/X11/xinit/xinitrc.d/50-systemd-user.sh ...
Installing new version of config file /etc/dbus-1/system.d/org.freedesktop.login1.conf ...
addgroup: The group `systemd-journal' already exists as a system group. Exiting.
Failed to set capabilities on file `/usr/bin/systemd-detect-virt' (Invalid argument)
The value of the capability argument is not permitted for a file. Or the file is not a regular (non-symlink) file
Failed to execute operation: File exists
Removing obsolete conffile /etc/dbus-1/system.d/org.freedesktop.machine1.conf ...
root@siddy:/# exit
% lxc-attach -n siddy
lxc-attach: cgmanager.c: lxc_cgmanager_enter: 698 call to cgmanager_move_pid_abs_sync failed: invalid request
lxc-attach: cgmanager.c: cgm_attach: 1460 Failed to enter group /user.slice/user-1000.slice/session-1.scope/lxc/siddy/init.scope
lxc-attach: attach.c: lxc_attach: 909 error communicating with child process
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: lxc 1.1.3-0ubuntu1 [modified: usr/lib/x86_64-linux-gnu/lxc/lxc-net]
ProcVersionSignature: Ubuntu 4.2.0-10.11-generic 4.2.0
Uname: Linux 4.2.0-10-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.18.1-0ubuntu1
Architecture: amd64
Date: Fri Sep 18 20:19:58 2015
SourcePackage: lxc
UpgradeStatus: Upgraded to wily on 2015-08-28 (20 days ago)
defaults.conf:
lxc.network.type = veth
lxc.network.link = lxcbr0
lxc.network.flags = up
lxc.network.hwaddr = 00:16:3e:xx:xx:xx
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1497420/+subscriptions
References