[lxc-users] images:centos/7/amd64 not bootable

Tamas Papp tompos at martos.bme.hu
Wed Dec 30 10:05:35 UTC 2015



On 12/29/2015 05:35 PM, Yonsy Solis wrote:
>
>
> On mar, dic 29, 2015 at 11:02 AM, Tamas Papp <tompos at martos.bme.hu> 
> wrote:
>>
>>
>> On 12/29/2015 04:53 PM, Mark Chaney wrote:
>> > More details are obviously needed. I am able to create a centos 7
>> > 64bit container on my system just fine.
>>
>> Really? And can you start it properly?
>>
>>
>> $ lxc launch...
>>
>>
>> And it's stuck /sbin/init
>>
>>
>> Host is trusty with wily backported kernel, lxd is from ppa.
>> Nothing else is special.
>
> tested in my workstation, Ubuntu 14.04 with lts-wily kernel (4.2.0-22 
> now) and LXD from lxd-stable-ppa
>
> ➜  ~  lxc remote add images images.linuxcontainers.org
> ➜  ~  lxc launch images:centos/7/amd64 centos
> ➜  ~  lxc exec centos -- /bin/bash

Of course exec works, but this is not a docker container:)

> [root at centos ~]#
>
> so it's run
>
> ➜  ~  lxc list
> +---------+---------+-------------------+------+-----------+-----------+
> |  NAME   |  STATE  |       IPV4        | IPV6 | EPHEMERAL | SNAPSHOTS |
> +---------+---------+-------------------+------+-----------+-----------+
> | centos  | RUNNING | 10.0.3.156 (eth0) |      | NO |         0 |
> +---------+---------+-------------------+------+-----------+-----------+
>
> appear in my machine.
>
> yes, we need more details about your config, any special, using br0 
> instead of lxcbr0 ? the problem can be more related to the Image 
> (CentOS 7 maybe not updated too much) than with LXD.

Weird.

There is nothing special.

$ add-apt-repository..
$ apt-get install lxd ...
$ lxc launch ... (like you)

And only /sbin/init start, not more process.

On my laptop (Xenial):

11:02 tompos at parsec(pts/21):~$ dpkg -l lxd
Desired=Unknown/Install/Remove/Purge/Hold
| 
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version                         Architecture Description
+++-=====================================================-===============================-===============================-===============================================================================================================
ii  lxd 0.25-0ubuntu1                   amd64 Container hypervisor based 
on LXC - daemon
11:02 tompos at parsec(pts/21):~$ uname -a
Linux parsec 4.3.0-2-generic #11-Ubuntu SMP Fri Dec 4 20:37:48 UTC 2015 
x86_64 x86_64 x86_64 GNU/Linux
11:02 tompos at parsec(pts/21):~$ lsb_release -a
No LSB modules are available.
Distributor ID:    Ubuntu
Description:    Ubuntu Xenial Xerus (development branch)
Release:    16.04
Codename:    xenial


$ lxc launch official:centos/7/amd64 centos
Creating centos done.
Starting centos done.
11:00 tompos at parsec(pts/21):~$ lxc list
+--------+---------+------+------+-----------+-----------+
|  NAME  |  STATE  | IPV4 | IPV6 | EPHEMERAL | SNAPSHOTS |
+--------+---------+------+------+-----------+-----------+
| centos | RUNNING |      |      | NO        |         0 |
+--------+---------+------+------+-----------+-----------+



28114 ?        Ss     0:00 [lxc monitor] /var/lib/lxd/containers centos
28152 ?        Ss     0:00  \_ /sbin/init




lxc.conf:

lxc.include = /usr/share/lxc/config/ubuntu.common.conf
lxc.include = /usr/share/lxc/config/ubuntu.userns.conf
lxc.logfile = /var/log/lxd/centos/lxc.log
lxc.loglevel = 0
lxc.arch = linux64
lxc.hook.pre-start = /usr/bin/lxd callhook /var/lib/lxd 4 start
lxc.hook.post-stop = /usr/bin/lxd callhook /var/lib/lxd 4 stop
lxc.tty = 0
lxc.console = none
lxc.cgroup.devices.deny = c 5:1 rwm
lxc.rootfs = /var/lib/lxd/containers/centos/rootfs
lxc.utsname = centos
lxc.mount.entry = /var/lib/lxd/devlxd dev/lxd none bind,create=dir 0 0
lxc.aa_profile = lxd-centos_</var/lib/lxd>
lxc.seccomp = /var/lib/lxd/security/seccomp/centos
lxc.id_map = u 0 1000000 100000

