* NEWS, src/userdel.c: Fixed SE Linux support. semanage should be
called at the end. * src/useradd.c: Always call selinux_update_mapping() (i.e. semanage), not only when -Z is used.
This commit is contained in:
@@ -2010,9 +2010,7 @@ int main (int argc, char **argv)
|
||||
close_files ();
|
||||
|
||||
#ifdef WITH_SELINUX
|
||||
if (Zflg) {
|
||||
selinux_update_mapping ();
|
||||
}
|
||||
selinux_update_mapping ();
|
||||
#endif
|
||||
|
||||
nscd_flush_cache ("passwd");
|
||||
|
||||
Reference in New Issue
Block a user