Hallo,
ein kürzliches Systemupgrade (PVE 9.1) lies einen Container nicht mehr starten.
Die Fehlerausgabe:
Als ich den Container mit logfile und DEBUG gestartet hatte (lxc-start -n 10105 -F -lDEBUG -o 10105.log) wurde schnell das Problem entdeckt:
Problematisch schien bei meinem Container ein mountpoint zu sein, den ich von einen anderen Container eingebunden hatte, und zwar als read-only:
Nachdem ich die Konfiguration auf "ro=0" geändert hatte, konnte ich problemlos den Container starten.
ein kürzliches Systemupgrade (PVE 9.1) lies einen Container nicht mehr starten.
Die Fehlerausgabe:
Code:
lxc-start: 10105: ../src/lxc/utils.c: run_buffer: 571 Script exited with status 30
lxc-start: 10105: ../src/lxc/start.c: lxc_init: 845 Failed to run lxc.hook.pre-start for container "10105"
lxc-start: 10105: ../src/lxc/start.c: __lxc_start: 2046 Failed to initialize container "10105"
lxc-start: 10105: ../src/lxc/tools/lxc_start.c: lxc_start_main: 307 The container failed to start
lxc-start: 10105: ../src/lxc/tools/lxc_start.c: lxc_start_main: 312 Additional information can be obtained by setting the --logfile and --logpriority options
Als ich den Container mit logfile und DEBUG gestartet hatte (lxc-start -n 10105 -F -lDEBUG -o 10105.log) wurde schnell das Problem entdeckt:
Code:
lxc-start 10105 20260209062753.324 DEBUG utils - ../src/lxc/utils.c:run_buffer:560 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 10105 lxc pre-start produced output: failed to propagate uid and gid to mountpoint: Read-only file system
Problematisch schien bei meinem Container ein mountpoint zu sein, den ich von einen anderen Container eingebunden hatte, und zwar als read-only:
Code:
mp9: tankssd:subvol-10110-disk-9,mp=/etc/letsencrypt,ro=1,shared=1
Nachdem ich die Konfiguration auf "ro=0" geändert hatte, konnte ich problemlos den Container starten.