lxc.id_map = g 0 1000000 100000

lxc.network.type = veth
lxc.network.link = lxcbr0
lxc.network.hwaddr = 00:16:3e:9a:c2:87
lxc.network.name = eth0
lxc.mount.entry = /var/lib/lxd/shmounts/centos dev/.lxd-mounts none 
bind,create=dir 0 0


lxc.log:

             lxc 1451469600.253 INFO     lxc_confile - 
confile.c:config_idmap:1437 - read uid map: type u nsid 0 hostid 1000000 
range 100000
             lxc 1451469600.253 INFO     lxc_confile - 
confile.c:config_idmap:1437 - read uid map: type g nsid 0 hostid 1000000 
range 100000
             lxc 1451469600.307 WARN     lxc_cgmanager - 
cgmanager.c:cgm_get:994 - do_cgm_get exited with error
             lxc 1451469601.354 INFO     lxc_confile - 
confile.c:config_idmap:1437 - read uid map: type u nsid 0 hostid 1000000 
range 100000
             lxc 1451469601.354 INFO     lxc_confile - 
confile.c:config_idmap:1437 - read uid map: type g nsid 0 hostid 1000000 
range 100000
             lxc 1451469601.357 WARN     lxc_cgmanager - 
cgmanager.c:cgm_get:994 - do_cgm_get exited with error
             lxc 1451469601.358 WARN     lxc_cgmanager - 
cgmanager.c:cgm_get:994 - do_cgm_get exited with error
             lxc 1451469601.364 INFO     lxc_confile - 
confile.c:config_idmap:1437 - read uid map: type u nsid 0 hostid 1000000 
range 100000
             lxc 1451469601.364 INFO     lxc_confile - 
confile.c:config_idmap:1437 - read uid map: type g nsid 0 hostid 1000000 
range 100000
             lxc 1451469601.367 WARN     lxc_cgmanager - 
cgmanager.c:cgm_get:994 - do_cgm_get exited with error
             lxc 1451469601.370 WARN     lxc_cgmanager - 
cgmanager.c:cgm_get:994 - do_cgm_get exited with error
             lxc 1451469601.449 WARN     lxc_cgmanager - 
cgmanager.c:cgm_get:994 - do_cgm_get exited with error
             lxc 1451469601.450 INFO     lxc_start - 
start.c:lxc_check_inherited:240 - closed inherited fd 8
             lxc 1451469601.450 INFO     lxc_container - 
lxccontainer.c:do_lxcapi_start:712 - Attempting to set proc title to 
[lxc monitor] /var/lib/lxd/containers centos
             lxc 1451469601.451 INFO     lxc_start - 
start.c:lxc_check_inherited:240 - closed inherited fd 8
             lxc 1451469601.451 INFO     lxc_lsm - lsm/lsm.c:lsm_init:48 
- LSM security driver AppArmor
             lxc 1451469601.451 INFO     lxc_seccomp - 
seccomp.c:parse_config_v2:324 - processing: .reject_force_umount  # 
comment this to allow umount -f;  not recommended.
             lxc 1451469601.451 INFO     lxc_seccomp - 
seccomp.c:parse_config_v2:426 - Adding native rule for 
reject_force_umount action 0
             lxc 1451469601.451 INFO     lxc_seccomp - 
seccomp.c:do_resolve_add_rule:216 - Setting seccomp rule to reject force 
umounts

             lxc 1451469601.451 INFO     lxc_seccomp - 
seccomp.c:parse_config_v2:429 - Adding compat rule for 
reject_force_umount action 0
             lxc 1451469601.451 INFO     lxc_seccomp - 
seccomp.c:do_resolve_add_rule:216 - Setting seccomp rule to reject force 
umounts

             lxc 1451469601.451 INFO     lxc_seccomp - 
seccomp.c:parse_config_v2:324 - processing: .[all].
             lxc 1451469601.451 INFO     lxc_seccomp - 
seccomp.c:parse_config_v2:324 - processing: .kexec_load errno 1.
             lxc 1451469601.451 INFO     lxc_seccomp - 
