I have two openSUSE 13.2 i586 (32-bit) systems. From a script, one system logs into the second system using ssh and pre-shared key to the other system with a command invocation on the ssh command. Something like this:
ssh -l myuserid@othersystem "blah-command-here"
This ssh invocation happens about 100 times from the script. On the othersystem, I see this for each and every ssh login that occurs:
sshd[8316]: Accepted publickey for myuserid from 192.168.xxx.xxx port 36048 ssh2: RSA <masked> [MD5]
sshd[8316]: pam_unix(sshd:session): session opened for user myuserid by (uid=0)
systemd[1]: Starting user-1000.slice.
systemd[1]: Created slice user-1000.slice.
systemd[1]: Starting User Manager for UID 1000...
systemd[1]: Starting Session 153 of user myuserid.
systemd[1]: Started Session 153 of user myuserid.
systemd: pam_unix(systemd-user:session): session opened for user myuserid by (uid=0)
systemd-logind[1551]: New session 153 of user myuserid.
systemd[8318]: Starting Paths.
systemd[8318]: Reached target Paths.
systemd[8318]: Starting Timers.
systemd[8318]: Reached target Timers.
systemd[8318]: Starting Sockets.
systemd[8318]: Reached target Sockets.
systemd[8318]: Starting Basic System.
systemd[8318]: Reached target Basic System.
systemd[8318]: Starting Default.
systemd[8318]: Reached target Default.
systemd[8318]: Startup finished in 241ms.
systemd[1]: Started User Manager for UID 1000.
sshd[8320]: Received disconnect from 192.168.xxx.xxx: 11: disconnected by user
sshd[8316]: pam_unix(sshd:session): session closed for user myuserid
systemd-logind[1551]: Removed session 153.
systemd[1]: Stopping User Manager for UID 1000...
systemd[8318]: Stopping Default.
systemd[8318]: Stopped target Default.
systemd[8318]: Stopping Basic System.
systemd[8318]: Stopped target Basic System.
systemd[8318]: Stopping Paths.
systemd[8318]: Stopped target Paths.
systemd[8318]: Stopping Timers.
systemd[8318]: Stopped target Timers.
systemd[8318]: Stopping Sockets.
systemd[8318]: Stopped target Sockets.
systemd[8318]: Starting Shutdown.
systemd[8318]: Reached target Shutdown.
systemd[8318]: Starting Exit the Session...
systemd[8318]: Received SIGRTMIN+24 from PID 8353 (kill).
systemd: pam_unix(systemd-user:session): session closed for user myuserid
systemd[1]: Stopped User Manager for UID 1000.
systemd[1]: Stopping user-1000.slice.
systemd[1]: Removed slice user-1000.slice.
Is there a way to make systemd stop telling me the same set of useless things over, and over, and over… just because someone logged in legitimately to the system?
If it matters:
# systemctl --version
systemd 210
+PAM -LIBWRAP +AUDIT +SELINUX -IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ +SECCOMP +APPARMOR
# rpm -qa | grep systemd
systemd-rpm-macros-2-8.1.2.noarch
systemd-presets-branding-openSUSE-0.3.0-12.7.1.noarch
systemd-bash-completion-210.1456152170.f2b9ea6-25.34.1.noarch
systemd-sysvinit-210.1456152170.f2b9ea6-25.34.1.i586
util-linux-systemd-2.25.1-20.1.i586
systemd-210.1456152170.f2b9ea6-25.34.1.i586
# uname -a
Linux my-node 3.16.7-35-desktop #1 SMP PREEMPT Sun Feb 7 17:32:21 UTC 2016 (832c776) i686 i686 i386 GNU/Linux