이를 위해 OS에서 제공하는 해당 버튼을 사용하고 사용자로 종료/다시 시작 명령을 실행할 때 시스템 종료/다시 시작 속도가 매우 느려집니다. 최대 3분 정도 소요될 수 있습니다.
명령줄에서 이 명령을 실행하면 눈에 보이는 현상이 발생하기까지 오랜 지연이 발생합니다. 동일한 명령을 다시 실행하면 이미 종료가 진행 중인 것으로 표시됩니다. 약 30~60초 후에 화면이 검게 변하고 종료/다시 시작이 처리되는 데 30~60초가 더 걸립니다.
이상한 점은 sudo를 통해 종료/재시작 명령을 실행하면 모든 것이 잘 작동한다는 것입니다.
지난 3일 동안 100번이 넘는 시스템 재부팅을 수행하고 이를 디버깅하고 다양한 작업을 시도했지만 아무것도 작동하지 않는 것 같습니다.
로그에서 두 번째 지연에 대한 해당 정보를 찾은 것 같습니다.
systemd-shutdown[1]: 파일 시스템 및 블록 장치 동기화 중 - 시간이 초과되어 PID 11498에 SIGKILL을 실행합니다.
아직 원인이 무엇인지 확실하지 않지만, 두 번째 지연이 항상 발생하는 것은 아니지만 첫 번째 지연은 항상 발생하므로 먼저 첫 번째 지연에 집중하고 싶습니다. 불행하게도 나는 첫 번째 지연을 야기할 수 있는 어떤 것도 찾을 수 없었습니다. 시스템 로그는 다음과 같습니다.
Aug 16 19:47:02 dbus-daemon[3449]: [session uid=1000 pid=3449] Activating service name='org.kde.Shutdown' requested by ':1.85' (uid=1000 pid=10955 comm="/usr/lib/x86_64-linux-gnu/libexec/ksmserver-logout")
Aug 16 19:47:02 dbus-daemon[3449]: [session uid=1000 pid=3449] Successfully activated service 'org.kde.Shutdown'
Aug 16 19:47:02 dbus-daemon[3449]: [session uid=1000 pid=3449] Activating service name='org.kde.kdeconnect' requested by ':1.22' (uid=1000 pid=4734 comm="/usr/bin/plasmashell ")
Aug 16 19:47:03 dbus-daemon[3449]: [session uid=1000 pid=3449] Successfully activated service 'org.kde.kdeconnect'
Aug 16 19:47:03 org.kde.kdeconnect[10984]: kdeconnect.core: Could not query capabilities from notifications server
Aug 16 19:47:12 org.kde.kdeconnect[10984]: ICE default IO error handler doing an exit(), pid = 10984, errno = 2
Aug 16 19:47:12 systemd[1]: unattended-upgrades.service: Succeeded.
Aug 16 19:47:43 sddm[1586]: Authentication error: "Process crashed"
Aug 16 19:47:43 at-spi-bus-launcher[5462]: X connection to :0 broken (explicit kill or server shutdown).
Aug 16 19:47:43 sddm[1586]: Auth: sddm-helper crashed (exit code 15)
Aug 16 19:47:43 sddm[1586]: Authentication error: "Process crashed"
Aug 16 19:47:43 sddm[1586]: Auth: sddm-helper exited with 15
Aug 16 19:47:43 sddm[1586]: Socket server stopping...
Aug 16 19:47:43 sddm[1586]: Socket server stopped.
Aug 16 19:47:43 sddm[1586]: Display server stopping...
Aug 16 19:47:43 xdg-desktop-por[5395]: xdg-desktop-portal-gtk: Fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) on X server :0.
Aug 16 19:47:43 systemd[1]: Stopping Session 5 of user michael.
Aug 16 19:47:43 systemd[1]: Removed slice system-getty.slice.
Aug 16 19:47:43 systemd[1]: Removed slice system-modprobe.slice.
Aug 16 19:47:43 systemd[1]: Stopped target Block Device Preparation for /dev/mapper/cryptdata.
Aug 16 19:47:43 systemd[1]: Stopped target Bluetooth.
Aug 16 19:47:43 systemd[1]: Stopped target Graphical Interface.
Aug 16 19:47:43 systemd[1]: Stopped target Multi-User System.
Aug 16 19:47:43 systemd[1]: Stopped target Login Prompts.
Aug 16 19:47:43 systemd[1]: Stopped target Containers.
Aug 16 19:47:43 systemd[1]: Stopped target Sound Card.
Aug 16 19:47:43 systemd[1]: Stopped target Timers.
Aug 16 19:47:43 systemd[1]: apt-daily-upgrade.timer: Succeeded.
Aug 16 19:47:43 systemd[1]: Stopped Daily apt upgrade and clean activities.
Aug 16 19:47:43 systemd[1]: apt-daily.timer: Succeeded.
Aug 16 19:47:43 systemd[1]: Stopped Daily apt download activities.
Aug 16 19:47:43 systemd[1]: e2scrub_all.timer: Succeeded.
Aug 16 19:47:43 systemd[1]: Stopped Periodic ext4 Online Metadata Check for All Filesystems.
Aug 16 19:47:43 systemd[1]: fstrim.timer: Succeeded.
Aug 16 19:47:43 systemd[1]: Stopped Discard unused blocks once a week.
Aug 16 19:47:43 systemd[1]: fwupd-refresh.timer: Succeeded.
Aug 16 19:47:43 org.freedesktop.impl.portal.desktop.kde[5508]: The X11 connection broke (error 1). Did the X11 server die?
Aug 16 19:47:43 org.kde.KScreen[5073]: The X11 connection broke (error 1). Did the X11 server die?
Aug 16 19:47:43 kglobalaccel5[4427]: The X11 connection broke (error 1). Did the X11 server die?
Aug 16 19:47:43 systemd[1]: Stopped Refresh fwupd metadata regularly.
Aug 16 19:47:43 systemd[1]: logrotate.timer: Succeeded.
Aug 16 19:47:43 systemd[1]: Stopped Daily rotation of log files.
Aug 16 19:47:43 systemd[1]: man-db.timer: Succeeded.
Aug 16 19:47:43 systemd[1]: Stopped Daily man-db regeneration.
Aug 16 19:47:43 systemd[1]: motd-news.timer: Succeeded.
Aug 16 19:47:43 systemd[1]: Stopped Message of the Day.
Aug 16 19:47:43 systemd[1]: phpsessionclean.timer: Succeeded.
Aug 16 19:47:43 systemd[1]: Stopped Clean PHP session files every 30 mins.
Aug 16 19:47:43 systemd[1]: systemd-tmpfiles-clean.timer: Succeeded.
Aug 16 19:47:43 systemd[1]: Stopped Daily Cleanup of Temporary Directories.
Aug 16 19:47:43 systemd[1]: ua-messaging.timer: Succeeded.
Aug 16 19:47:43 systemd[1]: Stopped Ubuntu Advantage update messaging.
Aug 16 19:47:43 systemd[1]: update-notifier-download.timer: Succeeded.
Aug 16 19:47:43 systemd[1]: Stopped Download data for packages that failed at package install time.
Aug 16 19:47:43 systemd[1]: update-notifier-motd.timer: Succeeded.
Aug 16 19:47:43 systemd[1]: Stopped Check to see whether there is a new version of Ubuntu available.
Aug 16 19:47:43 systemd[1]: lvm2-lvmpolld.socket: Succeeded.
Aug 16 19:47:43 kactivitymanagerd[4951]: The X11 connection broke (error 1). Did the X11 server die?
Aug 16 19:47:43 systemd[1]: Closed LVM2 poll daemon socket.
Aug 16 19:47:43 systemd[1]: systemd-rfkill.socket: Succeeded.
Aug 16 19:47:43 systemd[3397]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE
Aug 16 19:47:43 systemd[3397]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Aug 16 19:47:43 systemd[1]: Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
Aug 16 19:47:43 ModemManager[1319]: <info> caught signal, shutting down...
Aug 16 19:47:43 systemd[1]: Stopping Modem Manager...
Aug 16 19:47:43 systemd[1]: Stopping Accounts Service...
Aug 16 19:47:43 systemd[1]: Stopping ACPI event daemon...
Aug 16 19:47:43 NetworkManager[1130]: <info> [1629136063.0371] modem-manager: ModemManager no longer available
Aug 16 19:47:43 ModemManager[1319]: <info> ModemManager is shut down
Aug 16 19:47:43 systemd[1]: Stopping Save/Restore Sound Card State...
운영 체제는 Pop!_OS 21.04입니다.
이 문제를 해결하는 데 도움을 주시면 대단히 감사하겠습니다.