[lxc-users] lxc-start failed

E QW eqw2020 at yandex.com
Sat Oct 17 15:12:07 UTC 2020


Host OS is Ubuntu 20.04.1, kernel 5.8.0-23

#  lxc-start --version
4.0.2
#  lxcfs --version
4.0.3

Guest OS is Ubuntu 20.04.1

This was my first container on this Ubuntu version created with this 
command:
lxc-create -t download -n eqw -- -d ubuntu -r focal -a amd64
It haven't worked since the outset.

On 10/17/2020 7:07 AM, Narcis Garcia wrote:
> For any issue report, you should include context information, such as:
> - Host OS and version
> - LXC version
> - Guest OS and version
> - What's the difference when your container worked.
> (etc.)
>
>
> Narcis Garcia
>
> __________
> I'm using this dedicated address because personal addresses aren't
> masked enough at this mail public archive. Public archive administrator
> should fix this against automated addresses collectors.
> El 16/10/20 a les 22:17, E QW ha escrit:
>> Hello,
>>   
>> My container doesn't start
>> How to troubleshoot this?
>>   
>> Thanks
>>   
>> lxc-start eqw 20201014234634.208 INFO     lsm - lsm/lsm.c:lsm_init:29 -
>> LSM security driver AppArmor
>> lxc-start eqw 20201014234634.209 INFO     seccomp -
>> seccomp.c:parse_config_v2:770 - Processing "reject_force_umount  #
>> comment this to allow umount -f;  not recommended"
>> lxc-start eqw 20201014234634.209 INFO     seccomp -
>> seccomp.c:do_resolve_add_rule:516 - Set seccomp rule to reject force umounts
>> lxc-start eqw 20201014234634.209 INFO     seccomp -
>> seccomp.c:parse_config_v2:965 - Added native rule for arch 0 for
>> reject_force_umount action 0(kill)
>> lxc-start eqw 20201014234634.209 INFO     seccomp -
>> seccomp.c:do_resolve_add_rule:516 - Set seccomp rule to reject force umounts
>> lxc-start eqw 20201014234634.209 INFO     seccomp -
>> seccomp.c:parse_config_v2:974 - Added compat rule for arch 1073741827
>> for reject_force_umount action 0(kill)
>> lxc-start eqw 20201014234634.209 INFO     seccomp -
>> seccomp.c:do_resolve_add_rule:516 - Set seccomp rule to reject force umounts
>> lxc-start eqw 20201014234634.209 INFO     seccomp -
>> seccomp.c:parse_config_v2:984 - Added compat rule for arch 1073741886
>> for reject_force_umount action 0(kill)
>> lxc-start eqw 20201014234634.209 INFO     seccomp -
>> seccomp.c:do_resolve_add_rule:516 - Set seccomp rule to reject force umounts
>> lxc-start eqw 20201014234634.209 INFO     seccomp -
>> seccomp.c:parse_config_v2:994 - Added native rule for arch -1073741762
>> for reject_force_umount action 0(kill)
>> lxc-start eqw 20201014234634.209 INFO     seccomp -
>> seccomp.c:parse_config_v2:770 - Processing "[all]"
>> lxc-start eqw 20201014234634.209 INFO     seccomp -
>> seccomp.c:parse_config_v2:770 - Processing "kexec_load errno 1"
>> lxc-start eqw 20201014234634.209 INFO     seccomp -
>> seccomp.c:parse_config_v2:965 - Added native rule for arch 0 for
>> kexec_load action 327681(errno)
>> lxc-start eqw 20201014234634.209 INFO     seccomp -
>> seccomp.c:parse_config_v2:974 - Added compat rule for arch 1073741827
>> for kexec_load action 327681(errno)
>> lxc-start eqw 20201014234634.209 INFO     seccomp -
>> seccomp.c:parse_config_v2:984 - Added compat rule for arch 1073741886
>> for kexec_load action 327681(errno)
>> lxc-start eqw 20201014234634.209 INFO     seccomp -
>> seccomp.c:parse_config_v2:994 - Added native rule for arch -1073741762
>> for kexec_load action 327681(errno)
>> lxc-start eqw 20201014234634.209 INFO     seccomp -
>> seccomp.c:parse_config_v2:770 - Processing "open_by_handle_at errno 1"
>> lxc-start eqw 20201014234634.209 INFO     seccomp -
>> seccomp.c:parse_config_v2:965 - Added native rule for arch 0 for
>> open_by_handle_at action 327681(errno)
>> lxc-start eqw 20201014234634.209 INFO     seccomp -
>> seccomp.c:parse_config_v2:974 - Added compat rule for arch 1073741827
>> for open_by_handle_at action 327681(errno)
>> lxc-start eqw 20201014234634.209 INFO     seccomp -
>> seccomp.c:parse_config_v2:984 - Added compat rule for arch 1073741886
>> for open_by_handle_at action 327681(errno)
>> lxc-start eqw 20201014234634.210 INFO     seccomp -
>> seccomp.c:parse_config_v2:994 - Added native rule for arch -1073741762
>> for open_by_handle_at action 327681(errno)
>> lxc-start eqw 20201014234634.210 INFO     seccomp -
>> seccomp.c:parse_config_v2:770 - Processing "init_module errno 1"
>> lxc-start eqw 20201014234634.210 INFO     seccomp -
>> seccomp.c:parse_config_v2:965 - Added native rule for arch 0 for
>> init_module action 327681(errno)
>> lxc-start eqw 20201014234634.210 INFO     seccomp -
>> seccomp.c:parse_config_v2:974 - Added compat rule for arch 1073741827
>> for init_module action 327681(errno)
>> lxc-start eqw 20201014234634.210 INFO     seccomp -
>> seccomp.c:parse_config_v2:984 - Added compat rule for arch 1073741886
>> for init_module action 327681(errno)
>> lxc-start eqw 20201014234634.210 INFO     seccomp -
>> seccomp.c:parse_config_v2:994 - Added native rule for arch -1073741762
>> for init_module action 327681(errno)
>> lxc-start eqw 20201014234634.210 INFO     seccomp -
>> seccomp.c:parse_config_v2:770 - Processing "finit_module errno 1"
>> lxc-start eqw 20201014234634.210 INFO     seccomp -
>> seccomp.c:parse_config_v2:965 - Added native rule for arch 0 for
>> finit_module action 327681(errno)
>> lxc-start eqw 20201014234634.210 INFO     seccomp -
>> seccomp.c:parse_config_v2:974 - Added compat rule for arch 1073741827
>> for finit_module action 327681(errno)
>> lxc-start eqw 20201014234634.210 INFO     seccomp -
>> seccomp.c:parse_config_v2:984 - Added compat rule for arch 1073741886
>> for finit_module action 327681(errno)
>> lxc-start eqw 20201014234634.210 INFO     seccomp -
>> seccomp.c:parse_config_v2:994 - Added native rule for arch -1073741762
>> for finit_module action 327681(errno)
>> lxc-start eqw 20201014234634.210 INFO     seccomp -
>> seccomp.c:parse_config_v2:770 - Processing "delete_module errno 1"
>> lxc-start eqw 20201014234634.210 INFO     seccomp -
>> seccomp.c:parse_config_v2:965 - Added native rule for arch 0 for
>> delete_module action 327681(errno)
>> lxc-start eqw 20201014234634.210 INFO     seccomp -
>> seccomp.c:parse_config_v2:974 - Added compat rule for arch 1073741827
>> for delete_module action 327681(errno)
>> lxc-start eqw 20201014234634.210 INFO     seccomp -
>> seccomp.c:parse_config_v2:984 - Added compat rule for arch 1073741886
>> for delete_module action 327681(errno)
>> lxc-start eqw 20201014234634.210 INFO     seccomp -
>> seccomp.c:parse_config_v2:994 - Added native rule for arch -1073741762
>> for delete_module action 327681(errno)
>> lxc-start eqw 20201014234634.210 INFO     seccomp -
>> seccomp.c:parse_config_v2:1000 - Merging compat seccomp contexts into
>> main context
>> lxc-start eqw 20201014234634.210 INFO     start - start.c:lxc_init:850 -
>> Container "eqw" is initialized
>> lxc-start eqw 20201014234634.210 WARN     cgfsng -
>> cgroups/cgfsng.c:cgroup_tree_create:1157 - Success - The
>> /sys/fs/cgroup/unified//lxc.monitor.eqw cgroup already existed
>> lxc-start eqw 20201014234634.210 ERROR    cgfsng -
>> cgroups/cgfsng.c:cgfsng_monitor_create:1264 - Failed to create cgroup
>> "(null)"
>> lxc-start eqw 20201014234634.226 ERROR    cgfsng -
>> cgroups/cgfsng.c:mkdir_eexist_on_last:1143 - File exists - Failed to
>> create directory "/sys/fs/cgroup/cpuset//lxc.monitor.eqw-1"
>> lxc-start eqw 20201014234634.226 INFO     cgfsng -
>> cgroups/cgfsng.c:cgfsng_monitor_create:1277 - The monitor process uses
>> "lxc.monitor.eqw-1" as cgroup
>> lxc-start eqw 20201014234634.227 ERROR    cgfsng -
>> cgroups/cgfsng.c:mkdir_eexist_on_last:1143 - File exists - Failed to
>> create directory "/sys/fs/cgroup/cpuset//lxc.payload.eqw"
>> lxc-start eqw 20201014234634.228 INFO     cgfsng -
>> cgroups/cgfsng.c:cgfsng_payload_create:1356 - The container process uses
>> "lxc.payload.eqw" as cgroup
>> lxc-start eqw 20201014234634.228 INFO     start - start.c:lxc_spawn:1664
>> - Cloned CLONE_NEWNS
>> lxc-start eqw 20201014234634.228 INFO     start - start.c:lxc_spawn:1664
>> - Cloned CLONE_NEWPID
>> lxc-start eqw 20201014234634.228 INFO     start - start.c:lxc_spawn:1664
>> - Cloned CLONE_NEWUTS
>> lxc-start eqw 20201014234634.228 INFO     start - start.c:lxc_spawn:1664
>> - Cloned CLONE_NEWIPC
>> lxc-start eqw 20201014234634.228 INFO     start - start.c:lxc_spawn:1664
>> - Cloned CLONE_NEWNET
>> lxc-start eqw 20201014234634.229 INFO     cgfsng -
>> cgroups/cgfsng.c:cgfsng_setup_limits_legacy:2739 - Limits for the legacy
>> cgroup hierarchies have been setup
>> lxc-start eqw 20201014234634.230 INFO     network -
>> network.c:instantiate_veth:290 - Retrieved mtu 1500 from lxcbr0
>> lxc-start eqw 20201014234634.230 INFO     network -
>> network.c:instantiate_veth:334 - Attached "vethycwm4K" to bridge "lxcbr0"
>> lxc-start eqw 20201014234634.231 INFO     start - start.c:do_start:1211
>> - Unshared CLONE_NEWCGROUP
>> lxc-start eqw 20201014234634.231 INFO     conf -
>> conf.c:setup_utsname:751 - Set hostname to "eqw"
>> lxc-start eqw 20201014234634.258 INFO     network -
>> network.c:lxc_setup_network_in_child_namespaces:3560 - Network has been
>> setup
>> lxc-start eqw 20201014234634.258 INFO     conf -
>> conf.c:mount_autodev:1059 - Preparing "/dev"
>> lxc-start eqw 20201014234634.258 INFO     conf -
>> conf.c:mount_autodev:1108 - Prepared "/dev"
>> lxc-start eqw 20201014234634.259 INFO     conf -
>> conf.c:run_script_argv:339 - Executing script
>> "/usr/share/lxcfs/lxc.mount.hook" for container "eqw", config section "lxc"
>> lxc-start eqw 20201014234634.284 INFO     conf -
>> conf.c:lxc_fill_autodev:1152 - Populating "/dev"
>> lxc-start eqw 20201014234634.284 INFO     conf -
>> conf.c:lxc_fill_autodev:1222 - Populated "/dev"
>> lxc-start eqw 20201014234634.284 INFO     utils -
>> utils.c:lxc_mount_proc_if_needed:1200 - I am 1, /proc/self points to "1"
>> lxc-start eqw 20201014234634.285 INFO     conf -
>> conf.c:lxc_allocate_ttys:955 - Finished creating 4 tty devices
>> lxc-start eqw 20201014234634.285 INFO     conf -
>> conf.c:lxc_setup_ttys:900 - Finished setting up 4 /dev/tty<N> device(s)
>> lxc-start eqw 20201014234634.285 INFO     conf -
>> conf.c:setup_personality:1572 - Set personality to "0x0"
>> lxc-start eqw 20201014234634.285 NOTICE   conf - conf.c:lxc_setup:3433 -
>> The container "eqw" is set up
>> lxc-start eqw 20201014234634.285 ERROR    lsm -
>> lsm/lsm.c:lsm_process_label_set_at:153 - No such file or directory -
>> Failed to set AppArmor label "lxc-container-default-cgns"
>> lxc-start eqw 20201014234634.286 ERROR    apparmor -
>> lsm/apparmor.c:apparmor_process_label_set:1181 - Failed to change
>> AppArmor profile to lxc-container-default-cgns
>> lxc-start eqw 20201014234634.286 ERROR    sync - sync.c:__sync_wait:40 -
>> An error occurred in another process (expected sequence number 5)
>> lxc-start eqw 20201014234634.286 ERROR    start -
>> start.c:__lxc_start:1952 - Failed to spawn container "eqw"
>> lxc-start eqw 20201014234634.287 WARN     start - start.c:lxc_abort:1024
>> - No such process - Failed to send SIGKILL via pidfd 42 for process 9473
>> lxc-start eqw 20201014234634.315 INFO     conf -
>> conf.c:run_script_argv:339 - Executing script
>> "/usr/share/lxcfs/lxc.reboot.hook" for container "eqw", config section "lxc"
>> lxc-start eqw 20201014234634.818 ERROR    lxc_start -
>> tools/lxc_start.c:main:308 - The container failed to start
>> lxc-start eqw 20201014234634.818 ERROR    lxc_start -
>> tools/lxc_start.c:main:313 - Additional information can be obtained by
>> setting the --logfile and --logpriority options
>>   
>>   
>>
>> _______________________________________________
>> lxc-users mailing list
>> lxc-users at lists.linuxcontainers.org
>> http://lists.linuxcontainers.org/listinfo/lxc-users
>>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users




More information about the lxc-users mailing list