You are not logged in.

#1 2020-12-08 06:40:22

machsix
Member
Registered: 2020-12-08
Posts: 3

[SOLVED]Power off issue due to user@1000.service: State 'stop-sigterm'

Hello. I've done some quick searches for similar problems. The one shows some similar symptoms is https://bbs.archlinux.org/viewtopic.php?id=205460. However, the original post is not solved

I have no idea of what is causing this. The log doesn't seem to provide useful information

The following is the journal log. The timeout part is in bold. Thanks in advance.

Dec 07 21:57:12 Han-Arch systemd[9660]: Stopped GNOME Shell on Wayland.
Dec 07 21:57:12 Han-Arch systemd[9660]: Stopped target GNOME Session Manager is ready.
Dec 07 21:57:12 Han-Arch systemd[9660]: Stopped target Tasks to be run before GNOME Session starts.
Dec 07 21:57:12 Han-Arch systemd[9660]: Stopped target Session services which should run early before the graphical session is brought up.
Dec 07 21:57:12 Han-Arch systemd[9660]: Reached target Shutdown running GNOME Session.
Dec 07 21:57:12 Han-Arch systemd[9660]: Starting Restart DBus after GNOME Session shutdown...
Dec 07 21:57:12 Han-Arch systemd[9660]: Stopped target Shutdown running GNOME Session.
Dec 07 21:57:12 Han-Arch systemd[9660]: Started Restart DBus after GNOME Session shutdown.
Dec 07 21:57:12 Han-Arch gvfsd[9731]: A connection to the bus can't be made
Dec 07 21:57:12 Han-Arch systemd[9660]: Stopping D-Bus User Message Bus...
Dec 07 21:57:12 Han-Arch evolution-calen[10614]: Error setting property 'ConnectionStatus' on interface org.gnome.evolution.dataserver.Source: The connection is closed (g-io-error-quark, 18)
Dec 07 21:57:12 Han-Arch systemd[9660]: xdg-permission-store.service: Main process exited, code=exited, status=1/FAILURE
Dec 07 21:57:12 Han-Arch systemd[9660]: xdg-permission-store.service: Failed with result 'exit-code'.
Dec 07 21:57:12 Han-Arch evolution-addre[10682]: Error setting property 'ConnectionStatus' on interface org.gnome.evolution.dataserver.Source: The connection is closed (g-io-error-quark, 18)
Dec 07 21:57:12 Han-Arch systemd[9660]: gnome-session-restart-dbus.service: Succeeded.
Dec 07 21:57:12 Han-Arch systemd[9660]: gvfs-mtp-volume-monitor.service: Succeeded.
Dec 07 21:57:12 Han-Arch systemd[9660]: gvfs-gphoto2-volume-monitor.service: Succeeded.
Dec 07 21:57:12 Han-Arch systemd[9660]: gvfs-goa-volume-monitor.service: Succeeded.
Dec 07 21:57:12 Han-Arch systemd[9660]: app-gnome-org.gnome.SettingsDaemon.DiskUtilityNotify-13068.scope: Succeeded.
Dec 07 21:57:12 Han-Arch systemd[1]: run-user-1000-gvfs.mount: Succeeded.
Dec 07 21:57:12 Han-Arch systemd[9660]: run-user-1000-gvfs.mount: Succeeded.
Dec 07 21:57:12 Han-Arch systemd[1]: Unmounted /run/user/1000/gvfs.
Dec 07 21:57:12 Han-Arch systemd[9660]: gvfs-daemon.service: Succeeded.
Dec 07 21:57:12 Han-Arch systemd[9660]: dbus.service: Succeeded.
Dec 07 21:57:12 Han-Arch systemd[9660]: Stopped D-Bus User Message Bus.
Dec 07 21:57:12 Han-Arch systemd[9660]: evolution-source-registry.service: Succeeded.
Dec 07 21:57:12 Han-Arch systemd[9660]: evolution-calendar-factory.service: Succeeded.
Dec 07 21:57:12 Han-Arch systemd[9660]: gvfs-udisks2-volume-monitor.service: Succeeded.
Dec 07 21:57:12 Han-Arch systemd[9660]: evolution-addressbook-factory.service: Succeeded.
Dec 07 21:57:12 Han-Arch systemd[9660]: gvfs-afc-volume-monitor.service: Succeeded.
Dec 07 21:57:12 Han-Arch systemd[9660]: Started D-Bus User Message Bus.
Dec 07 21:57:12 Han-Arch systemd[1]: systemd-logind.service: Succeeded.
Dec 07 21:57:12 Han-Arch systemd[1]: Stopped User Login Management.
Dec 07 21:57:12 Han-Arch audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-logind comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

Dec 07 21:59:12 Han-Arch systemd[1]: user@1000.service: State 'stop-sigterm' timed out. Killing.

