You are not logged in.

#1 2021-05-06 14:06:37

8690966558
Member
Registered: 2021-05-06
Posts: 1

Unable to login - login process crashes

When logging in using the tty, I am able to type in my username and password, but when the login is successful, the login reverts back to the previous prompt. Booting in through live usb, I uncovered that

dbus-daemon[393]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.8' (uid=0 pid=489 comm="/bin/login -p --        ")
dbus-daemon[393]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.freedesktop.home1.service not found.
login[489]: pam_systemd_home(login:account): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
audit[489]: USER_ACCT pid=489 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_access,pam_unix,pam_permit,pam_time acct="placeholder" exe="/usr/bin/login" hostname=hstnme addr=? terminal=/dev/tty1 res=success'
audit[489]: CRED_ACQ pid=489 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_securetty,pam_shells,pam_faillock,pam_permit,pam_faillock acct="placeholder" exe="/usr/bin/login" hostname=hstnme addr=? terminal=/dev/tty1 res=success'
audit[489]: SYSCALL arch=c000003e syscall=1 success=yes exit=4 a0=5 a1=7ffccf63a210 a2=4 a3=3e8 items=0 ppid=1 pid=489 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=1000 fsgid=0 tty=tty1 ses=5 comm="login" exe="/usr/bin/login" key=(null)
audit: PROCTITLE proctitle=2F62696E2F6C6F67696E002D70002D2D00202020202020
login[489]: pam_unix(login:session): session opened for user placeholder(uid=1000) by LOGIN(uid=0)
 New session 5 of user placeholder.
systemd[1]: Started Session 5 of user placeholder.
login[489]: pam_env(login:session): deprecated reading of user environment enabled
audit[489]: USER_START pid=489 uid=0 auid=1000 ses=5 msg='op=PAM:session_open grantors=pam_loginuid,pam_keyinit,pam_limits,pam_unix,pam_permit,pam_mail,pam_systemd,pam_env acct="placeholder" exe="/usr/bin/login" hostname=hstnme addr=? terminal=/dev/tty1 res=success'
audit[489]: CRED_REFR pid=489 uid=0 auid=1000 ses=5 msg='op=PAM:setcred grantors=pam_securetty,pam_shells,pam_faillock,pam_permit,pam_faillock acct="placeholder" exe="/usr/bin/login" hostname=hstnme addr=? terminal=/dev/tty1 res=success'
audit[489]: ANOM_ABEND auid=1000 uid=0 gid=1000 ses=5 pid=489 comm="login" exe="/usr/bin/login" sig=11 res=1
audit: BPF prog-id=30 op=LOAD
audit: BPF prog-id=31 op=LOAD
audit: BPF prog-id=32 op=LOAD
systemd[1]: Started Process Core Dump (PID 490/UID 0).
audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@3-490-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
 Process 467 (login) of user 0 dumped core.
                                                  
                                                  Stack trace of thread 467:
                                                  #0  0x00007eff4c690a2b __memset_avx2_unaligned_erms (libc.so.6 + 0x164a2b)
                                                  #1  0x0000560adf701ef8 n/a (login + 0x6ef8)
                                                  #2  0x0000560adf6feece n/a (login + 0x3ece)
                                                  #3  0x00007eff4c553b25 __libc_start_main (libc.so.6 + 0x27b25)
                                                  #4  0x0000560adf70015e n/a (login + 0x515e)

When the login is not successful, the login process doesn't crash and displays the normal message.
This happens both on the root and regular user.
Help?

Offline

#2 2021-05-07 06:02:24

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,537

Re: Unable to login - login process crashes

Make sure there's no partial upgrade (run "pacman -Syu"), try whether you can autologin, https://wiki.archlinux.org/title/Getty# … al_console
If so, try to su from there and whether that crashes as well.

From the context, it *could* be due to https://wiki.archlinux.org/title/Enviro … ng_pam_env - https://bugs.archlinux.org/task/67636

Offline

Board footer

Powered by FluxBB