Will there be an LXC template for Fedora 30 soon? It was just released and Fedora 28 is now end-of-life.
root@node06:~# systemctl status pve-container@131.service
● pve-container@131.service - PVE LXC Container: 131
Loaded: loaded (/lib/systemd/system/pve-container@.service; static; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2019-05-02 11:55:16 CEST; 22s ago
Docs: man:lxc-start
man:lxc
man:pct
Process: 28571 ExecStop=/usr/share/lxc/pve-container-stop-wrapper 131 (code=exited, status=0/SUCCESS)
Process: 31269 ExecStart=/usr/bin/lxc-start -n 131 (code=exited, status=1/FAILURE)
Main PID: 19611 (code=exited, status=0/SUCCESS)
May 02 11:55:14 node06 systemd[1]: Starting PVE LXC Container: 131...
May 02 11:55:16 node06 lxc-start[31269]: lxc-start: 131: lxccontainer.c: wait_on_daemonized_start: 856 No such file or directory - Failed to receive the container state
May 02 11:55:16 node06 lxc-start[31269]: lxc-start: 131: tools/lxc_start.c: main: 330 The container failed to start
May 02 11:55:16 node06 lxc-start[31269]: lxc-start: 131: tools/lxc_start.c: main: 333 To get more details, run the container in foreground mode
May 02 11:55:16 node06 lxc-start[31269]: lxc-start: 131: tools/lxc_start.c: main: 336 Additional information can be obtained by setting the --logfile and --logpriority options
May 02 11:55:16 node06 systemd[1]: pve-container@131.service: Control process exited, code=exited status=1
May 02 11:55:16 node06 systemd[1]: Failed to start PVE LXC Container: 131.
May 02 11:55:16 node06 systemd[1]: pve-container@131.service: Unit entered failed state.
May 02 11:55:16 node06 systemd[1]: pve-container@131.service: Failed with result 'exit-code'.
lxc-start 131 20190506123549.928 INFO lsm - lsm/lsm.c:lsm_init:50 - LSM security driver AppArmor
lxc-start 131 20190506123549.928 INFO seccomp - seccomp.carse_config_v2:759 - Processing "reject_force_umount # comment this to allow umount -f; not recommended"
lxc-start 131 20190506123549.928 INFO seccomp - seccomp.c:do_resolve_add_rule:505 - Set seccomp rule to reject force umounts
lxc-start 131 20190506123549.928 INFO seccomp - seccomp.carse_config_v2:937 - Added native rule for arch 0 for reject_force_umount action 0(kill)
lxc-start 131 20190506123549.928 INFO seccomp - seccomp.c:do_resolve_add_rule:505 - Set seccomp rule to reject force umounts
lxc-start 131 20190506123549.928 INFO seccomp - seccomp.carse_config_v2:946 - Added compat rule for arch 1073741827 for reject_force_umount action 0(kill)
lxc-start 131 20190506123549.928 INFO seccomp - seccomp.c:do_resolve_add_rule:505 - Set seccomp rule to reject force umounts
lxc-start 131 20190506123549.928 INFO seccomp - seccomp.carse_config_v2:956 - Added compat rule for arch 1073741886 for reject_force_umount action 0(kill)
lxc-start 131 20190506123549.928 INFO seccomp - seccomp.c:do_resolve_add_rule:505 - Set seccomp rule to reject force umounts
lxc-start 131 20190506123549.928 INFO seccomp - seccomp.carse_config_v2:966 - Added native rule for arch -1073741762 for reject_force_umount action 0(kill)
lxc-start 131 20190506123549.928 INFO seccomp - seccomp.carse_config_v2:759 - Processing "[all]"
lxc-start 131 20190506123549.928 INFO seccomp - seccomp.carse_config_v2:759 - Processing "kexec_load errno 1"
lxc-start 131 20190506123549.928 INFO seccomp - seccomp.carse_config_v2:937 - Added native rule for arch 0 for kexec_load action 327681(errno)
lxc-start 131 20190506123549.928 INFO seccomp - seccomp.carse_config_v2:946 - Added compat rule for arch 1073741827 for kexec_load action 327681(errno)
lxc-start 131 20190506123549.928 INFO seccomp - seccomp.carse_config_v2:956 - Added compat rule for arch 1073741886 for kexec_load action 327681(errno)
lxc-start 131 20190506123549.928 INFO seccomp - seccomp.carse_config_v2:966 - Added native rule for arch -1073741762 for kexec_load action 327681(errno)
lxc-start 131 20190506123549.928 INFO seccomp - seccomp.carse_config_v2:759 - Processing "open_by_handle_at errno 1"
lxc-start 131 20190506123549.928 INFO seccomp - seccomp.carse_config_v2:937 - Added native rule for arch 0 for open_by_handle_at action 327681(errno)
lxc-start 131 20190506123549.928 INFO seccomp - seccomp.carse_config_v2:946 - Added compat rule for arch 1073741827 for open_by_handle_at action 327681(errno)
lxc-start 131 20190506123549.928 INFO seccomp - seccomp.carse_config_v2:956 - Added compat rule for arch 1073741886 for open_by_handle_at action 327681(errno)
lxc-start 131 20190506123549.928 INFO seccomp - seccomp.carse_config_v2:966 - Added native rule for arch -1073741762 for open_by_handle_at action 327681(errno)
lxc-start 131 20190506123549.928 INFO seccomp - seccomp.carse_config_v2:759 - Processing "init_module errno 1"
lxc-start 131 20190506123549.928 INFO seccomp - seccomp.carse_config_v2:937 - Added native rule for arch 0 for init_module action 327681(errno)
lxc-start 131 20190506123549.928 INFO seccomp - seccomp.carse_config_v2:946 - Added compat rule for arch 1073741827 for init_module action 327681(errno)
lxc-start 131 20190506123549.928 INFO seccomp - seccomp.carse_config_v2:956 - Added compat rule for arch 1073741886 for init_module action 327681(errno)
lxc-start 131 20190506123549.929 INFO seccomp - seccomp.carse_config_v2:966 - Added native rule for arch -1073741762 for init_module action 327681(errno)
lxc-start 131 20190506123549.929 INFO seccomp - seccomp.carse_config_v2:759 - Processing "finit_module errno 1"
lxc-start 131 20190506123549.929 INFO seccomp - seccomp.carse_config_v2:937 - Added native rule for arch 0 for finit_module action 327681(errno)
lxc-start 131 20190506123549.929 INFO seccomp - seccomp.carse_config_v2:946 - Added compat rule for arch 1073741827 for finit_module action 327681(errno)
lxc-start 131 20190506123549.929 INFO seccomp - seccomp.carse_config_v2:956 - Added compat rule for arch 1073741886 for finit_module action 327681(errno)
lxc-start 131 20190506123549.929 INFO seccomp - seccomp.carse_config_v2:966 - Added native rule for arch -1073741762 for finit_module action 327681(errno)
lxc-start 131 20190506123549.929 INFO seccomp - seccomp.carse_config_v2:759 - Processing "delete_module errno 1"
lxc-start 131 20190506123549.929 INFO seccomp - seccomp.carse_config_v2:937 - Added native rule for arch 0 for delete_module action 327681(errno)
lxc-start 131 20190506123549.929 INFO seccomp - seccomp.carse_config_v2:946 - Added compat rule for arch 1073741827 for delete_module action 327681(errno)
lxc-start 131 20190506123549.929 INFO seccomp - seccomp.carse_config_v2:956 - Added compat rule for arch 1073741886 for delete_module action 327681(errno)
lxc-start 131 20190506123549.929 INFO seccomp - seccomp.carse_config_v2:966 - Added native rule for arch -1073741762 for delete_module action 327681(errno)
lxc-start 131 20190506123549.929 INFO seccomp - seccomp.carse_config_v2:970 - Merging compat seccomp contexts into main context
lxc-start 131 20190506123549.929 INFO conf - conf.c:run_script_argv:356 - Executing script "/usr/share/lxc/hooks/lxc-pve-prestart-hook" for container "131", config section "lxc"
lxc-start 131 20190506123551.715 DEBUG conf - conf.c:run_buffer:326 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 131 lxc pre-start with output: unsupported fedora release
lxc-start 131 20190506123551.833 ERROR conf - conf.c:run_buffer:335 - Script exited with status 255
lxc-start 131 20190506123551.834 ERROR start - start.c:lxc_init:861 - Failed to run lxc.hook.pre-start for container "131"
lxc-start 131 20190506123551.835 ERROR start - start.c:__lxc_start:1944 - Failed to initialize container "131"
lxc-start 131 20190506123551.835 ERROR lxc_start - tools/lxc_start.c:main:330 - The container failed to start
lxc-start 131 20190506123551.836 ERROR lxc_start - tools/lxc_start.c:main:336 - Additional information can be obtained by setting the --logfile and --logpriority options
I just tested it with an unprivileged container - 29 booted fine afais - but for 30 I needed to enable the nesting feature (in order to get it started and the network configured)...Is unsupported fedora release the only reason this is failing to start?
Any updates on getting an official Fedora 30 LXC template?
How can I create my own template with nesting etc enabled from the get go?