diff options
Diffstat (limited to 'nscd')
-rw-r--r-- | nscd/nscd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nscd/nscd.c b/nscd/nscd.c index e9bb75d3e9..be693c9d5c 100644 --- a/nscd/nscd.c +++ b/nscd/nscd.c @@ -263,10 +263,6 @@ main (int argc, char **argv) /* In foreground mode we are not paranoid. */ paranoia = 0; - /* Start the SELinux AVC. */ - if (selinux_enabled) - nscd_avc_init (); - signal (SIGINT, termination_handler); signal (SIGQUIT, termination_handler); signal (SIGTERM, termination_handler); @@ -294,6 +290,10 @@ main (int argc, char **argv) /* Init databases. */ nscd_init (); + /* Start the SELinux AVC. */ + if (selinux_enabled) + nscd_avc_init (); + /* Handle incoming requests */ start_threads (); |