Public bug reported: creating a centos 7 container mostly worked using the template, but when it was launched, it was really slow to run through most of the sysinit tasks, and neither systemd-journald nor systemd-logind could start. The error was something like "Error at step CAPABILITIES". I found things like
CapabilityBoundingSet=CAP_SYS_ADMIN CAP_AUDIT_CONTROL CAP_CHOWN CAP_KILL CAP_DAC_READ_SEARCH CAP_DAC_OVERRIDE CAP_FOWNER CAP_SYS_TTY_CONFIG in fedora's service files, and tried not dropping SETPCAP in centos.common.conf. That allowed the container to boot with no further issues. (the lack of SETFCAP may cause problems with updates down the line, I don't know yet) ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: lxc 1.0.4-0ubuntu0.1 [modified: usr/share/lxc/config/centos.common.conf] ProcVersionSignature: Ubuntu 3.13.0-30.55-generic 3.13.11.2 Uname: Linux 3.13.0-30-generic x86_64 NonfreeKernelModules: openafs ApportVersion: 2.14.1-0ubuntu3.2 Architecture: amd64 CurrentDesktop: XFCE Date: Wed Jul 9 11:48:42 2014 SourcePackage: lxc UpgradeStatus: Upgraded to trusty on 2014-06-16 (22 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 ** Affects: lxc (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apparmor apport-bug trusty -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1339781 Title: centos 7 needs setpcap capability To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1339781/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs