selinux/restorecond
Nicolas Iooss 3c80aa6ac9
restorecond/user: handle SIGTERM properly
When restorecond starts, it installs a SIGTERM handler in order to exit
cleanly (by removing its PID file). When restorecond --user starts,
there is no PID file, and g_main_loop_run() does not stop when master_fd
is closed. This leads to an unkillable service, which is an issue.

Fix this by overriding the handler for SIGTERM in restorecond --user.

Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
2020-04-26 15:14:07 +02:00
..
2016-11-16 11:20:05 -05:00
2016-11-16 11:19:51 -05:00
2020-04-26 15:14:06 +02:00
2019-11-28 13:46:48 +01:00