View previous topic :: View next topic |
Author |
Message |
leyvi Apprentice

Joined: 08 Sep 2023 Posts: 155
|
Posted: Sun Feb 23, 2025 10:22 pm Post subject: Not a single user can log in on my system |
|
|
Not technically a kernel issue, but definately a system one:
Checked permissions for login shells, all good.
Nothing in syslog. Started in the middle of my last update: after I locked the screen (I use KDE) I couldn't unlock, and trying to log in from a VT would tell me that the user did not exist (for every single one).
If you're wondering how I got the logs, I used the livecd.
Get this weird thing printed when I open a new tmux pane after chrooting into my system:
Code: | flatpack: /usr/lib64/libjson-glib-1.0.so.0: no version information available (required by flatpak) |
Strange, I haven't started any flatpacks. Got the same message in my terminal right before I locked the screen for the last time.
Tried putting that path into emerge oneshot. No change.
I need to use this computer for school. Someone please help me! |
|
Back to top |
|
 |
leyvi Apprentice

Joined: 08 Sep 2023 Posts: 155
|
Posted: Sun Feb 23, 2025 10:46 pm Post subject: |
|
|
UPDATE:
In rc.log was a whole bunch of errors about different systemd modules missing symbol definitions. Not good.
I use OpenRC, but there are a few services that depend on systemd.
I noticed during my last update that the strip command kept failing at the end of each emerge, something to do with object files not being formatted correctly. Maybe there's a connection? Tried oneshotting all the relevant systemd-related packages, failed due to an undefined symbol named crypt_r. |
|
Back to top |
|
 |
Banana Moderator


Joined: 21 May 2004 Posts: 1905 Location: Germany
|
Posted: Mon Feb 24, 2025 7:30 am Post subject: |
|
|
without any error or log files it is hardly possible to provide you any good solution.
So here is just a wild guess:
Maybe something failed during the last update? Power outage? Disk failure?
It sounds like something is really off.
I think the best way, if possible, to boot from a USB stick and chroot into it. _________________ Forum Guidelines
PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire |
|
Back to top |
|
 |
leyvi Apprentice

Joined: 08 Sep 2023 Posts: 155
|
Posted: Mon Feb 24, 2025 8:52 am Post subject: |
|
|
As mentioned, I did try chrooting into my system from livecd. I didn't find much. Tried emerge oneshotting some stuff that looked sus. I will use wgetpaste to upload my entire log directory for analysis as soon as I get home.
Should I try updating my @world from inside the chroot?
Also, the one thing I did find in my logs were a lot of errors related to undefined symbols, missing functionality, and during my last update strip kept failing, something about invalid file formats. |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 54921 Location: 56N 3W
|
Posted: Mon Feb 24, 2025 10:31 am Post subject: |
|
|
leyvi,
Has your console keymap got (re)set?
/etc/conf.d/keymaps: | # Use keymap to specify the default console keymap. There is a complete tree
# of keymaps in /usr/share/keymaps to choose from.
#keymap="us"
keymap="dvorak-uk"
... |
I hate the default too :) _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
leyvi Apprentice

Joined: 08 Sep 2023 Posts: 155
|
Posted: Mon Feb 24, 2025 10:46 am Post subject: |
|
|
Thanks for the suggestion, Ned. I'll look into it as soon as I get home.
I don't think that's the issue though. My OS (without the LiveCD) boots fine, with a few systemd-related services failing. When I type any of my usersnames into the login prompt, they come out the way I'd expect (typing "root" yields "root"), just login doesn't like them. |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 54921 Location: 56N 3W
|
Posted: Mon Feb 24, 2025 11:00 am Post subject: |
|
|
leyvi,
Is PAM if you use it, in a mess?
Keymaps cam be quite subtle.
us and gb are very similar, with a few keys swapped. Usernames are OK. Passwords may not be, if you use one or more of the swapped symbols. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
leyvi Apprentice

Joined: 08 Sep 2023 Posts: 155
|
Posted: Mon Feb 24, 2025 11:42 am Post subject: |
|
|
No, I don't use PAM. Perhaps the issue is related to all the errors to do with symbols mentioned previously? You'll definately see them, once I upload the log directory.
Also: if I wgetpaste a tarball, would that be convenient for you guys? I can provide a PGP signature as well, if you like. |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 54921 Location: 56N 3W
|
Posted: Mon Feb 24, 2025 12:08 pm Post subject: |
|
|
leyvi,
Play with the -s and -S options to wgetpaste. Different sites have different size limits.
Downloading things makes us all nervous. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
pingtoo Veteran


Joined: 10 Sep 2021 Posts: 1509 Location: Richmond Hill, Canada
|
Posted: Mon Feb 24, 2025 12:31 pm Post subject: |
|
|
Try to boot in to single user to example rootfs. May be rootfs was corrupted or bad storage. |
|
Back to top |
|
 |
leyvi Apprentice

Joined: 08 Sep 2023 Posts: 155
|
Posted: Mon Feb 24, 2025 1:12 pm Post subject: |
|
|
I just got home:
File: /etc/conf.d/keymaps Code: | keymap="us"
windowkeys="YES"
extended_keymaps=""
dumpkeys_charset=""
fix_euro="NO" | This looks fine to me. |
|
Back to top |
|
 |
leyvi Apprentice

Joined: 08 Sep 2023 Posts: 155
|
Posted: Mon Feb 24, 2025 1:13 pm Post subject: |
|
|
pingtoo wrote: | Try to boot in to single user to example rootfs. May be rootfs was corrupted or bad storage. | rootfs is fine. Using it now with LiveCD. |
|
Back to top |
|
 |
leyvi Apprentice

Joined: 08 Sep 2023 Posts: 155
|
Posted: Mon Feb 24, 2025 1:35 pm Post subject: |
|
|
OK, here's the link:
https://0x0.st/8ABy.tar.xz
Let me know if you want a signature or a checksum.
Files included:- auth.log
- dmesg
- emerge.log
- kern.log
- messages
- rc.log
- sddm.log
- syslog
|
|
Back to top |
|
 |
leyvi Apprentice

Joined: 08 Sep 2023 Posts: 155
|
Posted: Mon Feb 24, 2025 1:48 pm Post subject: |
|
|
NeddySeagoon wrote: | leyvi,
Is PAM if you use it, in a mess?
Keymaps cam be quite subtle.
us and gb are very similar, with a few keys swapped. Usernames are OK. Passwords may not be, if you use one or more of the swapped symbols. | Holly cow, I just took a closer look at rc.log: loads of PAM stuff since last update, errors on login attempts due to "Module is unknown". Faulty PAM module errors as well. I never use PAM, and I've never even played with it. I didn't enable this.
A lot of the errors have to do with missing symbols, mainly related to cryptography functions. That could definately be the cause of my problems, as well as the failed systemd services.
EDIT: I've checked my USE flags, and pam is set globally for some reason; should I unset it and emerge -uDU @world? |
|
Back to top |
|
 |
|