seccomp.c:parse_config_v2:426 - Adding native rule for kexec_load action 
327681
             lxc 1451469601.451 INFO     lxc_seccomp - 
seccomp.c:parse_config_v2:429 - Adding compat rule for kexec_load action 
327681
             lxc 1451469601.451 INFO     lxc_seccomp - 
seccomp.c:parse_config_v2:324 - processing: .open_by_handle_at errno 1.
             lxc 1451469601.451 INFO     lxc_seccomp - 
seccomp.c:parse_config_v2:426 - Adding native rule for open_by_handle_at 
action 327681
             lxc 1451469601.451 INFO     lxc_seccomp - 
seccomp.c:parse_config_v2:429 - Adding compat rule for open_by_handle_at 
action 327681
             lxc 1451469601.451 INFO     lxc_seccomp - 
seccomp.c:parse_config_v2:324 - processing: .init_module errno 1.
             lxc 1451469601.451 INFO     lxc_seccomp - 
seccomp.c:parse_config_v2:426 - Adding native rule for init_module 
action 327681
             lxc 1451469601.451 INFO     lxc_seccomp - 
seccomp.c:parse_config_v2:429 - Adding compat rule for init_module 
action 327681
             lxc 1451469601.451 INFO     lxc_seccomp - 
seccomp.c:parse_config_v2:324 - processing: .finit_module errno 1.
             lxc 1451469601.451 INFO     lxc_seccomp - 
seccomp.c:parse_config_v2:426 - Adding native rule for finit_module 
action 327681
             lxc 1451469601.451 INFO     lxc_seccomp - 
seccomp.c:parse_config_v2:429 - Adding compat rule for finit_module 
action 327681
             lxc 1451469601.451 INFO     lxc_seccomp - 
seccomp.c:parse_config_v2:324 - processing: .delete_module errno 1.
             lxc 1451469601.451 INFO     lxc_seccomp - 
seccomp.c:parse_config_v2:426 - Adding native rule for delete_module 
action 327681
             lxc 1451469601.451 INFO     lxc_seccomp - 
seccomp.c:parse_config_v2:429 - Adding compat rule for delete_module 
action 327681
             lxc 1451469601.451 INFO     lxc_seccomp - 
seccomp.c:parse_config_v2:436 - Merging in the compat seccomp ctx into 
the main one
             lxc 1451469601.451 INFO     lxc_conf - 
conf.c:run_script_argv:362 - Executing script '/usr/bin/lxd callhook 
/var/lib/lxd 4 start' for container 'centos', config section 'lxc'
             lxc 1451469601.452 INFO     lxc_start - 
start.c:lxc_check_inherited:240 - closed inherited fd 8
             lxc 1451469601.454 INFO     lxc_monitor - 
monitor.c:lxc_monitor_sock_name:178 - using monitor sock name 
lxc/d78a9d7e97b4b375//var/lib/lxd/containers
             lxc 1451469601.454 ERROR    lxc_monitor - 
monitor.c:lxc_monitor_open:209 - connect : backing off 10
             lxc 1451469601.523 DEBUG    lxc_start - 
start.c:setup_signal_fd:278 - sigchild handler set
             lxc 1451469601.523 INFO     lxc_start - 
start.c:lxc_init:474 - 'centos' is initialized
             lxc 1451469601.523 INFO     lxc_confile - 
confile.c:config_idmap:1437 - read uid map: type u nsid 0 hostid 1000000 
range 100000
             lxc 1451469601.523 INFO     lxc_confile - 
confile.c:config_idmap:1437 - read uid map: type g nsid 0 hostid 1000000 
range 100000
             lxc 1451469601.523 DEBUG    lxc_start - 
start.c:__lxc_start:1186 - Not dropping cap_sys_boot or watching utmp
             lxc 1451469601.524 INFO     lxc_start - 
start.c:resolve_clone_flags:883 - Cloning a new user namespace
             lxc 1451469601.529 DEBUG    lxc_conf - 
conf.c:instantiate_veth:2821 - instantiated veth 
'vethH48NTL/vethOCHU0Q', index is '7'
             lxc 1451469601.529 INFO     lxc_cgroup - 
cgroup.c:cgroup_init:65 - cgroup driver cgmanager initing for centos
             lxc 1451469601.563 INFO     lxc_cgmanager - 
