Suddenly (probably after installing systemd updates this morning)
it takes 30 seconds or so for an NIS user to login via ssh and
I see this nonsense show up in the log:
Jan 16 14:53:33 tomh systemd-logind[811]: New session 11 of user tom.
Jan 16 14:53:33 tomh systemd[1]: Failed to mount /userland.
Jan 16 14:53:33 tomh systemd-logind[811]: Session 11 logged out. Waiting for processes to
exit.
Jan 16 14:53:33 tomh systemd-logind[811]: Removed session 11.
Jan 16 14:53:34 tomh systemd[3119]: Listening on Sound System.
Jan 16 14:53:34 tomh systemd[3119]: Starting D-Bus User Message Bus Socket.
Jan 16 14:53:34 tomh systemd[3119]: Listening on Multimedia System.
Jan 16 14:53:34 tomh systemd[3119]: Reached target Paths.
Jan 16 14:53:34 tomh systemd[3119]: Started Mark boot as successful after the user session
has run 2 minutes.
Jan 16 14:53:34 tomh systemd[3119]: Reached target Timers.
Jan 16 14:53:34 tomh systemd[3119]: Listening on D-Bus User Message Bus Socket.
Jan 16 14:53:34 tomh systemd[3119]: Reached target Sockets.
Jan 16 14:53:34 tomh systemd[3119]: Reached target Basic System.
Jan 16 14:53:34 tomh systemd[3119]: Starting Sound Service...
Jan 16 14:53:34 tomh dbus-daemon[822]: [system] Rejected send message, 2 matched rules;
type="method_call", sender=":1.90" (uid=2304 pid=3129
comm="/usr/bin/pulseaudio --daemonize=no ")
interface="org.freedesktop.DBus.ObjectManager"
member="GetManagedObjects" error name="(unset)"
requested_reply="0" destination="org.bluez" (bus)
Jan 16 14:53:34 tomh systemd[3119]: Started D-Bus User Message Bus.
Jan 16 14:53:34 tomh dbus-daemon[3157]: [session uid=2304 pid=3157] Activating service
name='org.gnome.GConf' requested by ':1.1' (uid=2304 pid=3156
comm="/usr/libexec/pulse/gconf-helper ")
Jan 16 14:53:34 tomh dbus-daemon[3157]: [session uid=2304 pid=3157] Successfully activated
service 'org.gnome.GConf'
Jan 16 14:53:34 tomh systemd[3119]: Started Sound Service.
Jan 16 14:53:34 tomh pulseaudio[3129]: E: [pulseaudio] bluez5-util.c: GetManagedObjects()
failed: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules;
type="method_call", sender=":1.90" (uid=2304 pid=3129
comm="/usr/bin/pulseaudio --daemonize=no ")
interface="org.freedesktop.DBus.ObjectManager"
member="GetManagedObjects" error name="(unset)"
requested_reply="0" destination="org.bluez" (bus)
Jan 16 14:53:34 tomh systemd[3119]: Reached target Default.
Jan 16 14:53:34 tomh systemd[3119]: Startup finished in 690ms.
Jan 16 14:53:44 tomh systemd[3119]: Stopping D-Bus User Message Bus...
Jan 16 14:53:44 tomh systemd[3119]: Stopped target Default.
Jan 16 14:53:44 tomh systemd[3119]: Stopping Sound Service...
Jan 16 14:53:44 tomh systemd[3119]: Stopped D-Bus User Message Bus.
Jan 16 14:53:44 tomh systemd[3119]: Stopped Sound Service.
Jan 16 14:53:44 tomh systemd[3119]: Stopped target Basic System.
Jan 16 14:53:44 tomh systemd[3119]: Stopped target Paths.
Jan 16 14:53:44 tomh systemd[3119]: Stopped target Timers.
Jan 16 14:53:44 tomh systemd[3119]: Stopped Mark boot as successful after the user session
has run 2 minutes.
Jan 16 14:53:44 tomh systemd[3119]: Stopped target Sockets.
Jan 16 14:53:44 tomh systemd[3119]: Closed Multimedia System.
Jan 16 14:53:44 tomh systemd[3119]: Closed D-Bus User Message Bus Socket.
Jan 16 14:53:44 tomh systemd[3119]: Closed Sound System.
Jan 16 14:53:44 tomh systemd[3119]: Reached target Shutdown.
Jan 16 14:53:44 tomh systemd[3119]: Starting Exit the Session...
Jan 16 14:53:44 tomh systemd[3119]: Received SIGRTMIN+24 from PID 3179 (kill).
Most of the delay follows that last message. Any idea how to make
NIS login work fast again?
If I login as a local user the only message I see is:
Jan 16 15:01:20 tomh systemd-logind[811]: New session 23 of user tweety.
and the login is immediate.