Hello,
I was opening my containers in lxc and I received this error when trying this command:
lxc-start -lDEBUG -o /root/prueba2.log -F -n 128
lxc-start 20161117000148.310 INFO lxc_start_ui - tools/lxc_start.c:main:264 - using rcfile /var/lib/lxc/128/config
lxc-start 20161117000148.310 WARN lxc_confile - confile.c:config_pivotdir:1879 - lxc.pivotdir is ignored. It will soon become an error.
lxc-start 20161117000148.311 INFO lxc_lsm - lsm/lsm.c:lsm_init:48 - LSM security driver AppArmor
lxc-start 20161117000148.311 INFO lxc_seccomp - seccomp.carse_config_v2:411 - processing: .reject_force_umount # comment this to allow umount -f; not recommended.
lxc-start 20161117000148.311 INFO lxc_seccomp - seccomp.carse_config_v2:576 - Adding native rule for reject_force_umount action 0.
lxc-start 20161117000148.311 INFO lxc_seccomp - seccomp.c:do_resolve_add_rule:251 - Setting Seccomp rule to reject force umounts.
lxc-start 20161117000148.311 INFO lxc_seccomp - seccomp.carse_config_v2:579 - Adding compat rule for reject_force_umount action 0.
lxc-start 20161117000148.311 INFO lxc_seccomp - seccomp.c:do_resolve_add_rule:251 - Setting Seccomp rule to reject force umounts.
lxc-start 20161117000148.311 INFO lxc_seccomp - seccomp.carse_config_v2:411 - processing: .[all].
lxc-start 20161117000148.311 INFO lxc_seccomp - seccomp.carse_config_v2:411 - processing: .kexec_load errno 1.
lxc-start 20161117000148.311 INFO lxc_seccomp - seccomp.carse_config_v2:576 - Adding native rule for kexec_load action 327681.
lxc-start 20161117000148.311 INFO lxc_seccomp - seccomp.carse_config_v2:579 - Adding compat rule for kexec_load action 327681.
lxc-start 20161117000148.311 INFO lxc_seccomp - seccomp.carse_config_v2:411 - processing: .open_by_handle_at errno 1.
lxc-start 20161117000148.311 INFO lxc_seccomp - seccomp.carse_config_v2:576 - Adding native rule for open_by_handle_at action 327681.
lxc-start 20161117000148.311 INFO lxc_seccomp - seccomp.carse_config_v2:579 - Adding compat rule for open_by_handle_at action 327681.
lxc-start 20161117000148.311 INFO lxc_seccomp - seccomp.carse_config_v2:411 - processing: .init_module errno 1.
lxc-start 20161117000148.311 INFO lxc_seccomp - seccomp.carse_config_v2:576 - Adding native rule for init_module action 327681.
lxc-start 20161117000148.311 INFO lxc_seccomp - seccomp.carse_config_v2:579 - Adding compat rule for init_module action 327681.
lxc-start 20161117000148.311 INFO lxc_seccomp - seccomp.carse_config_v2:411 - processing: .finit_module errno 1.
lxc-start 20161117000148.311 INFO lxc_seccomp - seccomp.carse_config_v2:576 - Adding native rule for finit_module action 327681.
lxc-start 20161117000148.311 WARN lxc_seccomp - seccomp.c:do_resolve_add_rule:270 - Seccomp: got negative for syscall: -10085: finit_module.
lxc-start 20161117000148.311 WARN lxc_seccomp - seccomp.c:do_resolve_add_rule:271 - This syscall will NOT be blacklisted.
lxc-start 20161117000148.311 INFO lxc_seccomp - seccomp.carse_config_v2:579 - Adding compat rule for finit_module action 327681.
lxc-start 20161117000148.311 WARN lxc_seccomp - seccomp.c:do_resolve_add_rule:270 - Seccomp: got negative for syscall: -10085: finit_module.
lxc-start 20161117000148.311 WARN lxc_seccomp - seccomp.c:do_resolve_add_rule:271 - This syscall will NOT be blacklisted.
lxc-start 20161117000148.311 INFO lxc_seccomp - seccomp.carse_config_v2:411 - processing: .delete_module errno 1.
lxc-start 20161117000148.311 INFO lxc_seccomp - seccomp.carse_config_v2:576 - Adding native rule for delete_module action 327681.
lxc-start 20161117000148.311 INFO lxc_seccomp - seccomp.carse_config_v2:579 - Adding compat rule for delete_module action 327681.
lxc-start 20161117000148.311 INFO lxc_seccomp - seccomp.carse_config_v2:589 - Merging in the compat Seccomp ctx into the main one.
lxc-start 20161117000148.311 INFO lxc_conf - conf.c:run_script_argv:367 - Executing script '/usr/share/lxc/hooks/lxc-pve-prestart-hook' for container '128', config section 'lxc'
lxc-start 20161117000148.718 ERROR lxc_conf - conf.c:run_buffer:347 - Script exited with status 24
lxc-start 20161117000148.718 ERROR lxc_start - start.c:lxc_init:465 - failed to run pre-start hooks for container '128'.
lxc-start 20161117000148.718 ERROR lxc_start - start.c:__lxc_start:1313 - failed to initialize the container
lxc-start 20161117000148.718 ERROR lxc_start_ui - tools/lxc_start.c:main:344 - The container failed to start.
lxc-start 20161117000148.718 ERROR lxc_start_ui - tools/lxc_start.c:main:348 - Additional information can be obtained by setting the --logfile and --logpriority options.
I tried that command because I could not get the container working through the interface:
()
Task viewer: CT 124 - Start
OutputStatus
Stop
lxc-start: tools/lxc_start.c: main: 344 The container failed to start.
lxc-start: tools/lxc_start.c: main: 346 To get more details, run the container in foreground mode.
lxc-start: tools/lxc_start.c: main: 348 Additional information can be obtained by setting the --logfile and --logpriority options.
TASK ERROR: command 'lxc-start -n 124' failed: exit code 1
Waiting your answer,
Pedro
I was opening my containers in lxc and I received this error when trying this command:
lxc-start -lDEBUG -o /root/prueba2.log -F -n 128
lxc-start 20161117000148.310 INFO lxc_start_ui - tools/lxc_start.c:main:264 - using rcfile /var/lib/lxc/128/config
lxc-start 20161117000148.310 WARN lxc_confile - confile.c:config_pivotdir:1879 - lxc.pivotdir is ignored. It will soon become an error.
lxc-start 20161117000148.311 INFO lxc_lsm - lsm/lsm.c:lsm_init:48 - LSM security driver AppArmor
lxc-start 20161117000148.311 INFO lxc_seccomp - seccomp.carse_config_v2:411 - processing: .reject_force_umount # comment this to allow umount -f; not recommended.
lxc-start 20161117000148.311 INFO lxc_seccomp - seccomp.carse_config_v2:576 - Adding native rule for reject_force_umount action 0.
lxc-start 20161117000148.311 INFO lxc_seccomp - seccomp.c:do_resolve_add_rule:251 - Setting Seccomp rule to reject force umounts.
lxc-start 20161117000148.311 INFO lxc_seccomp - seccomp.carse_config_v2:579 - Adding compat rule for reject_force_umount action 0.
lxc-start 20161117000148.311 INFO lxc_seccomp - seccomp.c:do_resolve_add_rule:251 - Setting Seccomp rule to reject force umounts.
lxc-start 20161117000148.311 INFO lxc_seccomp - seccomp.carse_config_v2:411 - processing: .[all].
lxc-start 20161117000148.311 INFO lxc_seccomp - seccomp.carse_config_v2:411 - processing: .kexec_load errno 1.
lxc-start 20161117000148.311 INFO lxc_seccomp - seccomp.carse_config_v2:576 - Adding native rule for kexec_load action 327681.
lxc-start 20161117000148.311 INFO lxc_seccomp - seccomp.carse_config_v2:579 - Adding compat rule for kexec_load action 327681.
lxc-start 20161117000148.311 INFO lxc_seccomp - seccomp.carse_config_v2:411 - processing: .open_by_handle_at errno 1.
lxc-start 20161117000148.311 INFO lxc_seccomp - seccomp.carse_config_v2:576 - Adding native rule for open_by_handle_at action 327681.
lxc-start 20161117000148.311 INFO lxc_seccomp - seccomp.carse_config_v2:579 - Adding compat rule for open_by_handle_at action 327681.
lxc-start 20161117000148.311 INFO lxc_seccomp - seccomp.carse_config_v2:411 - processing: .init_module errno 1.
lxc-start 20161117000148.311 INFO lxc_seccomp - seccomp.carse_config_v2:576 - Adding native rule for init_module action 327681.
lxc-start 20161117000148.311 INFO lxc_seccomp - seccomp.carse_config_v2:579 - Adding compat rule for init_module action 327681.
lxc-start 20161117000148.311 INFO lxc_seccomp - seccomp.carse_config_v2:411 - processing: .finit_module errno 1.
lxc-start 20161117000148.311 INFO lxc_seccomp - seccomp.carse_config_v2:576 - Adding native rule for finit_module action 327681.
lxc-start 20161117000148.311 WARN lxc_seccomp - seccomp.c:do_resolve_add_rule:270 - Seccomp: got negative for syscall: -10085: finit_module.
lxc-start 20161117000148.311 WARN lxc_seccomp - seccomp.c:do_resolve_add_rule:271 - This syscall will NOT be blacklisted.
lxc-start 20161117000148.311 INFO lxc_seccomp - seccomp.carse_config_v2:579 - Adding compat rule for finit_module action 327681.
lxc-start 20161117000148.311 WARN lxc_seccomp - seccomp.c:do_resolve_add_rule:270 - Seccomp: got negative for syscall: -10085: finit_module.
lxc-start 20161117000148.311 WARN lxc_seccomp - seccomp.c:do_resolve_add_rule:271 - This syscall will NOT be blacklisted.
lxc-start 20161117000148.311 INFO lxc_seccomp - seccomp.carse_config_v2:411 - processing: .delete_module errno 1.
lxc-start 20161117000148.311 INFO lxc_seccomp - seccomp.carse_config_v2:576 - Adding native rule for delete_module action 327681.
lxc-start 20161117000148.311 INFO lxc_seccomp - seccomp.carse_config_v2:579 - Adding compat rule for delete_module action 327681.
lxc-start 20161117000148.311 INFO lxc_seccomp - seccomp.carse_config_v2:589 - Merging in the compat Seccomp ctx into the main one.
lxc-start 20161117000148.311 INFO lxc_conf - conf.c:run_script_argv:367 - Executing script '/usr/share/lxc/hooks/lxc-pve-prestart-hook' for container '128', config section 'lxc'
lxc-start 20161117000148.718 ERROR lxc_conf - conf.c:run_buffer:347 - Script exited with status 24
lxc-start 20161117000148.718 ERROR lxc_start - start.c:lxc_init:465 - failed to run pre-start hooks for container '128'.
lxc-start 20161117000148.718 ERROR lxc_start - start.c:__lxc_start:1313 - failed to initialize the container
lxc-start 20161117000148.718 ERROR lxc_start_ui - tools/lxc_start.c:main:344 - The container failed to start.
lxc-start 20161117000148.718 ERROR lxc_start_ui - tools/lxc_start.c:main:348 - Additional information can be obtained by setting the --logfile and --logpriority options.
I tried that command because I could not get the container working through the interface:
()
Task viewer: CT 124 - Start
OutputStatus
Stop
lxc-start: tools/lxc_start.c: main: 344 The container failed to start.
lxc-start: tools/lxc_start.c: main: 346 To get more details, run the container in foreground mode.
lxc-start: tools/lxc_start.c: main: 348 Additional information can be obtained by setting the --logfile and --logpriority options.
TASK ERROR: command 'lxc-start -n 124' failed: exit code 1
Waiting your answer,
Pedro