You are not logged in.
Pages: 1
Frequently, when I upgrade packages via pacman -Syu, I'm thrown out to the login screen. When I look at the logs in the journalctl, it says something like this:
июн 15 09:05:05 oughtlinuxdesktop systemd[1]: Reloading requested from client PID 7095 (unit session-1.scope)...
июн 15 09:05:05 oughtlinuxdesktop systemd[1]: Reloading...
июн 15 09:05:05 oughtlinuxdesktop systemd[1]: Reloading finished in 273 ms.
июн 15 09:05:05 oughtlinuxdesktop systemd-udevd[410]: /etc/udev/rules.d/51-trezor.rules:11 Unknown group 'plugdev', ignoring
июн 15 09:05:05 oughtlinuxdesktop systemd-udevd[410]: /etc/udev/rules.d/51-trezor.rules:12 Unknown group 'plugdev', ignoring
июн 15 09:05:05 oughtlinuxdesktop systemd-udevd[410]: /etc/udev/rules.d/51-trezor.rules:15 Unknown group 'plugdev', ignoring
июн 15 09:05:05 oughtlinuxdesktop systemd-udevd[410]: /etc/udev/rules.d/51-trezor.rules:16 Unknown group 'plugdev', ignoring
июн 15 09:05:05 oughtlinuxdesktop systemd-udevd[410]: /etc/udev/rules.d/51-trezor.rules:17 Unknown group 'plugdev', ignoring
июн 15 09:05:05 oughtlinuxdesktop systemd[873]: Reached target Sound Card.
июн 15 09:05:05 oughtlinuxdesktop systemd[873]: Reached target Bluetooth.
июн 15 09:05:05 oughtlinuxdesktop systemd-logind[724]: Watching system buttons on /dev/input/event2 (Power Button)
июн 15 09:05:05 oughtlinuxdesktop systemd-logind[724]: Watching system buttons on /dev/input/event1 (Power Button)
июн 15 09:05:05 oughtlinuxdesktop systemd-logind[724]: Watching system buttons on /dev/input/event0 (Sleep Button)
июн 15 09:05:05 oughtlinuxdesktop systemd-logind[724]: Watching system buttons on /dev/input/event5 (A4TECH USB Device Keyboard)
июн 15 09:05:05 oughtlinuxdesktop systemd-logind[724]: Watching system buttons on /dev/input/event4 (Logitech Gaming Mouse G502 Keyboard)
июн 15 09:05:06 oughtlinuxdesktop systemd[1]: Created slice Slice /system/systemd-coredump.
июн 15 09:05:06 oughtlinuxdesktop systemd[1]: Started Process Core Dump (PID 7248/UID 0).
июн 15 09:05:06 oughtlinuxdesktop systemd-coredump[7249]: [?] Process 804 (Xorg) of user 0 dumped core.
Stack trace of thread 843:
#0 0x00007fdbae006573 n/a (libX11.so.6 + 0xc4573)
ELF object binary architecture: AMD x86-64
июн 15 09:05:06 oughtlinuxdesktop systemd[1]: systemd-coredump@0-7248-0.service: Deactivated successfully.
июн 15 09:05:06 oughtlinuxdesktop at-spi-bus-launcher[958]: X connection to :0 broken (explicit kill or server shutdown).
июн 15 09:05:06 oughtlinuxdesktop xdg-desktop-portal-kde[1691]: The X11 connection broke (error 1). Did the X11 server die?
июн 15 09:05:06 oughtlinuxdesktop polkitd[1093]: Unregistered Authentication Agent for unix-session:1 (system bus name :1.39, object path />
июн 15 09:05:06 oughtlinuxdesktop lxdm-session[871]: pam_unix(lxdm:session): session closed for user ought
июн 15 09:05:06 oughtlinuxdesktop systemd[1]: tmp-.mount_jetbraYDNXwR.mount: Deactivated successfully.
июн 15 09:05:06 oughtlinuxdesktop systemd[1]: tmp-.mount_Raider6vw6e0.mount: Deactivated successfully.
июн 15 09:05:06 oughtlinuxdesktop systemd-logind[724]: Session 1 logged out. Waiting for processes to exit.
июн 15 09:05:07 oughtlinuxdesktop systemd[1]: session-1.scope: Deactivated successfully.
июн 15 09:05:07 oughtlinuxdesktop systemd[1]: session-1.scope: Consumed 4min 14.318s CPU time.
июн 15 09:05:07 oughtlinuxdesktop systemd-logind[724]: Removed session 1.This happens only when I upgrade packages. If nessesary, I can provide some other logs or something like that. Please, help me! =-)
Last edited by ought (2023-06-15 06:13:51)
Offline
See here, https://bbs.archlinux.org/viewtopic.php?id=286408 and https://bugs.archlinux.org/task/77789 I am testing the fix linked there and so far, no dump
Last edited by SimonJ (2023-06-15 06:33:42)
Rlu: 222126
Offline
Thanks for the info! Which fix do you use? The --settle one?
Offline
I have edited /usr/share/libalpm/hooks/30-systemd-udev-reload.hook
[Trigger]
Type = Path
Operation = Install
Operation = Upgrade
Operation = Remove
Target = usr/lib/udev/rules.d/*
[Action]
Description = Reloading device manager configuration...
When = PostTransaction
Exec =
#/usr/share/libalpm/scripts/systemd-hook udev-reloadcomment the exec line
Last edited by SimonJ (2023-06-15 07:08:26)
Rlu: 222126
Offline
Thank you, will try it!
Offline
You shouldn't comment the exec line, but adjust /usr/share/libalpm/scripts/systemd-hook and comment the
udevadm trigger
udevadm settlelines so that the potentially necessary reload of new rules can properly happen, while not triggering a mostly unnecessary reload of everything.
FWIW the Xorg coredump is mostly due to having bogus evdev configuration flying around you probably want to get rid of
grep -R evdev /{etc,usr/share}/X11/xorg.conf.d*some remnants of that in a /usr/share/X11/xorg.conf.d/10-quirks.conf is normal, any other file likely superfluous and wrong/unnecessary.
Last edited by V1del (2023-06-15 08:25:20)
Offline
Got it, thanks!
Offline
Based on the code in /usr/share/libalpm/scripts/systemd-hook
if [ ! -e /etc/systemd/do-not-udevadm-trigger-on-update ]; then
/usr/bin/udevadm trigger -c change
/usr/bin/udevadm settle
fimaybe creating a file to skip the triggering of evdev would be a better approach
/etc/systemd/do-not-udevadm-trigger-on-updateOffline
That solution was added in the latest new revision of the systemd package and not present when this first appeared. So yes it's a "better" solution now, but it's ultimately doing the same thing.
Offline
Pages: 1