After updating to 9.0.10, OpenEuler containers fail to start

dawnw

New Member
Sep 22, 2025
1
0
1
Hello!

After attempting to update from 9.0.6 to 9.0.10, OpenEuler containers (openeuler-24.03-default_20250507_amd64.tar.xz) fail to start.

The error message is as follows:

root@pve:~# pct start 106 --debug
Code:
run_buffer: 571 Script exited with status 1
lxc_init: 845 Failed to run lxc.hook.pre-start for container "106"
__lxc_start: 2039 Failed to initialize container "106"
d 0 hostid 100000 range 65536
INFO     lsm - ../src/lxc/lsm/lsm.c:lsm_init_static:38 - Initialized LSM security driver AppArmor
INFO     utils - ../src/lxc/utils.c:run_script_argv:587 - Executing script "/usr/share/lxc/hooks/lxc-pve-prestart-hook" for container "106", config section "lxc"
DEBUG    utils - ../src/lxc/utils.c:run_buffer:560 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 106 lxc pre-start produced output: can't open '/etc/redhat-release' - No such file or directory

DEBUG    utils - ../src/lxc/utils.c:run_buffer:560 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 106 lxc pre-start produced output: error in setup task PVE::LXC::Setup::pre_start_hook

ERROR    utils - ../src/lxc/utils.c:run_buffer:571 - Script exited with status 1
ERROR    start - ../src/lxc/start.c:lxc_init:845 - Failed to run lxc.hook.pre-start for container "106"
ERROR    start - ../src/lxc/start.c:__lxc_start:2039 - Failed to initialize container "106"
INFO     utils - ../src/lxc/utils.c:run_script_argv:587 - Executing script "/usr/share/lxcfs/lxc.reboot.hook" for container "106", config section "lxc"
startup for container '106' failed


Under normal circumstances, OpenEuler does not have a /etc/redhat-release file.

After creating an empty redhat-release file via 'touch' and restarting, I received the error: unable to parse centos version "".

It appears there is an anomaly in the system identification for the container.


Thank you!