cgmanager.c:cgm_setup_limits:1398 - cgroup limits have been setup
             lxc 1451469601.597 DEBUG    lxc_conf - 
conf.c:lxc_assign_network:3238 - move 'eth0' to '28152'
             lxc 1451469601.597 NOTICE   lxc_start - 
start.c:do_start:699 - switching to gid/uid 0 in new user namespace
             lxc 1451469601.599 DEBUG    lxc_conf - 
conf.c:setup_rootfs:1295 - mounted 
'/var/lib/lxd/containers/centos/rootfs' on '/usr/lib/x86_64-linux-gnu/lxc'
             lxc 1451469601.599 INFO     lxc_conf - 
conf.c:setup_utsname:928 - 'centos' hostname has been setup
             lxc 1451469601.617 DEBUG    lxc_conf - 
conf.c:setup_hw_addr:2368 - mac address '00:16:3e:9a:c2:87' on 'eth0' 
has been setup
             lxc 1451469601.617 DEBUG    lxc_conf - 
conf.c:setup_netdev:2595 - 'eth0' has been setup
             lxc 1451469601.617 INFO     lxc_conf - 
conf.c:setup_network:2616 - network has been setup
             lxc 1451469601.617 INFO     lxc_conf - 
conf.c:mount_autodev:1157 - Mounting container /dev
             lxc 1451469601.617 INFO     lxc_conf - 
conf.c:mount_autodev:1179 - Mounted tmpfs onto 
/usr/lib/x86_64-linux-gnu/lxc/dev
             lxc 1451469601.617 INFO     lxc_conf - 
conf.c:mount_autodev:1197 - Mounted container /dev
             lxc 1451469601.618 DEBUG    lxc_conf - 
conf.c:mount_entry:1738 - remounting /sys/fs/fuse/connections on 
/usr/lib/x86_64-linux-gnu/lxc/sys/fs/fuse/connections to respect bind or 
remount options
             lxc 1451469601.618 DEBUG    lxc_conf - 
conf.c:mount_entry:1753 - (at remount) flags for 
/sys/fs/fuse/connections was 4096, required extra flags are 0
             lxc 1451469601.618 DEBUG    lxc_conf - 
conf.c:mount_entry:1762 - mountflags already was 4096, skipping remount
             lxc 1451469601.618 DEBUG    lxc_conf - 
conf.c:mount_entry:1788 - mounted '/sys/fs/fuse/connections' on 
'/usr/lib/x86_64-linux-gnu/lxc/sys/fs/fuse/connections', type 'none'
             lxc 1451469601.618 DEBUG    lxc_conf - 
conf.c:mount_entry:1738 - remounting /sys/kernel/debug on 
/usr/lib/x86_64-linux-gnu/lxc/sys/kernel/debug to respect bind or 
remount options
             lxc 1451469601.618 DEBUG    lxc_conf - 
conf.c:mount_entry:1753 - (at remount) flags for /sys/kernel/debug was 
4096, required extra flags are 0
             lxc 1451469601.618 DEBUG    lxc_conf - 
conf.c:mount_entry:1762 - mountflags already was 4096, skipping remount
             lxc 1451469601.618 DEBUG    lxc_conf - 
conf.c:mount_entry:1788 - mounted '/sys/kernel/debug' on 
'/usr/lib/x86_64-linux-gnu/lxc/sys/kernel/debug', type 'none'
             lxc 1451469601.618 DEBUG    lxc_conf - 
conf.c:mount_entry:1738 - remounting /sys/kernel/security on 
/usr/lib/x86_64-linux-gnu/lxc/sys/kernel/security to respect bind or 
remount options
             lxc 1451469601.618 DEBUG    lxc_conf - 
conf.c:mount_entry:1753 - (at remount) flags for /sys/kernel/security 
was 4110, required extra flags are 14
             lxc 1451469601.618 DEBUG    lxc_conf - 
conf.c:mount_entry:1788 - mounted '/sys/kernel/security' on 
'/usr/lib/x86_64-linux-gnu/lxc/sys/kernel/security', type 'none'
             lxc 1451469601.618 DEBUG    lxc_conf - 
conf.c:mount_entry:1738 - remounting /sys/fs/pstore on 
/usr/lib/x86_64-linux-gnu/lxc/sys/fs/pstore to respect bind or remount 
options
             lxc 1451469601.618 DEBUG    lxc_conf - 
