You are not logged in.
Hi,
My arch machine is stuck at boot(?), I get this on tty1, tty2 where sddm is supposed to spawn is a black background with a still _ on the left top corner and a mouse pointer I can move around. I can not use any tty either, they all just have a blinking _ cursor on the top left corner with nothing else. I followed advice from another post saying replace dbus-broker-units with dbus-daemon-units and another that said to reinstall packages with altered files with "--dbonly", but those only added the last 4 lines to the picture I linked. Here is the journal from last boot I took from a live usb. http://0x0.st/XHju.txt
Last edited by varolbora5 (2024-05-01 21:03:19)
Offline
Apr 25 16:50:45 ihateeduroam dbus-daemon[817]: dbus[817]: Unknown username "pulse" in message bus configuration file
Apr 25 16:52:15 ihateeduroam systemd[1]: dbus.service: start operation timed out. Terminating.
Apr 25 16:52:15 ihateeduroam systemd[1]: dbus.service: Failed with result 'timeout'.
…
Apr 25 16:53:47 ihateeduroam sddm-helper[1207]: pam_systemd(sddm-greeter:session): Failed to create session: The name org.freedesktop.login1 was not provided by any .service files
dbus is the problem, but I don't think it's the missing "pulse" user and you're not crashing for dbus-broker as you've replaced that.
sudo LC_ALL=C pacman -Qkk | grep -v ', 0 altered files'
Offline
Offline
python-pylspci aside, this looks unsuspicious.
ps aux | grep dbus
systemctl status dbus.service # this might fail
/usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only # try to run this as root, do you get any error messages?
Offline
https://0x0.st/XH_u.txt
I'm running in chroot so I can't get status and the last commnad doesnt let me upload to 0x0 for some reason so here it is
dbus[32]: Unknown username "pulse" in message bus configuration file
Offline
I'm running in chroot
Ie. the dbus process there is likely the one from the host, before the chroot.
You're likely able to boot the multi-user.target (2nd link below), log in there and check what's going on.
Offline
I can only get a terminal in rescue and can't get internet connection with it, how should I post the outputs?
Offline
You can't get to the multi-user.target?? (That's still a console)
You'd have to redirect the output into files and upload them later from either a chroot or because you put them on a usb key and moved them to a system w/ internet access.
Offline
Offline
1. no dbus process running
2. still just
Apr 26 18:47:00 ihateeduroam systemd[1]: Starting D-Bus System Message Bus...
Apr 26 18:47:00 ihateeduroam dbus-daemon[823]: dbus[823]: Unknown username "pulse" in message bus configuration file
Apr 26 18:48:30 ihateeduroam systemd[1]: dbus.service: start operation timed out. Terminating.
Apr 26 18:48:30 ihateeduroam systemd[1]: dbus.service: Failed with result 'timeout'.
Apr 26 18:48:30 ihateeduroam systemd[1]: Failed to start D-Bus System Message Bus.
but also
Main PID: 823 (code=exited, status=0/SUCCESS)
3. does the command return immediately (after that message) or do you end up w/ a running dbus process?
4.
pacman -Qikk dbus
Offline
No, the command just returns, I don't get a running dbus
https://0x0.st/XHYb.txt
Offline
So the dbus package is fine, but dbus doesn't start.
Revisiting the journal, there's more amiss.
Apr 25 16:50:42 ihateeduroam systemd-fstab-generator[278]: Failed to create unit file '/run/systemd/generator/-.mount', as it already exists. Duplicate entry in '/etc/fstab'?
Apr 25 16:50:42 ihateeduroam systemd-fstab-generator[278]: Failed to create unit file '/run/systemd/generator/home.mount', as it already exists. Duplicate entry in '/etc/fstab'?
…
Apr 25 16:50:43 ihateeduroam (imesyncd)[513]: systemd-timesyncd.service: Failed to connect stdout to the journal socket, ignoring: Permission denied
…
Apr 25 16:50:45 ihateeduroam systemd[1]: systemd-timesyncd.service: Failed with result 'exit-code'.
Apr 25 16:50:45 ihateeduroam systemd[1]: Failed to start Network Time Synchronization.
…
Apr 25 16:50:45 ihateeduroam (imesyncd)[810]: systemd-timesyncd.service: Failed to connect stdout to the journal socket, ignoring: Permission denied
Apr 25 16:50:45 ihateeduroam systemd[1]: systemd-timesyncd.service: Main process exited, code=exited, status=200/CHDIR
Apr 25 16:50:45 ihateeduroam systemd[1]: systemd-timesyncd.service: Failed with result 'exit-code'.
Apr 25 16:50:45 ihateeduroam systemd[1]: Failed to start Network Time Synchronization.
Apr 25 16:50:45 ihateeduroam systemd[1]: systemd-timesyncd.service: Scheduled restart job, restart counter is at 5.
Apr 25 16:50:45 ihateeduroam systemd[1]: systemd-timesyncd.service: Start request repeated too quickly.
Apr 25 16:50:45 ihateeduroam systemd[1]: systemd-timesyncd.service: Failed with result 'exit-code'.
Apr 25 16:50:45 ihateeduroam systemd[1]: Failed to start Network Time Synchronization.
Did you chown/chmod -R anything?
strace -f -tt -o /tmp/dbus.strace /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only # try to run this as root
cat /tmp/dbus.strace | curl -F 'file=@-' 0x0.st # or upload it by any other means necessary
Offline
There was a problem after all this happened where it said /root/ is 700 in filesystem but was supposed to be 750 according to a package, I did a cmod 750 on /root/ but not recursively
the first command also prints out the message about unknown username "pulse"
https://0x0.st/XH6I.txt
Last edited by varolbora5 (2024-04-28 16:35:47)
Offline
11 18:29:35.906833 close(3) = 0
11 18:29:35.906864 socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 3
11 18:29:35.906896 connect(3, {sa_family=AF_UNIX, sun_path="/dev/log"}, 110) = -1 ENOENT (No such file or directory)
11 18:29:35.906929 close(3) = 0
11 18:29:35.907203 exit_group(1) = ?
11 18:29:35.907358 +++ exited with 1 +++
Exits w/ failure after not able to connect to the journald socket.
pacman -Qikk systemd systemd-libs
Offline
Offline
packages are intact as well - are you trying this from the rescue or the multi-user.target?
ls -la /dev /run/systemd /run/systemd/journal
mount
Offline
its from rescue
https://0x0.st/XHIP.txt
https://0x0.st/XHIZ.txt
Offline
lrwxrwxrwx 1 root root 28 Apr 28 19:05 log -> /run/systemd/journal/dev-log
srw-rw-rw- 1 root root 0 Apr 28 19:05 dev-log
So how did we arrive at
11 18:29:35.906896 connect(3, {sa_family=AF_UNIX, sun_path="/dev/log"}, 110) = -1 ENOENT (No such file or directory)
Did you run that while being logged in as root?
Same when testing from the multi-user.target?
Offline
I can't get any interactivity from multi-user, only from rescue, and it logs in as root on rescue so yeah
Offline
So, hail-mary.
Re-install systemd and systemd-libs and dbus.
Remove optimus-manager and slimbookbattery (the latter fails in udev, I wonder whether it runs some broken, blocking scripts from a udev rule)
Disable timesyncd, tor and libvirt.
I'd also suggest to enable sshd but there's no ethernet device? Can you utilize https://wiki.archlinux.org/title/Tethering ?
Offline
Ok, now I get to a login on multi-user after waiting a couple minutes (time out for dbus to start but it fails twice) I get a login, but when I login it goes black and back to the login
Also I get text next to the login saying device disconnected when I unplug the live usb
Last edited by varolbora5 (2024-04-30 10:11:21)
Offline
"Live usb"?
You're not booting the installed system??
when I login it goes black and back to the login
There's probably some bad stuff in your shell rc?
Can you login as root?
Offline
I can login as root
I'm booting the installed system, but I keep the live usb on hand/plugged in since I need it to do anything with an internet connection.
Also I use zsh with oh-my-zsh and tmux just fyi
Offline
I can login as root
profit.
Also I use zsh with oh-my-zsh and tmux just fyi
Oh my… zshell.
Please move away all custom shell configs (don't delete them, so we can inspect them afterwards) and see whether
a) you can login again
b) you can maybe properly boot again…
Offline
I believe I moved my zsh files away, at least the ones I know of (zshrc, zshenv) but I still can not login to my user
Also there was a text that would appear slightly before screen goes dark after login, so I filmed and caught it, it says
/home/<user>: change directory failed: Permission denied
Last edited by varolbora5 (2024-04-30 15:32:56)
Offline