PVE: LXC Debian 11 log slow fixed
分類:PVE
pve7 / lxc / debian 11 templater / unprivileged
update 0825 可以犧牲一點安全性的話,開啟巢狀可以解決 LXC->Option->Features->netsting [select]
fixed from PVE_Forums #10
systemctl mask systemd-logind
pam-auth-update
unselect "Register user sessions in the systemd control group hierarchy"
find key world
auth.log
Aug 25 08:18:27 Debian-11-vdi-61 dbus-daemon[113]: [system] Failed to activate service 'org.freedesktop.login1': timed out (service_start_timeout=25000ms)
systemctl status -l dbus-org.freedesktop.login1.service
systemd-logind.service - User Login Management
Loaded: loaded (/lib/systemd/system/systemd-logind.service; static)
Active: failed (Result: exit-code) since Wed 2021-08-25 08:20:36 UTC; 42s a>
Docs: man:sd-login(3)
man:systemd-logind.service(8)
man:logind.conf(5)
man:org.freedesktop.login1(5)
Process: 395 ExecStart=/lib/systemd/systemd-logind (code=exited, status=226/>
Main PID: 395 (code=exited, status=226/NAMESPACE)
CPU: 18ms
Aug 25 08:20:36 Debian-11-vdi-61 systemd[1]: systemd-logind.service: Main proces>
Aug 25 08:20:36 Debian-11-vdi-61 systemd[1]: systemd-logind.service: Failed with>
Aug 25 08:20:36 Debian-11-vdi-61 systemd[1]: Failed to start User Login Manageme>
Aug 25 08:20:36 Debian-11-vdi-61 systemd[1]: systemd-logind.service: Scheduled r>
Aug 25 08:20:36 Debian-11-vdi-61 systemd[1]: Stopped User Login Management.
Aug 25 08:20:36 Debian-11-vdi-61 systemd[1]: systemd-logind.service: Start reque>
Aug 25 08:20:36 Debian-11-vdi-61 systemd[1]: systemd-logind.service: Failed with>
Aug 25 08:20:36 Debian-11-vdi-61 systemd[1]: Failed to start User Login Manageme>
root@Debian-11-vdi-61:/home/ryan# systemctl restart systemd-logind
Job for systemd-logind.service failed because the control process exited with error code.
See “systemctl status systemd-logind.service” and “journalctl -xe” for details.
journalctl -xe
Aug 25 08:22:06 Debian-11-vdi-61 systemd[1]: Failed to start Load Kernel Module >
░░ Subject: A start job for unit modprobe@drm.service has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit modprobe@drm.service has finished with a failure.
░░
░░ The job identifier is 1607 and the job result is failed.
Tags:pve