conf.c:mount_entry:1753 - (at remount) flags for /sys/fs/pstore was 
4110, required extra flags are 14
             lxc 1451469601.618 DEBUG    lxc_conf - 
conf.c:mount_entry:1788 - mounted '/sys/fs/pstore' on 
'/usr/lib/x86_64-linux-gnu/lxc/sys/fs/pstore', type 'none'
             lxc 1451469601.618 DEBUG    lxc_conf - 
conf.c:mount_entry:1788 - mounted 'mqueue' on 
'/usr/lib/x86_64-linux-gnu/lxc/dev/mqueue', type 'mqueue'
             lxc 1451469601.618 DEBUG    lxc_conf - 
conf.c:mount_entry:1738 - remounting /dev/console on 
/usr/lib/x86_64-linux-gnu/lxc/dev/console to respect bind or remount options
             lxc 1451469601.618 DEBUG    lxc_conf - 
conf.c:mount_entry:1753 - (at remount) flags for /dev/console was 4098, 
required extra flags are 2
             lxc 1451469601.618 DEBUG    lxc_conf - 
conf.c:mount_entry:1788 - mounted '/dev/console' on 
'/usr/lib/x86_64-linux-gnu/lxc/dev/console', type 'none'
             lxc 1451469601.618 DEBUG    lxc_conf - 
conf.c:mount_entry:1738 - remounting /dev/full on 
/usr/lib/x86_64-linux-gnu/lxc/dev/full to respect bind or remount options
             lxc 1451469601.618 DEBUG    lxc_conf - 
conf.c:mount_entry:1753 - (at remount) flags for /dev/full was 4098, 
required extra flags are 2
             lxc 1451469601.618 DEBUG    lxc_conf - 
conf.c:mount_entry:1788 - mounted '/dev/full' on 
'/usr/lib/x86_64-linux-gnu/lxc/dev/full', type 'none'
             lxc 1451469601.618 DEBUG    lxc_conf - 
conf.c:mount_entry:1738 - remounting /dev/null on 
/usr/lib/x86_64-linux-gnu/lxc/dev/null to respect bind or remount options
             lxc 1451469601.618 DEBUG    lxc_conf - 
conf.c:mount_entry:1753 - (at remount) flags for /dev/null was 4098, 
required extra flags are 2
             lxc 1451469601.618 DEBUG    lxc_conf - 
conf.c:mount_entry:1788 - mounted '/dev/null' on 
'/usr/lib/x86_64-linux-gnu/lxc/dev/null', type 'none'
             lxc 1451469601.618 DEBUG    lxc_conf - 
conf.c:mount_entry:1738 - remounting /dev/random on 
/usr/lib/x86_64-linux-gnu/lxc/dev/random to respect bind or remount options
             lxc 1451469601.618 DEBUG    lxc_conf - 
conf.c:mount_entry:1753 - (at remount) flags for /dev/random was 4098, 
required extra flags are 2
             lxc 1451469601.618 DEBUG    lxc_conf - 
conf.c:mount_entry:1788 - mounted '/dev/random' on 
'/usr/lib/x86_64-linux-gnu/lxc/dev/random', type 'none'
             lxc 1451469601.618 DEBUG    lxc_conf - 
conf.c:mount_entry:1738 - remounting /dev/tty on 
/usr/lib/x86_64-linux-gnu/lxc/dev/tty to respect bind or remount options
             lxc 1451469601.618 DEBUG    lxc_conf - 
conf.c:mount_entry:1753 - (at remount) flags for /dev/tty was 4098, 
required extra flags are 2
             lxc 1451469601.618 DEBUG    lxc_conf - 
conf.c:mount_entry:1788 - mounted '/dev/tty' on 
'/usr/lib/x86_64-linux-gnu/lxc/dev/tty', type 'none'
             lxc 1451469601.618 DEBUG    lxc_conf - 
conf.c:mount_entry:1738 - remounting /dev/urandom on 
/usr/lib/x86_64-linux-gnu/lxc/dev/urandom to respect bind or remount options
             lxc 1451469601.618 DEBUG    lxc_conf - 
conf.c:mount_entry:1753 - (at remount) flags for /dev/urandom was 4098, 
required extra flags are 2
             lxc 1451469601.618 DEBUG    lxc_conf - 
