You are not logged in.

#1 2020-12-03 13:25:06

icar
Member
Registered: 2020-07-31
Posts: 560

Shutdown takes 2 minutes because of a stop job

Journal from boot to shutdown: https://mega.nz/file/OY9SzISb#tuwMnvrhj … okyS4ZOIUY

If you go to the bottom and search for 'gvfs' you'll see the probable offending line:
gvfsd[1027]: A connection to the bus can't be made

I suspect of this because the computer hangs on the shutdown process showing on the screen "A stop job is running for User Manager for UID 1000".

The pacman.log of the update from which this started happening:

[2020-12-02T17:36:51+0100] [PACMAN] Running 'pacman -Syu'
[2020-12-02T17:36:51+0100] [PACMAN] synchronizing package lists
[2020-12-02T17:36:52+0100] [PACMAN] starting full system upgrade
[2020-12-02T17:38:47+0100] [ALPM] transaction started
[2020-12-02T17:38:47+0100] [ALPM] upgraded cairo (1.17.2+25+gaee96d175-1 -> 1.17.4-1)
[2020-12-02T17:38:47+0100] [ALPM] upgraded hwinfo (21.70-2 -> 21.71-1)
[2020-12-02T17:38:47+0100] [ALPM] upgraded systemd-libs (246.6-1 -> 247.1-1)
[2020-12-02T17:38:47+0100] [ALPM] upgraded lib32-glib2 (2.66.2-1 -> 2.66.3-1)
[2020-12-02T17:38:48+0100] [ALPM] warning: /etc/systemd/homed.conf installed as /etc/systemd/homed.conf.pacnew
[2020-12-02T17:38:48+0100] [ALPM] warning: /etc/systemd/logind.conf installed as /etc/systemd/logind.conf.pacnew
[2020-12-02T17:38:48+0100] [ALPM] upgraded systemd (246.6-1 -> 247.1-1)
[2020-12-02T17:38:48+0100] [ALPM] upgraded lib32-systemd (246.6-1 -> 247.1-1)
[2020-12-02T17:38:48+0100] [ALPM] upgraded libarchive (3.4.3-1 -> 3.5.0-1)
[2020-12-02T17:38:48+0100] [ALPM] upgraded poppler (20.10.0-1 -> 20.12.0-1)
[2020-12-02T17:38:52+0100] [ALPM] upgraded libreoffice-fresh (7.0.3-3 -> 7.0.3-4)
[2020-12-02T17:38:52+0100] [ALPM] upgraded libsynctex (2020.54586-6 -> 2020.54586-7)
[2020-12-02T17:38:52+0100] [ALPM] upgraded poppler-glib (20.10.0-1 -> 20.12.0-1)
[2020-12-02T17:38:52+0100] [ALPM] upgraded python-reportlab (3.5.55-3 -> 3.5.56-1)
[2020-12-02T17:38:52+0100] [ALPM] upgraded systemd-sysvcompat (246.6-1 -> 247.1-1)
[2020-12-02T17:38:53+0100] [ALPM] upgraded texlive-bin (2020.54586-6 -> 2020.54586-7)
[2020-12-02T17:38:53+0100] [ALPM] transaction completed
[2020-12-02T17:38:53+0100] [ALPM] running '01-etcbackup.hook'...
[2020-12-02T17:38:54+0100] [ALPM] running '20-systemd-sysusers.hook'...
[2020-12-02T17:38:54+0100] [ALPM] running '30-systemd-catalog.hook'...
[2020-12-02T17:38:54+0100] [ALPM] running '30-systemd-daemon-reload.hook'...
[2020-12-02T17:38:54+0100] [ALPM] running '30-systemd-hwdb.hook'...
[2020-12-02T17:38:55+0100] [ALPM] running '30-systemd-sysctl.hook'...
[2020-12-02T17:38:55+0100] [ALPM-SCRIPTLET] Not setting net/ipv4/conf/all/rp_filter (explicit setting exists).
[2020-12-02T17:38:55+0100] [ALPM-SCRIPTLET] Not setting net/ipv4/conf/default/rp_filter (explicit setting exists).
[2020-12-02T17:38:55+0100] [ALPM-SCRIPTLET] Not setting net/ipv4/conf/all/accept_source_route (explicit setting exists).
[2020-12-02T17:38:55+0100] [ALPM-SCRIPTLET] Not setting net/ipv4/conf/default/accept_source_route (explicit setting exists).
[2020-12-02T17:38:55+0100] [ALPM-SCRIPTLET] Not setting net/ipv4/conf/all/promote_secondaries (explicit setting exists).
[2020-12-02T17:38:55+0100] [ALPM-SCRIPTLET] Not setting net/ipv4/conf/default/promote_secondaries (explicit setting exists).
[2020-12-02T17:38:55+0100] [ALPM] running '30-systemd-tmpfiles.hook'...
[2020-12-02T17:38:55+0100] [ALPM] running '30-systemd-udev-reload.hook'...
[2020-12-02T17:38:55+0100] [ALPM] running '30-systemd-update.hook'...
[2020-12-02T17:38:55+0100] [ALPM] running '90-mkinitcpio-install.hook'...
[2020-12-02T17:38:55+0100] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'default'
[2020-12-02T17:38:55+0100] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts.img
[2020-12-02T17:38:55+0100] [ALPM-SCRIPTLET] ==> Starting build: 5.4.80-2-lts
[2020-12-02T17:38:55+0100] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2020-12-02T17:38:55+0100] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2020-12-02T17:38:56+0100] [ALPM-SCRIPTLET]   -> Running build hook: [plymouth]
[2020-12-02T17:38:56+0100] [ALPM-SCRIPTLET]   -> Running build hook: [autodetect]
[2020-12-02T17:38:56+0100] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2020-12-02T17:38:58+0100] [ALPM-SCRIPTLET]   -> Running build hook: [keymap]
[2020-12-02T17:38:58+0100] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2020-12-02T17:38:58+0100] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2020-12-02T17:39:00+0100] [ALPM-SCRIPTLET]   -> Running build hook: [plymouth-encrypt]
[2020-12-02T17:39:02+0100] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2020-12-02T17:39:02+0100] [ALPM-SCRIPTLET]   -> Running build hook: [resume]
[2020-12-02T17:39:02+0100] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2020-12-02T17:39:04+0100] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2020-12-02T17:39:04+0100] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-lts.img
[2020-12-02T17:39:14+0100] [ALPM-SCRIPTLET] ==> Image generation successful
[2020-12-02T17:39:14+0100] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'fallback'
[2020-12-02T17:39:14+0100] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts-fallback.img -S autodetect
[2020-12-02T17:39:14+0100] [ALPM-SCRIPTLET] ==> Starting build: 5.4.80-2-lts
[2020-12-02T17:39:14+0100] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2020-12-02T17:39:14+0100] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2020-12-02T17:39:15+0100] [ALPM-SCRIPTLET]   -> Running build hook: [plymouth]
[2020-12-02T17:39:15+0100] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2020-12-02T17:39:18+0100] [ALPM-SCRIPTLET]   -> Running build hook: [keymap]
[2020-12-02T17:39:18+0100] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2020-12-02T17:39:18+0100] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2020-12-02T17:39:20+0100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: aic94xx
[2020-12-02T17:39:20+0100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: wd719x
[2020-12-02T17:39:23+0100] [ALPM-SCRIPTLET]   -> Running build hook: [plymouth-encrypt]
[2020-12-02T17:39:25+0100] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2020-12-02T17:39:27+0100] [ALPM-SCRIPTLET]   -> Running build hook: [resume]
[2020-12-02T17:39:27+0100] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2020-12-02T17:39:31+0100] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2020-12-02T17:39:32+0100] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-lts-fallback.img
[2020-12-02T17:39:48+0100] [ALPM-SCRIPTLET] ==> Image generation successful
[2020-12-02T17:39:48+0100] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
[2020-12-02T17:39:48+0100] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2020-12-02T17:39:48+0100] [ALPM-SCRIPTLET] ==> Starting build: 5.9.11-arch2-1
[2020-12-02T17:39:48+0100] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2020-12-02T17:39:49+0100] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2020-12-02T17:39:49+0100] [ALPM-SCRIPTLET]   -> Running build hook: [plymouth]
[2020-12-02T17:39:49+0100] [ALPM-SCRIPTLET]   -> Running build hook: [autodetect]
[2020-12-02T17:39:50+0100] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2020-12-02T17:39:51+0100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: xhci_pci
[2020-12-02T17:39:51+0100] [ALPM-SCRIPTLET]   -> Running build hook: [keymap]
[2020-12-02T17:39:51+0100] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2020-12-02T17:39:51+0100] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2020-12-02T17:39:53+0100] [ALPM-SCRIPTLET]   -> Running build hook: [plymouth-encrypt]
[2020-12-02T17:39:55+0100] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2020-12-02T17:39:55+0100] [ALPM-SCRIPTLET]   -> Running build hook: [resume]
[2020-12-02T17:39:55+0100] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2020-12-02T17:39:57+0100] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2020-12-02T17:39:58+0100] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
[2020-12-02T17:40:08+0100] [ALPM-SCRIPTLET] ==> Image generation successful
[2020-12-02T17:40:08+0100] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
[2020-12-02T17:40:08+0100] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2020-12-02T17:40:08+0100] [ALPM-SCRIPTLET] ==> Starting build: 5.9.11-arch2-1
[2020-12-02T17:40:08+0100] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2020-12-02T17:40:08+0100] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2020-12-02T17:40:08+0100] [ALPM-SCRIPTLET]   -> Running build hook: [plymouth]
[2020-12-02T17:40:09+0100] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2020-12-02T17:40:09+0100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: xhci_pci
[2020-12-02T17:40:11+0100] [ALPM-SCRIPTLET]   -> Running build hook: [keymap]
[2020-12-02T17:40:11+0100] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2020-12-02T17:40:12+0100] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2020-12-02T17:40:14+0100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: aic94xx
[2020-12-02T17:40:14+0100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: wd719x
[2020-12-02T17:40:17+0100] [ALPM-SCRIPTLET]   -> Running build hook: [plymouth-encrypt]
[2020-12-02T17:40:19+0100] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2020-12-02T17:40:21+0100] [ALPM-SCRIPTLET]   -> Running build hook: [resume]
[2020-12-02T17:40:21+0100] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2020-12-02T17:40:26+0100] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2020-12-02T17:40:26+0100] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
[2020-12-02T17:40:43+0100] [ALPM-SCRIPTLET] ==> Image generation successful
[2020-12-02T17:40:43+0100] [ALPM] running 'dbus-reload.hook'...
[2020-12-02T17:40:43+0100] [ALPM] running 'gtk-update-icon-cache.hook'...
[2020-12-02T17:40:44+0100] [ALPM] running 'gtk4-update-icon-cache.hook'...
[2020-12-02T17:40:44+0100] [ALPM] running 'pacdiff.hook'...
[2020-12-02T17:40:44+0100] [ALPM-SCRIPTLET] /etc/systemd/homed.conf.pacnew
[2020-12-02T17:40:44+0100] [ALPM-SCRIPTLET] /etc/systemd/logind.conf.pacnew
[2020-12-02T17:40:44+0100] [ALPM] running 'texinfo-install.hook'...
[2020-12-02T17:40:44+0100] [ALPM] running 'texlive-fmtutil.hook'...
[2020-12-02T17:42:02+0100] [ALPM] running 'texlive-updmap.hook'...
[2020-12-02T17:42:12+0100] [ALPM] running 'update-desktop-database.hook'...
[2020-12-02T17:42:12+0100] [ALPM] running 'update-mime-database.hook'...

