Hello, every time yay gets to “Reloading device manager configuration” when updating packages, my system hangs and becomes unresponsive until it is forced off. This happens consistently every time an update needs to do this step. The other day, I forced a shutdown too soon after it hung. I had to chroot in from the bootable ISO and reinstall every package to be able to boot again.
Any ideas on how to resolve this long-term would be appreciated.
So this comes from the /usr/share/libalpm/hooks/30-systemd-udev-reload.hook hook that is provided by systemd.
Which in turn runs /usr/share/libalpm/scripts/systemd-hook udev-reload.
Which would equate to;
if systemd-detect-virt --chroot >/dev/null 2>&1; then
echo >&2 " Skipped: Running in chroot."
exit 0
fi
if ! systemctl is-active --quiet init.scope >/dev/null 2>&1; then
echo >&2 " Skipped: Current root is not booted."
exit 0
fi
if [ ! -S /run/udev/control ]; then
echo >&2 " Skipped: Device manager is not running."
exit 0
fi
/usr/bin/udevadm control --reload
if [ ! -e /etc/systemd/do-not-udevadm-trigger-on-update ]; then
/usr/bin/udevadm trigger -c change
/usr/bin/udevadm settle
fi
Something in there is hanging .. we might guess its something related to udev.