conf.c:mount_entry:1788 - mounted '/dev/urandom' on 
'/usr/lib/x86_64-linux-gnu/lxc/dev/urandom', type 'none'
             lxc 1451469601.618 DEBUG    lxc_conf - 
conf.c:mount_entry:1738 - remounting /dev/zero on 
/usr/lib/x86_64-linux-gnu/lxc/dev/zero to respect bind or remount options
             lxc 1451469601.618 DEBUG    lxc_conf - 
conf.c:mount_entry:1753 - (at remount) flags for /dev/zero was 4098, 
required extra flags are 2
             lxc 1451469601.618 DEBUG    lxc_conf - 
conf.c:mount_entry:1788 - mounted '/dev/zero' on 
'/usr/lib/x86_64-linux-gnu/lxc/dev/zero', type 'none'
             lxc 1451469601.618 ERROR    lxc_utils - 
utils.c:open_without_symlink:1620 - No such file or directory - Error 
examining efi in /usr/lib/x86_64-linux-gnu/lxc/sys/firmware/efi/efivars
             lxc 1451469601.618 INFO     lxc_conf - 
conf.c:mount_entry:1727 - failed to mount '/sys/firmware/efi/efivars' on 
'/usr/lib/x86_64-linux-gnu/lxc/sys/firmware/efi/efivars' (optional): No 
such file or directory
             lxc 1451469601.630 DEBUG    lxc_conf - 
conf.c:mount_entry:1738 - remounting /proc/sys/fs/binfmt_misc on 
/usr/lib/x86_64-linux-gnu/lxc/proc/sys/fs/binfmt_misc to respect bind or 
remount options
             lxc 1451469601.630 DEBUG    lxc_conf - 
conf.c:mount_entry:1753 - (at remount) flags for 
/proc/sys/fs/binfmt_misc was 4096, required extra flags are 0
             lxc 1451469601.630 DEBUG    lxc_conf - 
conf.c:mount_entry:1762 - mountflags already was 4096, skipping remount
             lxc 1451469601.630 DEBUG    lxc_conf - 
conf.c:mount_entry:1788 - mounted '/proc/sys/fs/binfmt_misc' on 
'/usr/lib/x86_64-linux-gnu/lxc/proc/sys/fs/binfmt_misc', type 'none'
             lxc 1451469601.630 DEBUG    lxc_conf - 
conf.c:mount_entry:1738 - remounting /var/lib/lxd/devlxd on 
/usr/lib/x86_64-linux-gnu/lxc/dev/lxd to respect bind or remount options
             lxc 1451469601.630 DEBUG    lxc_conf - 
conf.c:mount_entry:1753 - (at remount) flags for /var/lib/lxd/devlxd was 
4096, required extra flags are 0
             lxc 1451469601.630 DEBUG    lxc_conf - 
conf.c:mount_entry:1762 - mountflags already was 4096, skipping remount
             lxc 1451469601.630 DEBUG    lxc_conf - 
conf.c:mount_entry:1788 - mounted '/var/lib/lxd/devlxd' on 
'/usr/lib/x86_64-linux-gnu/lxc/dev/lxd', type 'none'
             lxc 1451469601.631 DEBUG    lxc_conf - 
conf.c:mount_entry:1738 - remounting /var/lib/lxd/shmounts/centos on 
/usr/lib/x86_64-linux-gnu/lxc/dev/.lxd-mounts to respect bind or remount 
options
             lxc 1451469601.631 DEBUG    lxc_conf - 
conf.c:mount_entry:1753 - (at remount) flags for 
/var/lib/lxd/shmounts/centos was 4096, required extra flags are 0
             lxc 1451469601.631 DEBUG    lxc_conf - 
conf.c:mount_entry:1762 - mountflags already was 4096, skipping remount
             lxc 1451469601.631 DEBUG    lxc_conf - 
conf.c:mount_entry:1788 - mounted '/var/lib/lxd/shmounts/centos' on 
'/usr/lib/x86_64-linux-gnu/lxc/dev/.lxd-mounts', type 'none'
             lxc 1451469601.631 INFO     lxc_conf - 
conf.c:mount_file_entries:2150 - mount points have been setup
             lxc 1451469601.631 INFO     lxc_conf - 
conf.c:fill_autodev:1225 - Creating initial consoles under container /dev
             lxc 1451469601.631 INFO     lxc_conf - 
