diff --git a/src/core/main.c b/src/core/main.c index 6e606d412a..4e1e443a28 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -2603,6 +2603,11 @@ int main(int argc, char *argv[]) { /* clear the kernel timestamp, * because we are not PID 1 */ kernel_timestamp = DUAL_TIMESTAMP_NULL; + + if (mac_selinux_init() < 0) { + error_message = "Failed to initialize SELinux support"; + goto finish; + } } if (arg_system) {