There's a service called user/session-monitor.service whose execstart is /bin/sleep infinity
. What is this used for? sleep is used by bash scipts to slow processes in a while loop, giving a chance to the user to kill the process. But with this sleep infinity, a pkill -9 sleep will match. Also killing this process, for some reason, kills the current X session.
What is this service unit supposed to be doing?
0 Answers