You are not logged in.

#1 2023-05-28 12:27:08

schurkenkarl
Member
Registered: 2022-11-25
Posts: 5

User owned systemd services failing on login

Dear community,

I recently updated my system (pacman -Syu) and enabled lvfs testing on my framework 11th gen laptop. Upon restarting it a lot of user services failed and I can barely log in. I suspect there to be an issue either with dbus  or PAM, however I cannot figure out what it is, hence I am asking for your help.

The services failing are:

  • bluetooth

  • fprintd (which I used for pam authentification)

  • iwd

  • NetworkManager

  • shadow

  • systemd-logind

  • upower

  • man-db

  • fwupd

I set up logging in with ly and .xinitrc, which I cannot easily share right now, as I am writing this post from another device, as iwd and network manager are not working. .xinitrc is a copy of /etc/X11/xinit/xinitrc with the following lines added:

# Start my polkit agent
/usr/lib/polkit-gnome/polkit-gnome-authentification-agent-1&

# Start gnome keyring
dbus-update-activation-environment --all
gnome-keyring-agent --start --components=secrets

sxhkd &
~/.fehbg &
slstatus &
exec dwm

strikingly I get the following error message upon tty login:

systemd-logind.service: Failed to locate executable /usr/lib/systemd/systemd-logind: No such file or directory
systemd-logind.service: Failed at step EXEC spawning /usr/lib/systemd/systemd-logind: No such file or directory 

in dmesg i found the following possibly related errors: (excuse the incomplete output, as I am working from another device)

upower.service: Failed to set up user namespacing: Operation not permitted
upower.service: Failed at step USER spwaning /usr/lib/upowerd: Operation not permitted

as well as the following, right after the upower related error above:

ACPI BIOS Error (bug): Could not resolve symbol [\_TZ.ETMD], AE_NOT_FOUND (20220331/psargs-330)
ACPI Error: Aborting method \SB.IETM._OSC due to previous error (AE_NOT_FOUND) (20220331/psargs-330)

In busctl I see that there are no user owned processes.
Journalctl states that the fingerprint authentification daemon fails on login, down the line I see that systemd-homed is not available: Unitdbus-org.freedesktop.home1.service not found and that dbus-daemon activates org.freedesktop.login1.service.
Kernel module drm is also being deactivated.

I initially used the linux-hardened kernel, however I tried to switch to the lts-kernel to avoid possible problems due to restrictions to namespaces, without any success.
Any help and corrections to better follow community guidelines are appreciated.

Offline

Board footer

Powered by FluxBB