summaryrefslogtreecommitdiff
path: root/src/core/selinux-setup.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-11-06 00:04:06 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-11-26 15:16:53 -0500
commit4104970ef78e40e976215cdb0d1b9170a213cc4b (patch)
tree7a4d7bdfda9849fde5362dd027a272f92be9b978 /src/core/selinux-setup.c
parent278ebf8d26f0ebf9d63d8aa1b91a2adbdd8aa4e0 (diff)
manager: log some fatal errors at emergency level
This adds a new log_emergency() function, which is equivalent to log_error() for non-PID-1, and logs at the highest priority for PID 1. Some messages which occur before freezing are converted to use it.
Diffstat (limited to 'src/core/selinux-setup.c')
-rw-r--r--src/core/selinux-setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/selinux-setup.c b/src/core/selinux-setup.c
index 25e22b6c77..7653cccac3 100644
--- a/src/core/selinux-setup.c
+++ b/src/core/selinux-setup.c
@@ -113,7 +113,7 @@ int mac_selinux_setup(bool *loaded_policy) {
if (enforce > 0) {
if (!initialized) {
- log_error("Failed to load SELinux policy. Freezing.");
+ log_emergency("Failed to load SELinux policy. Freezing.");
return -EIO;
}