I dealt with the two pacnew files already. I don't have homed enabled and the new pacnew just had commented lines. The logind pacnew had a couple of my uncommented lines commented again. For reference, I'll leave here what they are now:

#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.
#
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.
#
# See homed.conf(5) for details

[Home]
#DefaultStorage=
#DefaultFileSystemType=btrfs
#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.
#
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.
#
# See logind.conf(5) for details.

[Login]
#NAutoVTs=6
#ReserveVT=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#InhibitDelayMaxSec=5
#HandlePowerKey=poweroff
#HandleSuspendKey=suspend
#HandleHibernateKey=hibernate
HandleLidSwitch=suspend-then-hibernate
HandleLidSwitchExternalPower=suspend-then-hibernate
#HandleLidSwitchDocked=ignore
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
#LidSwitchIgnoreInhibited=yes
#HoldoffTimeoutSec=30s
#IdleAction=ignore
#IdleActionSec=30min
#RuntimeDirectorySize=10%
#RuntimeDirectoryInodes=400k
#RemoveIPC=yes
#InhibitorsMax=8192
#SessionsMax=8192

Offline

#2 2020-12-03 17:46:40

digitalone
Member
Registered: 2011-08-19
Posts: 355

Re: Shutdown takes 2 minutes because of a stop job

It's the new systemd update. Downgrade systemd, systemd-sysvcompat, systemd-libs and lib32-systemd. It will work correctly.

Offline

Board footer

Powered by FluxBB