[lxc-devel] Fedora20 container doesn't start

Harald Dunkel harri at afaics.de
Sat Feb 15 18:28:58 UTC 2014


On 02/15/14 18:31, Michael H. Warfield wrote:
> 
> Looking at your logs, everything looks smooth in setup, including
> setting up a devtmpfs bind mount under /dev/.lxc/ so the initial stuff
> all looks good.  It seems to be going back around the time it's trying
> to run /sbin/init in the container but that's immediately following a
> failure to open some directory (looks like THAT warning message could
> use some love and care to add WHAT directory is not being opened).
> 
> I'm not sure what's gone wrong here but it almost looks like the
> template didn't build the container correctly.  My next action would be
> to chroot into the container and poke around the file system to see if
> things like /sbin/init exist and point to systemd like they should.
> 

Attached you can find the script output of lxc-create.

# chroot /var/lib/lxc/fed20/rootfs
[root at cecil /]# ls -al /sbin/init
lrwxrwxrwx 1 root root 22 Feb 15 18:10 /sbin/init -> ../lib/systemd/systemd
[root at cecil /]# ls -alL /sbin/init
-rwxr-xr-x 1 root root 1210216 Dec  5 22:23 /sbin/init
[root at cecil /]# file /lib/systemd/systemd
bash: file: command not found
[root at cecil /]# ldd /lib/systemd/systemd
        linux-vdso.so.1 =>  (0x00007fff6c3ab000)
        libsystemd-daemon.so.0 => /lib64/libsystemd-daemon.so.0 (0x00007f3704880000)
        libudev.so.1 => /lib64/libudev.so.1 (0x00007f370466e000)
        libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f3704449000)
        libwrap.so.0 => /lib64/libwrap.so.0 (0x00007f370423e000)
        libpam.so.0 => /lib64/libpam.so.0 (0x00007f370402f000)
        libaudit.so.1 => /lib64/libaudit.so.1 (0x00007f3703e08000)
        libcap.so.2 => /lib64/libcap.so.2 (0x00007f3703c03000)
        libkmod.so.2 => /lib64/libkmod.so.2 (0x00007f37039ed000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f37037e4000)
        libdbus-1.so.3 => /lib64/libdbus-1.so.3 (0x00007f370359c000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f3703386000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f3703168000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f3702da9000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f3704dac000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f3702ba5000)
        libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f370293e000)
        liblzma.so.5 => /lib64/liblzma.so.5 (0x00007f3702719000)
        libnsl.so.1 => /lib64/libnsl.so.1 (0x00007f3702500000)
        libattr.so.1 => /lib64/libattr.so.1 (0x00007f37022fa000)
        libz.so.1 => /lib64/libz.so.1 (0x00007f37020e4000)
[root at cecil /]# ls -al /run/systemd
ls: cannot access /run/systemd: No such file or directory
[root at cecil /]# ls -al /dev/initctl
prw------- 1 root root 0 Feb 15 18:10 /dev/initctl
[root at cecil /]# find | sort >manifest


The manifest file is attached, too.

Hope this helps. Regards
Harri



-------------- next part --------------
A non-text attachment was scrubbed...
Name: fedora20_install.log.bz2
Type: application/octet-stream
Size: 14499 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20140215/fe144838/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: manifest.bz2
Type: application/octet-stream
Size: 68506 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20140215/fe144838/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20140215/fe144838/attachment-0001.pgp>


More information about the lxc-devel mailing list