SolidCharity / LightBuildServer

LightBuildServer for building rpm and deb packages and running CI scripts, using linux containers
BSD 3-Clause "New" or "Revised" License
11 stars 1 forks source link

Fedora container does not start #51

Closed tpokorra closed 10 years ago

tpokorra commented 10 years ago

running lxc-start -n build01.lbs.solidcharity.com:

lxc-start: invalid sequence number 1. expected 4
lxc-start: failed to spawn 'build01.lbs.solidcharity.com'
lxc-start: The container failed to start.
lxc-start: Additional information can be obtained by setting the --logfile and --log-priority options.
tpokorra commented 10 years ago

This was after an upgrade of lxc, to 1.0.5

I had to comment the fcaps line in /usr/share/lxc/config/fedora.common.conf again:

sed -i "s/lxc.cap.drop = setfcap/#lxc.cap.drop = setfcap/g" /usr/share/lxc/config/fedora.common.conf

I also removed the download template: rm -Rf /var/cache/lxc/download/fedora/

tpokorra commented 10 years ago

Using the logfile parameter, this shows:

lxc-start 1406094561.773 ERROR    lxc_seccomp - Error loading the seccomp policy
tpokorra commented 10 years ago

disabling seccomp in the fedora init script solves the issue