conf.c:fill_autodev:1236 - Populating container /dev
             lxc 1451469601.631 INFO     lxc_conf - 
conf.c:fill_autodev:1269 - Populated container /dev
             lxc 1451469601.631 INFO     lxc_conf - 
conf.c:setup_dev_console:1498 - no console
             lxc 1451469601.631 INFO     lxc_utils - 
utils.c:mount_proc_if_needed:1718 - I am 1, /proc/self points to '1'
             lxc 1451469601.644 DEBUG    lxc_conf - 
conf.c:setup_rootfs_pivot_root:1135 - pivot_root syscall to 
'/usr/lib/x86_64-linux-gnu/lxc' successful
             lxc 1451469601.645 INFO     lxc_conf - 
conf.c:setup_tty:1080 - 0 tty(s) has been setup
             lxc 1451469601.645 INFO     lxc_conf - 
conf.c:setup_personality:1473 - set personality to '0x0'
             lxc 1451469601.645 DEBUG    lxc_conf - 
conf.c:setup_caps:2279 - drop capability 'mac_admin' (33)
             lxc 1451469601.645 DEBUG    lxc_conf - 
conf.c:setup_caps:2279 - drop capability 'mac_override' (32)
             lxc 1451469601.645 DEBUG    lxc_conf - 
conf.c:setup_caps:2279 - drop capability 'sys_time' (25)
             lxc 1451469601.645 DEBUG    lxc_conf - 
conf.c:setup_caps:2279 - drop capability 'sys_module' (16)
             lxc 1451469601.645 DEBUG    lxc_conf - 
conf.c:setup_caps:2288 - capabilities have been setup
             lxc 1451469601.645 NOTICE   lxc_conf - 
conf.c:lxc_setup:4026 - 'centos' is setup.
             lxc 1451469601.645 DEBUG    lxc_cgmanager - 
cgmanager.c:cgm_setup_limits:1394 - cgroup 'devices.deny' set to 'c 5:1 rwm'
             lxc 1451469601.645 INFO     lxc_cgmanager - 
cgmanager.c:cgm_setup_limits:1398 - cgroup limits have been setup
             lxc 1451469601.645 INFO     lxc_apparmor - 
lsm/apparmor.c:apparmor_process_label_set:187 - changed apparmor profile 
to lxd-centos_</var/lib/lxd>
             lxc 1451469601.646 NOTICE   lxc_start - start.c:start:1295 
- exec'ing '/sbin/init'
             lxc 1451469601.650 NOTICE   lxc_start - 
start.c:post_start:1306 - '/sbin/init' started with pid '28152'
             lxc 1451469601.650 INFO     lxc_console - 
console.c:lxc_console_mainloop_add:285 - no console
             lxc 1451469601.650 WARN     lxc_start - 
start.c:signal_handler:326 - invalid pid for SIGCHLD
             lxc 1451469601.650 DEBUG    lxc_commands - 
commands.c:lxc_cmd_handler:893 - peer has disconnected
             lxc 1451469601.650 DEBUG    lxc_commands - 
commands.c:lxc_cmd_handler:893 - peer has disconnected
             lxc 1451469601.652 DEBUG    lxc_commands - 
commands.c:lxc_cmd_handler:893 - peer has disconnected
             lxc 1451469601.652 DEBUG    lxc_commands - 
commands.c:lxc_cmd_get_state:579 - 'centos' is in 'RUNNING' state
             lxc 1451469601.653 DEBUG    lxc_commands - 
commands.c:lxc_cmd_get_state:579 - 'centos' is in 'RUNNING' state
             lxc 1451469601.653 DEBUG    lxc_commands - 
commands.c:lxc_cmd_handler:893 - peer has disconnected
             lxc 1451469601.655 DEBUG    lxc_commands - 
commands.c:lxc_cmd_handler:893 - peer has disconnected
             lxc 1451469601.657 DEBUG    lxc_commands - 
commands.c:lxc_cmd_get_state:579 - 'centos' is in 'RUNNING' state
             lxc 1451469601.657 DEBUG    lxc_commands - 
commands.c:lxc_cmd_handler:893 - peer has disconnected
             lxc 1451469601.658 DEBUG    lxc_commands - 
