You are not logged in.

#1 2023-08-02 15:08:51

mindbound
Member
Registered: 2011-07-30
Posts: 46

Unable to login after system upgrade

After the latest system update, I am not able to log in to my system, either as a regular user or as root. After entering the user name, the login prompt quietly resets after about a second and keeps behaving this way on subsequent login attempts.

Additionally, a nuimber of services, including mariadb, postgres, and systemd-vconsole-setup ("Failed to start Virtual Console Setup") fail to start now, the latter of which might be related to this.

On shutdown, at the very end of the sequence, I'm getting the following messages:

(direxec)[1172]: Failed to execute /usr/lib/systemd/systemd-shutdown/fwupd.shutdown: No such file or directory
(direxec)[1173]: Failed to execute /usr/lib/systemd/systemd-shutdown/mdadm.shutdown: No such file or directory
(sd-executor)[1171]: /usr/lib/systemd/systemd-shutdown/mdadm.shutdown failed with exit status 1.
(sd-executor)[1171]: /usr/lib/systemd/systemd-shutdown/fwupd.shutdown failed with exit status 1.
systemd-shutdown[1]: Failed to move /run/initramfs to /: Invalid argument
systemd-shutdown[1]: Failed to switch root to "/run/initramfs": Invalid argument

Current kernel version is 6.4.7.arch1-2, system is Lenovo Legion 5 15ARH05. Please advise (at the moment I'm not sure how to even start the troubleshooting process).

Last edited by mindbound (2023-08-02 16:01:41)

Offline

#2 2023-08-02 16:17:19

twelveeighty
Member
Registered: 2011-09-04
Posts: 1,439

Re: Unable to login after system upgrade

There's two sticky'd posts on the Newbie forum that are a good start for the troubleshooting process:

Logs, Output, Versions, Error Messages
and, possibly:
Common Problems and Issues

Offline

#3 2023-08-02 16:25:02

mindbound
Member
Registered: 2011-07-30
Posts: 46

Re: Unable to login after system upgrade

I currently can't access dmesg or journalctl due to not being able to log in to the system.

Last edited by mindbound (2023-08-02 17:10:22)

Offline

#4 2023-08-02 17:46:58

jim002
Member
Registered: 2020-02-17
Posts: 47

Re: Unable to login after system upgrade

it's a bug. https://github.com/systemd/systemd/issues/28645
i'm still no expert but i would mount the partitions properly like in the installation guide, switch to
chroot, downgrade systemd to the previous version AND create new initramfs files. reboot.

(i'm having almost the same odd messages
systemd-shutdown[1]: Failed to move /run/initramfs to /: Invalid argument
systemd-shutdown[1]: Failed to switch root to "/run/initramfs": Invalid argument
+ "Unable to finalize remaining ... devices. Ignoring."
but my engine boots and reboots properly.)

Last edited by jim002 (2023-08-02 18:22:27)

Offline

#5 2023-08-02 17:50:54

mindbound
Member
Registered: 2011-07-30
Posts: 46

Re: Unable to login after system upgrade

Thanks! Could this also be related to the not being able to log in issue? Doesn't look likely to me but that did appear at the same time as the systemd shutdown one (and is currently the more pressing, since there's little I can do without being able to log in).

Offline

#6 2023-08-02 18:00:44

jim002
Member
Registered: 2020-02-17
Posts: 47

Re: Unable to login after system upgrade

i'm using autologin (lightdm, xfce). as said i'm very green. wait for another opinion what to do.
it happened today so one of the latest updates is causing your troubles.
on first attempt i would downgrade systemd. then step by step the other updates.

Last edited by jim002 (2023-08-02 18:26:32)

Offline

#7 2023-08-02 18:43:33

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,787

Re: Unable to login after system upgrade

Before doing any of this, use the iso to get us a journal covering the login failures.
https://wiki.archlinux.org/title/System … al_to_view and the first link below on how to feed it into a pastebin service from the console.

Offline

#8 2023-08-02 18:45:59

mindbound
Member
Registered: 2011-07-30
Posts: 46

Re: Unable to login after system upgrade

seth wrote:

Before doing any of this, use the iso to get us a journal covering the login failures.
https://wiki.archlinux.org/title/System … al_to_view and the first link below on how to feed it into a pastebin service from the console.

Do I simply chroot from the ISO for this? Also, which journals should I provide?

Offline

#9 2023-08-02 18:47:04

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,787

Re: Unable to login after system upgrade

You don't even have to chroot.
The one from the previous boot is likely fine - look at them first, you'll likely be able to see the login failure.

Offline

Board footer

Powered by FluxBB