Hello,
we have problems with Leap 16.0 and NFSv3 and NIS/ypbind.
In Leap 15.6 our setup in the company works fine.
For Leap 16.0 use the package ypbind from https://download.opensuse.org/repositories/network:/NIS/16.0/
The Login-Process works via console, also automounting the home of the user via console after login.
getent passwd or getent group works.
But the login with sddm fails.
We tried Wayland and X11, no difference.
We mount NFS with no_root_squash to start.
Has anyone a working sddm with userhomes on NFS with Leap 16?
Greetings, Nina
ps. for Logs see https://bugzilla.opensuse.org/show_bug.cgi?id=1261148
Welcome to openSUSE Forums. I had a quick look at the bug report.
This caught my attention…
yp_bind_client_create_v3: RPC: Remote system error - Address family not supported by protocol
That could indicate an IPv4/IPv6 mismatch perhaps eg the client attempting IPv6 while the NIS/RPC server only supports IPv4.
Anyway try disabling IPv6 and see whether that helps here.
How does your NIS server resolve?
getent hosts <nis-server-name>
If you observe an IPv6 address, try forcing an IPv4 address via /etc/hosts. For example…
192.168.1.10 nis-server-name
(Use the actual IPv4 address and hostname your ypbind config uses)
Restart and see if that helps.
1 Like
Hello,
we have completely disabled IPv6.
getent hosts <nis-server-name>
resolves to the correct IPv4 address.
cat /etc/yp.conf
ypserver <nis-server-ipv4-address>
Login with cli works as expected:
su - <nis-username>
But the graphical login doesn’t work at all.
Ok, thanks for the update. It was a hunch based on the reported message. Anyway, you’ll need to investigate the session failure issue from the logs.
sudo journalctl -b | grep -E "pam_systemd|session"
or from a previous boot
sudo journalctl -b -1| grep -E "pam_systemd|session"
~> sudo journalctl -b | grep -E "pam_systemd|session"
Apr 14 16:01:04 tc-03 sddm-greeter-qt6[1427]: Reading from "/usr/share/xsessions/plasma6.desktop"
Apr 14 16:01:04 tc-03 sddm[1376]: Reading from "/usr/share/xsessions/plasma6.desktop"
Apr 14 16:01:04 tc-03 sddm[1376]: Session "/usr/share/xsessions/plasma6.desktop" selected, command: "/usr/bin/startplasma-x11" for VT 2
Apr 14 16:01:04 tc-03 sddm-helper[1551]: pam_systemd(sddm:session): Failed to create session: No such process
Apr 14 16:01:04 tc-03 sddm-helper[1551]: pam_unix(sddm:session): session opened for user tup(uid=1030) by tup(uid=0)
Apr 14 16:01:04 tc-03 sddm-helper[1551]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_open_session
Apr 14 16:01:04 tc-03 sddm-helper[1411]: [PAM] Closing session
Apr 14 16:01:04 tc-03 sddm-helper[1411]: pam_unix(sddm-greeter:session): session closed for user sddm
Apr 14 16:01:04 tc-03 sddm-helper[1411]: pam_kwallet5(sddm-greeter:session): pam_kwallet5: pam_sm_close_session
Apr 14 16:01:04 tc-03 systemd[1]: session-1.scope: Deactivated successfully.
Apr 14 16:01:04 tc-03 systemd[1]: session-1.scope: Consumed 25.592s CPU time.
Apr 14 16:01:04 tc-03 systemd-logind[1286]: Removed session 1.
Apr 14 16:01:04 tc-03 sddm-helper[1551]: Starting X11 session: "" "/usr/etc/X11/xdm/Xsession \"/usr/bin/startplasma-x11\""
Apr 14 16:01:14 tc-03 systemd-logind[1286]: Removed session 2.
Mod edit: Output as preformatted text