[Boot/Shutdown] V23 关机慢,停留在Deepin的LOGO大约一分钟
Tofloor
poster avatar
蜀雨球池
deepin
2025-03-07 14:31
Author

关机过程最后显示的是 Failed to umount /var。

在两台不同机器上均出现这同一个问题,Ryzen1700+b350和ryzen5600+b450,都为多块硬盘,其中一台为新装的系统。

journalctl -x显示的日志为:

░░ The unit UNIT completed and consumed the indicated resources.
3月 06 23:10:52 fresh-PC systemd[1752]: dde-file-manager.service: State 'final-sigterm' timed out. Killing.
3月 06 23:10:52 fresh-PC systemd[1752]: dde-file-manager.service: Killing process 33998 (dde-file-manage) with signal SIGKILL.
3月 06 23:10:52 fresh-PC systemd[1752]: dde-file-manager.service: Failed to kill control group /user.slice/user-1000.slice/user@1000.service/app.slice/dde-file-manager.service, ignoring: Invalid argument
3月 06 23:10:52 fresh-PC systemd[1752]: dde-file-manager.service: Failed with result 'timeout'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support

请问有什么办法解决么?
░░
░░ The unit UNIT has entered the 'failed' state with result 'timeout'.

Reply Favorite View the author
All Replies
相对湿度
deepin
2025-03-07 15:37
#1

如何修改配置减少关机等待时间?修改下面两个文件,改后面两个参数值为10s
sudo vim /etc/systemd/system.conf
sudo vim /etc/systemd/user.conf

DefaultTimeoutStartSec=10s
DefaultTimeoutStopSec=10s

Reply View the author
wcs4221
deepin beta test group
2025-03-07 20:16
#2

sudo sed -i 's/TimeoutStopSec=120s/TimeoutStopSec=5s/' /usr/lib/systemd/system/user@.service

Reply View the author