出现此问题的 systemd 版本
249.11-0 Ubuntu3.11
使用分布
Ubuntu 22.04.3
使用的Linux内核版本
6.2.0-39-通用
CPU 架构问题出现在
x86_64
你没有看到的预期行为
期望 systemctl status 可用,并且不会遇到任何与 systemd 相关的问题。
你看到的意外行为
- 定期遇到错误
[system] Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms)
。 - 执行之后
sudo systemctl status abcabc
,遇到以下错误:Failed to get properties: Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms)
或Failed to get properties: Connection timed out
。 - 执行完之后
sudo reboot
,遇到了如下错误:Failed to open initctl fifo: No such device or address Failed to talk to init daemon.
重现问题的步骤
正常运行一段时间后出现。
向终端或日志子系统输出附加程序以说明问题
1月 02 15:28:51 zsqk-pc-01 snapd[803]: storehelpers.go:773: cannot refresh: snap has no updates available: "bare", "core20", "core22", "gnome-3-38-2004", "gnome-42-2204", "gtk-common-themes", "snap-store", "snapd", "snapd-desktop-integration"
1月 02 15:29:14 zsqk-pc-01 systemd[1]: Reloading.
1月 02 15:29:14 zsqk-pc-01 systemd[1]: Assertion 's' failed at src/basic/cgroup-util.c:1852, function cg_mask_to_string(). Aborting.
1月 02 15:29:59 zsqk-pc-01 systemd[1]: Caught <ABRT>, dumped core as pid 113634.
1月 02 15:29:59 zsqk-pc-01 systemd[1]: Freezing execution.
1月 02 15:30:00 zsqk-pc-01 systemd-oomd[623]: Failed to connect to /run/systemd/io.system.ManagedOOM: Connection refused
1月 02 15:30:00 zsqk-pc-01 systemd-oomd[623]: Failed to acquire varlink connection: Connection refused
1月 02 15:30:00 zsqk-pc-01 systemd-oomd[623]: Event loop failed: Connection refused
1月 02 15:30:01 zsqk-pc-01 CRON[113644]: pam_unix(cron:session): session opened for user root(uid=0) by (uid=0)
1月 02 15:30:01 zsqk-pc-01 CRON[113645]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi)
1月 02 15:30:01 zsqk-pc-01 CRON[113644]: pam_unix(cron:session): session closed for user root
1月 02 15:30:24 zsqk-pc-01 dbus-daemon[784]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms)
1月 02 15:30:24 zsqk-pc-01 snapd[803]: taskrunner.go:299: [change 8 "Mount snap \"firefox\" (3600)" task] failed: systemctl command [daemon-reload] failed with exit status 1: Failed to reload daemon: Connection reset by peer
1月 02 15:30:50 zsqk-pc-01 dbus-daemon[784]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms)