You are not logged in.

#1 2023-06-20 22:58:29

Bidski
Member
Registered: 2019-07-31
Posts: 40

[SOLVED] Pacman post-installation hooks cause gnome logout

Recently I have started getting this issue where running pacman -Syu will cause gnome to logout during the post-installation hooks. I think it is happening "Reloading device manager configuration..." hook (/usr/share/libalpm/hooks/30-systemd-udev-reload.hook), but I can't be certain.

This, naturally, leaves my system in an incomplete state. Sometimes it is as innocuous as /var/lib/pacman/db.lck not being deleted after pacman finishes, other times I have no initramfs images or vmlinuz-linux and so my system is unbootable. The exact effect of the logout, I believe, is dependant on what packages were installed in the update.

I have checked pacman.log (contents below) and I can't see anything interesting in there. I'm not really sure how to debug this further though. I added udev_log="debug" to /etc/udev/udev.conf but when I check journalctl I can't see ant logs from udev in there? I also can't see anything interesting in the output of dmesg.

Can anybody give some pointers on how I can track down what is causing this logout to happen?

[2023-06-21T08:32:59+1000] [PACMAN] Running 'pacman -S -u --ignore onnxruntime --ignore python-onnxruntime -y --config /etc/pacman.conf --'
[2023-06-21T08:32:59+1000] [PACMAN] synchronizing package lists
[2023-06-21T08:32:59+1000] [PACMAN] starting full system upgrade
[2023-06-21T08:33:40+1000] [ALPM] transaction started
[2023-06-21T08:33:40+1000] [ALPM] upgraded util-linux-libs (2.39-9 -> 2.39-10)
[2023-06-21T08:33:40+1000] [ALPM] upgraded systemd-libs (253.5-1 -> 253.5-2)
[2023-06-21T08:33:41+1000] [ALPM] upgraded aws-cli-v2 (2.11.27-1 -> 2.12.1-1)
[2023-06-21T08:33:41+1000] [ALPM] upgraded svt-av1 (1.5.0-1 -> 1.6.0-1)
[2023-06-21T08:33:41+1000] [ALPM] upgraded util-linux (2.39-9 -> 2.39-10)
[2023-06-21T08:33:41+1000] [ALPM] upgraded systemd (253.5-1 -> 253.5-2)
[2023-06-21T08:33:42+1000] [ALPM] upgraded firefox (114.0.1-1 -> 114.0.2-1)
[2023-06-21T08:33:42+1000] [ALPM] upgraded fluidsynth (2.3.2-1 -> 2.3.3-1)
[2023-06-21T08:33:42+1000] [ALPM] upgraded gstreamer (1.22.3-6 -> 1.22.4-1)
[2023-06-21T08:33:42+1000] [ALPM] upgraded gst-plugins-base-libs (1.22.3-6 -> 1.22.4-1)
[2023-06-21T08:33:42+1000] [ALPM] upgraded gst-editing-services (1.22.3-6 -> 1.22.4-1)
[2023-06-21T08:33:42+1000] [ALPM] upgraded gst-libav (1.22.3-6 -> 1.22.4-1)
[2023-06-21T08:33:42+1000] [ALPM] upgraded gst-plugins-bad-libs (1.22.3-6 -> 1.22.4-1)
[2023-06-21T08:33:42+1000] [ALPM] upgraded gst-plugin-gtk (1.22.3-6 -> 1.22.4-1)
[2023-06-21T08:33:42+1000] [ALPM] upgraded gst-plugins-bad (1.22.3-6 -> 1.22.4-1)
[2023-06-21T08:33:42+1000] [ALPM] upgraded gst-plugins-base (1.22.3-6 -> 1.22.4-1)
[2023-06-21T08:33:42+1000] [ALPM] upgraded gst-plugins-good (1.22.3-6 -> 1.22.4-1)
[2023-06-21T08:33:42+1000] [ALPM] upgraded gst-python (1.22.3-6 -> 1.22.4-1)
[2023-06-21T08:33:42+1000] [ALPM] upgraded systemd-sysvcompat (253.5-1 -> 253.5-2)
[2023-06-21T08:33:42+1000] [ALPM] upgraded texlive-basic (2023.66594-13 -> 2023.66594-14)
[2023-06-21T08:33:42+1000] [ALPM] upgraded texlive-latex (2023.66594-13 -> 2023.66594-14)
[2023-06-21T08:33:42+1000] [ALPM] upgraded texlive-bibtexextra (2023.66594-13 -> 2023.66594-14)
[2023-06-21T08:33:47+1000] [ALPM] upgraded texlive-fontsextra (2023.66594-13 -> 2023.66594-14)
[2023-06-21T08:33:47+1000] [ALPM] upgraded texlive-fontsrecommended (2023.66594-13 -> 2023.66594-14)
[2023-06-21T08:33:48+1000] [ALPM] upgraded texlive-plaingeneric (2023.66594-13 -> 2023.66594-14)
[2023-06-21T08:33:48+1000] [ALPM] upgraded texlive-formatsextra (2023.66594-13 -> 2023.66594-14)
[2023-06-21T08:33:48+1000] [ALPM] upgraded texlive-games (2023.66594-13 -> 2023.66594-14)
[2023-06-21T08:33:48+1000] [ALPM] upgraded texlive-humanities (2023.66594-13 -> 2023.66594-14)
[2023-06-21T08:33:48+1000] [ALPM] upgraded texlive-latexrecommended (2023.66594-13 -> 2023.66594-14)
[2023-06-21T08:33:48+1000] [ALPM] upgraded texlive-pictures (2023.66594-13 -> 2023.66594-14)
[2023-06-21T08:33:48+1000] [ALPM] upgraded texlive-latexextra (2023.66594-13 -> 2023.66594-14)
[2023-06-21T08:33:48+1000] [ALPM] upgraded texlive-mathscience (2023.66594-13 -> 2023.66594-14)
[2023-06-21T08:33:48+1000] [ALPM] upgraded texlive-music (2023.66594-13 -> 2023.66594-14)
[2023-06-21T08:33:48+1000] [ALPM] upgraded texlive-pstricks (2023.66594-13 -> 2023.66594-14)
[2023-06-21T08:33:48+1000] [ALPM] upgraded texlive-publishers (2023.66594-13 -> 2023.66594-14)
[2023-06-21T08:34:07+1000] [ALPM] transaction completed
[2023-06-21T08:34:09+1000] [ALPM] running '20-systemd-sysusers.hook'...
[2023-06-21T08:34:09+1000] [ALPM] running '30-systemd-catalog.hook'...
[2023-06-21T08:34:09+1000] [ALPM] running '30-systemd-daemon-reload.hook'...
[2023-06-21T08:34:09+1000] [ALPM] running '30-systemd-hwdb.hook'...
[2023-06-21T08:34:10+1000] [ALPM] running '30-systemd-sysctl.hook'...
[2023-06-21T08:34:10+1000] [ALPM] running '30-systemd-tmpfiles.hook'...
[2023-06-21T08:34:10+1000] [ALPM] running '30-systemd-udev-reload.hook'...
[2023-06-21T08:34:10+1000] [ALPM-SCRIPTLET] Found cgroup2 on /sys/fs/cgroup/, full unified hierarchy
[2023-06-21T08:34:10+1000] [ALPM] running '30-systemd-update.hook'...
[2023-06-21T08:34:10+1000] [ALPM] running '70-mktexlsr.hook'...
[2023-06-21T08:34:11+1000] [ALPM] running '72-texlive-fmtutil.hook'...

Last edited by Bidski (2023-06-22 22:37:39)

Offline

#2 2023-06-20 23:21:24

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,780

Re: [SOLVED] Pacman post-installation hooks cause gnome logout

Offline

#3 2023-06-21 18:54:45

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,352

Re: [SOLVED] Pacman post-installation hooks cause gnome logout

Make sure there are no left over traces of something hard requiring the evdev input driver.

grep -R evdev /{etc,usr/share}/X11/xorg.conf*

should only turn up the xorg-server provided "/usr/share/X11/xorg.conf.d/10-quirks.conf"

Offline

#4 2023-06-21 22:30:43

Bidski
Member
Registered: 2019-07-31
Posts: 40

Re: [SOLVED] Pacman post-installation hooks cause gnome logout

This file turned up in the results of that grep

/usr/share/X11/xorg.conf.d/80-evdev.conf:# Catch-all evdev loader for udev-based systems

I'll remove it and cross my fingers

Offline

#5 2023-06-22 22:23:00

Bidski
Member
Registered: 2019-07-31
Posts: 40

Re: [SOLVED] Pacman post-installation hooks cause gnome logout

That looks like it may have been the ticket! Thanks V1del! I just did an update and the "Reloading device manager configuration..." hook ran and no logout

Offline

Board footer

Powered by FluxBB