centos 7 needs setpcap capability
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
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
CapabilityBound
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/
ProcVersionSign
Uname: Linux 3.13.0-30-generic x86_64
NonfreeKernelMo
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
Changed in lxc (Ubuntu): | |
status: | Fix Committed → Fix Released |
As discussed on lxc-devel (July 10), the centos template has not been adjusted to support systemd. Michael Warfield will be working on it.