On 01/04/2017 04:59 AM, Vit Mojzis wrote:
Decrease loglevel of termination message (eg. "restorecond[709]: terminated") to LOG_INFO because it is printed upon normal shutdown of the daemon. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1264505 Signed-off-by: Vit Mojzis <vmojzis@xxxxxxxxxx>
Applied. Thanks,
--- restorecond/watch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/restorecond/watch.c b/restorecond/watch.c index 2be45d4..691df82 100644 --- a/restorecond/watch.c +++ b/restorecond/watch.c @@ -179,7 +179,7 @@ int watch(int fd, const char *watch_file) syslog(LOG_ERR, "Read error (%s)", strerror(errno)); return 0; } - syslog(LOG_ERR, "terminated"); + syslog(LOG_INFO, "terminated"); return -1; } else if (!len) /* BUF_LEN too small? */
-- James Carter <jwcart2@xxxxxxxxxxxxx> National Security Agency _______________________________________________ Selinux mailing list Selinux@xxxxxxxxxxxxx To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx. To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.