[lxc-users] Container not started

CDR venefax at gmail.com
Mon Jun 16 23:54:33 UTC 2014


I copied an LXC container fro Ubuntu Server to Fedora 20 and when I
start it I get
xc-start -n masterfe
systemd 208 running in system mode. (+PAM +LIBWRAP +AUDIT +SELINUX
+IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ)
Detected virtualization 'lxc'.

Welcome to Fedora 20 (Heisenbug)!

Set hostname to <masterfe>.
No control group support available, not creating root group.
[  OK  ] Reached target Remote File Systems.
Socket service systemd-journald.service not loaded, refusing.
[FAILED] Failed to listen on Journal Socket.
See 'systemctl status systemd-journald.socket' for details.
         Mounting RPC Pipe File System...
Caught <SEGV>, dumped core as pid 13.
Freezing execution.

if I check this eror message
systemctl status systemd-journald.socket
systemd-journald.socket - Journal Socket
   Loaded: loaded (/usr/lib/systemd/system/systemd-journald.socket; static)
   Active: active (running) since Mon 2014-06-16 16:19:14 EDT; 3h 31min ago
     Docs: man:systemd-journald.service(8)
           man:journald.conf(5)
   Listen: /run/systemd/journal/stdout (Stream)
           /run/systemd/journal/socket (Datagram)
           /dev/log (Datagram)



And the kernel's configuration is right


 lxc-checkconfig
Kernel configuration found at /boot/config-3.14.7-200.fc20.x86_64
--- Namespaces ---
Namespaces: enabled
Utsname namespace: enabled
Ipc namespace: enabled
Pid namespace: enabled
User namespace: enabled
Network namespace: enabled
Multiple /dev/pts instances: enabled

--- Control groups ---
Cgroup: enabled
Cgroup clone_children flag: enabled
Cgroup device: enabled
Cgroup sched: enabled
Cgroup cpu account: enabled
Cgroup memory controller: enabled
Cgroup cpuset: enabled

--- Misc ---
Veth pair device: enabled
Macvlan: enabled
Vlan: enabled
File capabilities: enabled

This is my config, exceot networking

lxc.start.auto = 0
lxc.start.delay = 5
lxc.start.order = 1

lxc.mount.entry = proc proc proc nodev,noexec,nosuid 0 0
lxc.mount.entry = sysfs sys sysfs defaults  0 0

lxc.mount.entry = /usr/src /usr/src none bind 0 0


lxc.tty = 4
lxc.pts = 1024
lxc.cgroup.devices.deny = a
lxc.cgroup.devices.allow = c 1:3 rwm
lxc.cgroup.devices.allow = c 1:5 rwm
lxc.cgroup.devices.allow = c 5:1 rwm
lxc.cgroup.devices.allow = c 5:0 rwm
lxc.cgroup.devices.allow = c 4:0 rwm
lxc.cgroup.devices.allow = c 4:1 rwm
lxc.cgroup.devices.allow = c 1:9 rwm
lxc.cgroup.devices.allow = c 1:8 rwm
lxc.cgroup.devices.allow = c 136:* rwm
lxc.cgroup.devices.allow = c 5:2 rwm
lxc.cgroup.devices.allow = c 254:0 rwm
lxc.cgroup.devices.allow = c 10:137 rwm # loop-control
lxc.cgroup.devices.allow = b 7:* rwm    # loop*
#lxc.cgroup.memory.limit_in_bytes = 2536870910
lxc.mount.auto = cgroup

lxc.utsname = masterfe
lxc.autodev = 1
#lxc.aa_profile = unconfined


lxc.rootfs = /var/lib/lxc/masterfe/rootfs


More information about the lxc-users mailing list