commands.c:lxc_cmd_handler:893 - peer has disconnected
             lxc 1451469601.660 DEBUG    lxc_commands - 
commands.c:lxc_cmd_handler:893 - peer has disconnected
             lxc 1451469601.660 DEBUG    lxc_commands - 
commands.c:lxc_cmd_get_state:579 - 'centos' is in 'RUNNING' state
             lxc 1451469601.661 DEBUG    lxc_commands - 
commands.c:lxc_cmd_handler:893 - peer has disconnected
             lxc 1451469740.118 INFO     lxc_confile - 
confile.c:config_idmap:1437 - read uid map: type u nsid 0 hostid 1000000 
range 100000
             lxc 1451469740.118 INFO     lxc_confile - 
confile.c:config_idmap:1437 - read uid map: type g nsid 0 hostid 1000000 
range 100000
             lxc 1451469740.120 DEBUG    lxc_commands - 
commands.c:lxc_cmd_handler:893 - peer has disconnected
             lxc 1451469740.122 DEBUG    lxc_commands - 
commands.c:lxc_cmd_get_state:579 - 'centos' is in 'RUNNING' state
             lxc 1451469740.122 DEBUG    lxc_commands - 
commands.c:lxc_cmd_handler:893 - peer has disconnected
             lxc 1451469740.123 DEBUG    lxc_commands - 
commands.c:lxc_cmd_handler:893 - peer has disconnected
             lxc 1451469740.124 DEBUG    lxc_commands - 
commands.c:lxc_cmd_handler:893 - peer has disconnected
             lxc 1451469740.124 DEBUG    lxc_commands - 
commands.c:lxc_cmd_get_state:579 - 'centos' is in 'RUNNING' state
             lxc 1451469740.125 DEBUG    lxc_commands - 
commands.c:lxc_cmd_handler:893 - peer has disconnected
             lxc 1451469740.125 DEBUG    lxc_commands - 
commands.c:lxc_cmd_handler:893 - peer has disconnected
             lxc 1451469740.126 DEBUG    lxc_commands - 
commands.c:lxc_cmd_handler:893 - peer has disconnected
             lxc 1451469740.129 DEBUG    lxc_commands - 
commands.c:lxc_cmd_get_state:579 - 'centos' is in 'RUNNING' state
             lxc 1451469740.129 DEBUG    lxc_commands - 
commands.c:lxc_cmd_handler:893 - peer has disconnected
             lxc 1451469740.130 DEBUG    lxc_commands - 
commands.c:lxc_cmd_handler:893 - peer has disconnected
             lxc 1451469740.132 DEBUG    lxc_commands - 
commands.c:lxc_cmd_handler:893 - peer has disconnected
             lxc 1451469740.132 DEBUG    lxc_commands - 
commands.c:lxc_cmd_get_state:579 - 'centos' is in 'RUNNING' state
             lxc 1451469740.133 DEBUG    lxc_commands - 
commands.c:lxc_cmd_handler:893 - peer has disconnected
             lxc 1451469740.134 DEBUG    lxc_commands - 
commands.c:lxc_cmd_handler:893 - peer has disconnected
             lxc 1451469740.136 DEBUG    lxc_commands - 
commands.c:lxc_cmd_handler:893 - peer has disconnected
             lxc 1451469740.136 DEBUG    lxc_commands - 
commands.c:lxc_cmd_get_state:579 - 'centos' is in 'RUNNING' state
             lxc 1451469740.137 DEBUG    lxc_commands - 
commands.c:lxc_cmd_handler:893 - peer has disconnected
             lxc 1451469740.140 DEBUG    lxc_commands - 
commands.c:lxc_cmd_handler:893 - peer has disconnected
             lxc 1451469740.142 DEBUG    lxc_commands - 
commands.c:lxc_cmd_handler:893 - peer has disconnected
             lxc 1451469740.142 DEBUG    lxc_commands - 
commands.c:lxc_cmd_get_state:579 - 'centos' is in 'RUNNING' state
             lxc 1451469740.143 DEBUG    lxc_commands - 
commands.c:lxc_cmd_handler:893 - peer has disconnected
             lxc 1451469740.148 DEBUG    lxc_commands - 
commands.c:lxc_cmd_handler:893 - peer has disconnected



If it's a bug, I would submit a github issue, but I'm not sure.


tamas


tamas


More information about the lxc-users mailing list