Dec 07 21:59:12 Han-Arch systemd[1]: user@1000.service: Killing process 9660 (systemd) with signal SIGKILL.
Dec 07 21:59:12 Han-Arch systemd[1]: user@1000.service: Killing process 22795 (dbus-daemon) with signal SIGKILL.
Dec 07 21:59:12 Han-Arch systemd[1]: user@1000.service: Main process exited, code=killed, status=9/KILL
Dec 07 21:59:12 Han-Arch systemd[1]: user@1000.service: Failed with result 'timeout'.
Dec 07 21:59:12 Han-Arch systemd[1]: Stopped User Manager for UID 1000.
Dec 07 21:59:12 Han-Arch audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user@1000 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Dec 07 21:59:12 Han-Arch systemd[1]: Stopping User Runtime Directory /run/user/1000...
Dec 07 21:59:12 Han-Arch kernel: kauditd_printk_skb: 9 callbacks suppressed
Dec 07 21:59:12 Han-Arch kernel: audit: type=1131 audit(1607407152.350:165): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user@1000 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Dec 07 21:59:12 Han-Arch systemd[1]: run-user-1000.mount: Succeeded.
Dec 07 21:59:12 Han-Arch systemd[1]: Unmounted /run/user/1000.
Dec 07 21:59:12 Han-Arch systemd[1]: user-runtime-dir@1000.service: Succeeded.
Dec 07 21:59:12 Han-Arch systemd[1]: Stopped User Runtime Directory /run/user/1000.
Dec 07 21:59:12 Han-Arch audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user-runtime-dir@1000 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Dec 07 21:59:12 Han-Arch systemd[1]: Removed slice User Slice of UID 1000.
Dec 07 21:59:12 Han-Arch kernel: audit: type=1131 audit(1607407152.360:166): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user-runtime-dir@1000 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Dec 07 21:59:12 Han-Arch systemd[1]: Stopping Permit User Sessions...
Dec 07 21:59:12 Han-Arch systemd[1]: systemd-user-sessions.service: Succeeded.
Dec 07 21:59:12 Han-Arch systemd[1]: Stopped Permit User Sessions.
Dec 07 21:59:12 Han-Arch audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-user-sessions comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Dec 07 21:59:12 Han-Arch systemd[1]: Stopped target Network.
Dec 07 21:59:12 Han-Arch systemd[1]: Stopped target User and Group Name Lookups.
Dec 07 21:59:12 Han-Arch systemd[1]: Stopped target Remote File Systems.
Dec 07 21:59:12 Han-Arch kernel: audit: type=1131 audit(1607407152.370:167): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-user-sessions comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Dec 07 21:59:12 Han-Arch systemd[1]: Stopping Network Manager...
Dec 07 21:59:12 Han-Arch NetworkManager[463]: <info>  [1607407152.3759] caught SIGTERM, shutting down normally.
Dec 07 21:59:12 Han-Arch systemd[1]: Stopping WPA supplicant...
Dec 07 21:59:12 Han-Arch wpa_supplicant[545]: wlp4s0: CTRL-EVENT-DISCONNECTED bssid=70:8b:cd:cf:65:9c reason=3 locally_generated=1
Dec 07 21:59:12 Han-Arch NetworkManager[463]: <info>  [1607407152.3777] device (wlp4s0): state change: activated -> deactivating (reason 'unmanaged', sys-iface-state: 'managed')
Dec 07 21:59:12 Han-Arch NetworkManager[463]: <info>  [1607407152.3781] manager: NetworkManager state is now DISCONNECTING
Dec 07 21:59:12 Han-Arch dbus-daemon[462]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.1' (uid=0 pid=463 comm="/usr/bin/NetworkManager --no-daemon ")
Dec 07 21:59:12 Han-Arch dbus-daemon[462]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.nm-dispatcher.service': Refusing activation, D-Bus is shutting down.
Dec 07 21:59:12 Han-Arch NetworkManager[463]: <warn>  [1607407152.3794] dispatcher: (8) failed: Refusing activation, D-Bus is shutting down.
Dec 07 21:59:12 Han-Arch NetworkManager[463]: <info>  [1607407152.3795] device (wlp4s0): state change: deactivating -> unmanaged (reason 'removed', sys-iface-state: 'managed')
Dec 07 21:59:12 Han-Arch NetworkManager[463]: <info>  [1607407152.4217] dhcp4 (wlp4s0): canceled DHCP transaction
Dec 07 21:59:12 Han-Arch NetworkManager[463]: <info>  [1607407152.4217] dhcp4 (wlp4s0): state changed bound -> done
Dec 07 21:59:12 Han-Arch NetworkManager[463]: <info>  [1607407152.4219] dhcp6 (wlp4s0): canceled DHCP transaction
Dec 07 21:59:12 Han-Arch NetworkManager[463]: <info>  [1607407152.4220] dhcp6 (wlp4s0): state changed bound -> done
Dec 07 21:59:12 Han-Arch NetworkManager[463]: <info>  [1607407152.4371] manager: NetworkManager state is now DISCONNECTED
Dec 07 21:59:12 Han-Arch dbus-daemon[462]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.1' (uid=0 pid=463 comm="/usr/bin/NetworkManager --no-daemon ")
Dec 07 21:59:12 Han-Arch dbus-daemon[462]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.nm-dispatcher.service': Refusing activation, D-Bus is shutting down.
Dec 07 21:59:12 Han-Arch dbus-daemon[462]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.1' (uid=0 pid=463 comm="/usr/bin/NetworkManager --no-daemon ")
Dec 07 21:59:12 Han-Arch dbus-daemon[462]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.nm-dispatcher.service': Refusing activation, D-Bus is shutting down.
Dec 07 21:59:12 Han-Arch wpa_supplicant[545]: nl80211: deinit ifname=wlp4s0 disabled_11b_rates=0
Dec 07 21:59:12 Han-Arch NetworkManager[463]: <info>  [1607407152.4565] exiting (success)
Dec 07 21:59:12 Han-Arch wpa_supplicant[545]: wlp4s0: CTRL-EVENT-TERMINATING
Dec 07 21:59:12 Han-Arch systemd[1]: wpa_supplicant.service: Succeeded.
Dec 07 21:59:12 Han-Arch systemd[1]: Stopped WPA supplicant.
Dec 07 21:59:12 Han-Arch audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=wpa_supplicant comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Dec 07 21:59:12 Han-Arch kernel: audit: type=1131 audit(1607407152.463:168): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=wpa_supplicant comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Dec 07 21:59:12 Han-Arch systemd[1]: NetworkManager.service: Succeeded.
Dec 07 21:59:12 Han-Arch systemd[1]: Stopped Network Manager.
Dec 07 21:59:12 Han-Arch audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Dec 07 21:59:12 Han-Arch systemd[1]: Stopping D-Bus System Message Bus...
Dec 07 21:59:12 Han-Arch kernel: audit: type=1131 audit(1607407152.467:169): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Dec 07 21:59:12 Han-Arch systemd[1]: dbus.service: Succeeded.
Dec 07 21:59:12 Han-Arch systemd[1]: Stopped D-Bus System Message Bus.
Dec 07 21:59:12 Han-Arch audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=dbus comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Dec 07 21:59:12 Han-Arch systemd[1]: Stopped target Basic System.
Dec 07 21:59:12 Han-Arch kernel: audit: type=1131 audit(1607407152.483:170): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=dbus comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Dec 07 21:59:12 Han-Arch systemd[1]: Stopped target Paths.
Dec 07 21:59:12 Han-Arch systemd[1]: Stopped target Slices.
Dec 07 21:59:12 Han-Arch systemd[1]: Removed slice User and Session Slice.
Dec 07 21:59:12 Han-Arch systemd[1]: Stopped target Sockets.
Dec 07 21:59:12 Han-Arch systemd[1]: dbus.socket: Succeeded.
Dec 07 21:59:12 Han-Arch systemd[1]: Closed D-Bus System Message Bus Socket.
Dec 07 21:59:12 Han-Arch systemd[1]: Stopped target System Initialization.
Dec 07 21:59:12 Han-Arch systemd[1]: Stopped target Local Encrypted Volumes.
Dec 07 21:59:12 Han-Arch systemd[1]: systemd-ask-password-console.path: Succeeded.
Dec 07 21:59:12 Han-Arch systemd[1]: Stopped Dispatch Password Requests to Console Directory Watch.
Dec 07 21:59:12 Han-Arch systemd[1]: systemd-ask-password-wall.path: Succeeded.
Dec 07 21:59:12 Han-Arch systemd[1]: Stopped Forward Password Requests to Wall Directory Watch.
Dec 07 21:59:12 Han-Arch systemd[1]: systemd-sysctl.service: Succeeded.
Dec 07 21:59:12 Han-Arch systemd[1]: Stopped Apply Kernel Variables.

Last edited by machsix (2020-12-09 10:09:44)

Offline

#2 2020-12-08 07:15:06

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 652

Re: [SOLVED]Power off issue due to user@1000.service: State 'stop-sigterm'

Already discussed, including a fix, here.

Offline

#3 2020-12-09 10:09:17

machsix
Member
Registered: 2020-12-08
Posts: 3

Re: [SOLVED]Power off issue due to user@1000.service: State 'stop-sigterm'

Great, it solves the problem. Just FYI, if you want to keep the original file untouched, you can run

systemctl edit --user gnome-session-restart-dbus.service

and add the following lines above ### Lines below this comment will be discarded

[Service]
Slice=-.slice

Offline

Board footer

Powered by FluxBB