You are not logged in.
~/.zprofile?
Can you as root "su varolbora"?
When you log in as root from the multi-user.target, is there a running dbus process or can you start it and if not, does the strace still cause the ENOENT despite the socket beign present?
Online
There is no .zprofile
I can not su to my user, I get the same Permission denied error
dbus fails twice before I get my tty and also fails when I try to start it
This is the strace I get now
http://0x0.st/XXiu.txt
Also I can not start neither NetworkManager or iwd
Last edited by varolbora5 (2024-04-30 15:50:29)
Offline
The access is after sending a message to the journal what makes more sense.
Before that it looks up the user database… it's whacko, but add a pulse user to the system.
Also please post the output of
find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
Online
I have added a pulse user
and here is the output
https://0x0.st/XXo1.txt
I also still get permission denied trying to login to my user from multi-user and dbus still fails
Last edited by varolbora5 (2024-04-30 20:12:35)
Offline
I also still get permission denied trying to login
What's the exact error message?
Please post a complete system journal after attempting to login as your regular user.
Is zsh still in /etc/shells?
grep zsh /etc/shells
Does it help to chsh to /usr/bin/bash for your regular user
chsh -s /usr/bin/bash varolbora5 # replace your nick w/ your actual username on the system
Online
-- <user>: /home/<user>: change directory failed: Permission denied
is the full error
Yes there still is zsh in the shells file
And after chsh to bash for my user and trying to su to it from the root user I get an error saying
su: failed to execute /usr/bin/bash: Permission denied
Offline
At least we found an oddity
stat /home/<user>
stat /usr/bin/bash
id <user>
Online
also here is the journal from trying to login with my user
http://0x0.st/XXXQ.txt
I'll reply in a bit with the stat commands
Offline
Offline
Your $HOME is 777, but should be 700 - that doesn't explain permission errors, though - rather the opposite.
There's also
May 01 00:47:47 ihateeduroam login[825]: pam_motd(login:session): error scanning directory /etc/motd.d: Permission denied
May 01 00:47:47 ihateeduroam login[825]: pam_motd(login:session): error scanning directory /run/motd.d: Permission denied
May 01 00:47:47 ihateeduroam login[825]: pam_motd(login:session): error scanning directory /usr/lib/motd.d: Permission denied
May 01 00:47:47 ihateeduroam login[825]: pam_systemd(login:session): Failed to create session: The name org.freedesktop.login1 was not provided by any .service files
And
May 01 00:44:36 ihateeduroam systemd-fstab-generator[280]: Failed to create unit file '/run/systemd/generator/-.mount', as it already exists. Duplicate entry in '/etc/fstab'?
May 01 00:44:36 ihateeduroam systemd-fstab-generator[280]: Failed to create unit file '/run/systemd/generator/home.mount', as it already exists. Duplicate entry in '/etc/fstab'?
Please post your /etc/fstab …
Online
http://0x0.st/XXZ8.txt
Seems the entries duplicated for some reason
Offline
Well… did you try to remove the duplicates?
Online
I generated a new fstab and booted but nothing much changed
Here is the journal of the boot, I also tried to su to my user but the same error persisted
http://0x0.st/XXqG.txt
Offline
May 01 16:51:36 ihateeduroam su[1044]: (to slave) root on tty1
May 01 16:51:36 ihateeduroam su[1044]: pam_unix(su:session): session opened for user slave(uid=1000) by root(uid=0)
May 01 16:51:36 ihateeduroam su[1044]: pam_unix(su:session): session closed for user slave
The session opens and immediately closes without any error - this has to be some session script, can you create and log into a fresh user account?
Online
I had created the pulse user as you suggested and trying to login to that I get the same exact error
-- <user>: /home/<user>: change directory failed: Permission denied
is the full error
su: failed to execute /usr/bin/bash: Permission denied
Offline
su pulse -c "bash -lx" 2>&1 | tee /tmp/bash_fail.txt
cat /tmp/bash_fail.txt | curl -F 'file=@-' 0x0.st
Online
Offline
su: failed to execute /usr/bin/bash: Permission denied
stat /usr/bin/bash
Online
Offline
stat /
stat /usr
stat /usr/bin
Online
Offline
File: /
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 259,7 Inode: 2 Links: 17
Access: (0750/drwxr-x---) Uid: ( 0/ root) Gid: ( 0/ root)
You didn't change the permissions of /root but of "/"
chmod 755 /
Online
IT WORKED
Thank you so much
One thing, its not a problem but maybe you know better about it, I use NetworkManager and nmtui to connect to wifi and now it puts a "1" next to the networks that I connect to and asking for wifi passwords even though the wifi profiles already exist
Offline
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
NM will depends on how the wifi password is supposed to be stored and whether that's working or not.
https://wiki.archlinux.org/title/Networ … _passwords
If you end up needing more help with that, please open a new thread - this one's long enough already
Online
Yeah you're right, thanks again
Offline