Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Not a single user can log in on my system
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
leyvi
Apprentice
Apprentice


Joined: 08 Sep 2023
Posts: 154

PostPosted: Sun Feb 23, 2025 10:22 pm    Post subject: Not a single user can log in on my system Reply with quote

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
View user's profile Send private message
leyvi
Apprentice
Apprentice


Joined: 08 Sep 2023
Posts: 154

PostPosted: Sun Feb 23, 2025 10:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1906
Location: Germany

PostPosted: Mon Feb 24, 2025 7:30 am    Post subject: Reply with quote

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
View user's profile Send private message
leyvi
Apprentice
Apprentice


Joined: 08 Sep 2023
Posts: 154

PostPosted: Mon Feb 24, 2025 8:52 am    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54920
Location: 56N 3W

PostPosted: Mon Feb 24, 2025 10:31 am    Post subject: Reply with quote

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
View user's profile Send private message
leyvi
Apprentice
Apprentice


Joined: 08 Sep 2023
Posts: 154

PostPosted: Mon Feb 24, 2025 10:46 am    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54920
Location: 56N 3W

PostPosted: Mon Feb 24, 2025 11:00 am    Post subject: Reply with quote

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
View user's profile Send private message
leyvi
Apprentice
Apprentice


Joined: 08 Sep 2023
Posts: 154

PostPosted: Mon Feb 24, 2025 11:42 am    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54920
Location: 56N 3W

PostPosted: Mon Feb 24, 2025 12:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
pingtoo
Veteran
Veteran


Joined: 10 Sep 2021
Posts: 1509
Location: Richmond Hill, Canada

PostPosted: Mon Feb 24, 2025 12:31 pm    Post subject: Reply with quote

Try to boot in to single user to example rootfs. May be rootfs was corrupted or bad storage.
Back to top
View user's profile Send private message
leyvi
Apprentice
Apprentice


Joined: 08 Sep 2023
Posts: 154

PostPosted: Mon Feb 24, 2025 1:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
leyvi
Apprentice
Apprentice


Joined: 08 Sep 2023
Posts: 154

PostPosted: Mon Feb 24, 2025 1:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
leyvi
Apprentice
Apprentice


Joined: 08 Sep 2023
Posts: 154

PostPosted: Mon Feb 24, 2025 1:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum