Hallo zusammen,
Wie im Thread-Titel beschrieben, heute Nachmittag ein Update gemacht und alle LXC-Container starten nicht mehr. Leider liefert Proxmox da echt wenig an Fehlermeldungen, damit man da mal etwas schlau aus diesen würde.
Es läuft:
4.10.15-1-pve
Das logfile meint dann folgendes
Meine Vermutung, apparmor hupt hier herum.
Die Frage, wo liegt das Problem?
Mirko
Wie im Thread-Titel beschrieben, heute Nachmittag ein Update gemacht und alle LXC-Container starten nicht mehr. Leider liefert Proxmox da echt wenig an Fehlermeldungen, damit man da mal etwas schlau aus diesen würde.
Es läuft:
4.10.15-1-pve
Code:
root@pve:/home/micro# lxc-start -F -n 101
lxc-start: lxccontainer.c: do_lxcapi_start: 866 Permission denied - Failed to make / rslave at startup
lxc-start: tools/lxc_start.c: main: 366 The container failed to start.
lxc-start: tools/lxc_start.c: main: 370 Additional information can be obtained by setting the --logfile and --logpriority options.
Code:
root@pve:/home/micro# systemctl status lxc@101.service
â lxc@101.service - LXC Container: 101
Loaded: loaded (/lib/systemd/system/lxc@.service; disabled; vendor preset: enabled)
Drop-In: /usr/lib/systemd/system/lxc@.service.d
ââpve-reboot.conf
Active: failed (Result: exit-code) since Sat 2018-03-17 15:46:29 CET; 8s ago
Docs: man:lxc-start
man:lxc
Process: 13495 ExecStart=/usr/bin/lxc-start -n 101 (code=exited, status=1/FAILURE)
Mar 17 15:46:24 pve systemd[1]: Starting LXC Container: 101...
Mar 17 15:46:29 pve lxc-start[13495]: lxc-start: tools/lxc_start.c: main: 366 The container failed to start.
Mar 17 15:46:29 pve lxc-start[13495]: lxc-start: tools/lxc_start.c: main: 368 To get more details, run the container in foreground mode.
Mar 17 15:46:29 pve lxc-start[13495]: lxc-start: tools/lxc_start.c: main: 370 Additional information can be obtained by setting the --logfile and --logpriority options.
Mar 17 15:46:29 pve systemd[1]: lxc@101.service: Control process exited, code=exited status=1
Mar 17 15:46:29 pve systemd[1]: Failed to start LXC Container: 101.
Mar 17 15:46:29 pve systemd[1]: lxc@101.service: Unit entered failed state.
Mar 17 15:46:29 pve systemd[1]: lxc@101.service: Failed with result 'exit-code'.
Das logfile meint dann folgendes
Code:
lxc-start 20180317124000.247 INFO lxc_start_ui - tools/lxc_start.c:main:275 - using rcfile /var/lib/lxc/101/config
lxc-start 20180317124000.248 WARN lxc_confile - confile.c:config_pivotdir:2022 - lxc.pivotdir is ignored. It will soon become an error.
lxc-start 20180317124000.248 ERROR lxc_container - lxccontainer.c:do_lxcapi_start:866 - Permission denied - Failed to make / rslave at startup
lxc-start 20180317124000.248 ERROR lxc_start_ui - tools/lxc_start.c:main:366 - The container failed to start.
lxc-start 20180317124000.248 ERROR lxc_start_ui - tools/lxc_start.c:main:370 - Additional information can be obtained by setting the --logfile and --logpriority options.
lxc-start 20180317125606.261 INFO lxc_start_ui - tools/lxc_start.c:main:275 - using rcfile /var/lib/lxc/101/config
lxc-start 20180317125606.261 WARN lxc_confile - confile.c:config_pivotdir:2022 - lxc.pivotdir is ignored. It will soon become an error.
lxc-start 20180317125606.262 ERROR lxc_container - lxccontainer.c:do_lxcapi_start:866 - Permission denied - Failed to make / rslave at startup
lxc-start 20180317125606.262 ERROR lxc_start_ui - tools/lxc_start.c:main:366 - The container failed to start.
lxc-start 20180317125606.262 ERROR lxc_start_ui - tools/lxc_start.c:main:370 - Additional information can be obtained by setting the --logfile and --logpriority options.
lxc-start 20180317125616.694 INFO lxc_start_ui - tools/lxc_start.c:main:275 - using rcfile /var/lib/lxc/101/config
lxc-start 20180317125616.695 WARN lxc_confile - confile.c:config_pivotdir:2022 - lxc.pivotdir is ignored. It will soon become an error.
lxc-start 20180317125616.695 ERROR lxc_container - lxccontainer.c:do_lxcapi_start:866 - Permission denied - Failed to make / rslave at startup
lxc-start 20180317125616.695 ERROR lxc_start_ui - tools/lxc_start.c:main:366 - The container failed to start.
lxc-start 20180317125616.695 ERROR lxc_start_ui - tools/lxc_start.c:main:370 - Additional information can be obtained by setting the --logfile and --logpriority options.
lxc-start 20180317125633.209 INFO lxc_start_ui - tools/lxc_start.c:main:275 - using rcfile /var/lib/lxc/101/config
lxc-start 20180317125633.210 WARN lxc_confile - confile.c:config_pivotdir:2022 - lxc.pivotdir is ignored. It will soon become an error.
lxc-start 20180317125633.210 ERROR lxc_container - lxccontainer.c:do_lxcapi_start:866 - Permission denied - Failed to make / rslave at startup
lxc-start 20180317125633.210 ERROR lxc_start_ui - tools/lxc_start.c:main:366 - The container failed to start.
lxc-start 20180317125633.210 ERROR lxc_start_ui - tools/lxc_start.c:main:370 - Additional information can be obtained by setting the --logfile and --logpriority options.
Meine Vermutung, apparmor hupt hier herum.
Die Frage, wo liegt das Problem?
Mirko