On 11/12/2022 10:16, Terry Barnaby wrote:
I've just updated a test machine from Fedora35 to Fedora37, most
is
working but users logged in using NIS authentication no longer have
access to audio.
The system is using the KDE/Plasma desktop and the sddm login manager
all using X11.
It looks like /run/user/<userid> does not exist and XDG_RUNTIME_DIR is
not set etc.
The system has
/usr/lib/systemd/system/systemd-logind.service.d/nss_nis.conf with the
default contents:
[Service]
IPAddressAllow=any
RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_INET AF_INET6
The first obvious error message in /var/log/messages is:
dbus-daemon[8116]: [session uid=1002 pid=8114] Activated service
'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1
exited with status 1
The start of .xsession-errors has:
Failed to import environment: Process org.freedesktop.systemd1 exited
with status 1
Any ideas ?
For info this looks like a bug. Restarting the systemd-userdbd service
after ypbind has started, is a workaround for the issue.
See:
https://bugzilla.redhat.com/show_bug.cgi?id=2152376