systemd's man-page https://www.freedesktop.org/software/systemd/man/systemd.html says that one can send
SIGRTMIN+21 to the systemd process to disable status message such as
Started Login service. etc. from appearing on the console. The relevant snippet from man page is below:
SIGRTMIN+21 Disables display of status messages on the console, as controlled via systemd.show_status=0 on the kernel command line.
When I look at the process table, there are at least 4 different processes associated with systemd. Which of these is referred to in the man-page?
~# ps -ef |grep [s]ystemd root 448 1 0 18:47 ? 00:00:01 /lib/systemd/systemd-journald root 450 1 0 18:47 ? 00:00:00 /lib/systemd/systemd-udevd root 722 1 0 18:47 ? 00:00:00 /sbin/cgmanager -m name=systemd root 723 1 0 18:47 ? 00:00:00 /lib/systemd/systemd-logind message+ 742 1 0 18:47 ? 00:00:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
I wrote a simple daemon that does nothing other than sleeping for 10 secs continuing and ensured that it starts upon boot.
I took a wild guess and sent the signal to
cgmanager process (pid
# kill -SIGRTMIN+21 722
There were a couple of messages on the console about restarting the Cgroup daemon, but the "Start job ...." message continues to appear on the console:
[ OK ] Stopped Cgroup management daemon. [ OK ] Started Cgroup management daemon. Server lin1 ttyS0 [ ***] A start job is running for Sleep te... initialization (51s / no lim
Has anyone been able to disable console logging like I attempted to do above? If so how?