From 2e60ecb2f760936552f9d6db32d6ecf828b3c322 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 9 Mar 2011 20:12:30 +0100 Subject: [PATCH] selinux: bump up error level when in non-enforcing mode --- TODO | 6 ------ src/selinux-setup.c | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/TODO b/TODO index 237ba7b2a7..8395d692b4 100644 --- a/TODO +++ b/TODO @@ -6,8 +6,6 @@ F15: * isolate multi-user.target doesn't start a getty@tty1 if we run it from graphical.target -* finish syslog socket stuff - * NFS, networkmanager ordering issue * add fstab fields to add wait timeouts, change Wants to Requires by local-fs.target @@ -16,10 +14,6 @@ F15: * mount /dev/.run and /var/run as bind mounts -* Make use of UnknownInterface - -* support chkconfig without forwarding to systemctl to facilitate upgrades - * drop SIGHUP handling from rsyslog.service upstream * teach dbus to activate all services it finds in /etc/systemd/services/org-*.service diff --git a/src/selinux-setup.c b/src/selinux-setup.c index b2beb33d1f..8bd9380775 100644 --- a/src/selinux-setup.c +++ b/src/selinux-setup.c @@ -59,7 +59,7 @@ int selinux_setup(char *const argv[]) { return -errno; } else { - log_full(enforce > 0 ? LOG_ERR : LOG_DEBUG, "Failed to load SELinux policy."); + log_full(enforce > 0 ? LOG_ERR : LOG_WARNING, "Failed to load SELinux policy."); unlink("/dev/.systemd/relabel-devtmpfs");