Hi,
ich habe bei mir AlmaLinux 9 LXC Container laufen.
Testweise habe ich jetzt einen davon auf 9.1 aktualisiert.
Leider startet der jetzt aber nicht mehr...
Nein, es hat nix mit dem pve-container Update Bug zu tun.
Im Debug Log steht folgendes:
Jemand ne Idee?
Danke & Gruß
Frank
UPDATE:
Ich hab nen Workaround gefunden.
ich habe bei mir AlmaLinux 9 LXC Container laufen.
Testweise habe ich jetzt einen davon auf 9.1 aktualisiert.
Leider startet der jetzt aber nicht mehr...
Nein, es hat nix mit dem pve-container Update Bug zu tun.
Code:
# pct start 106
run_buffer: 321 Script exited with status 25
lxc_init: 847 Failed to run lxc.hook.pre-start for container "106"
__lxc_start: 2008 Failed to initialize container "106"
startup for container '106' failed
Code:
xc-start 106 20221119124515.722 INFO lsm - ../src/lxc/lsm/lsm.c:lsm_init_static:38 - Initialized LSM security driver AppArmor
lxc-start 106 20221119124515.722 INFO conf - ../src/lxc/conf.c:run_script_argv:337 - Executing script "/usr/share/lxc/hooks/lxc-pve-prestart-hook" for container "106", config section "lxc"
lxc-start 106 20221119124516.175 DEBUG conf - ../src/lxc/conf.c:run_buffer:310 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 106 lxc pre-start produced output: unknown ID 'almalinux' in /etc/os-release file, trying fallback detection
lxc-start 106 20221119124516.177 DEBUG conf - ../src/lxc/conf.c:run_buffer:310 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 106 lxc pre-start produced output: unsupported centos release 'AlmaLinux release 9.1 (Lime Lynx)'
lxc-start 106 20221119124516.189 ERROR conf - ../src/lxc/conf.c:run_buffer:321 - Script exited with status 25
lxc-start 106 20221119124516.189 ERROR start - ../src/lxc/start.c:lxc_init:847 - Failed to run lxc.hook.pre-start for container "106"
lxc-start 106 20221119124516.189 ERROR start - ../src/lxc/start.c:__lxc_start:2008 - Failed to initialize container "106"
lxc-start 106 20221119124516.189 INFO conf - ../src/lxc/conf.c:run_script_argv:337 - Executing script "/usr/share/lxcfs/lxc.reboot.hook" for container "106", config section "lxc"
lxc-start 106 20221119124516.691 INFO conf - ../src/lxc/conf.c:run_script_argv:337 - Executing script "/usr/share/lxc/hooks/lxc-pve-poststop-hook" for container "106", config section "lxc"
lxc-start 106 20221119124517.141 ERROR lxc_start - ../src/lxc/tools/lxc_start.c:main:306 - The container failed to start
lxc-start 106 20221119124517.141 ERROR lxc_start - ../src/lxc/tools/lxc_start.c:main:311 - Additional information can be obtained by setting the --logfile and --logpriority options
Jemand ne Idee?
Danke & Gruß
Frank
UPDATE:
Ich hab nen Workaround gefunden.
Code:
# diff /usr/share/perl5/PVE/LXC/Setup/CentOS.pm /usr/share/perl5/PVE/LXC/Setup/CentOS.pm.org
25c25
< if ($1 >= 5 && $1 <= 9.1) {
---
> if ($1 >= 5 && $1 <= 9) {
Last edited: