From: Christian Göttsche <cgzones@xxxxxxxxxxxxxx> Fedora is setting optimize-policy to 1 by default, and there seem to be no bugs related to policy optimizations so far. Signed-off-by: Christian Göttsche <cgzones@xxxxxxxxxxxxxx> --- libsemanage/man/man5/semanage.conf.5 | 2 +- libsemanage/src/conf-parse.y | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libsemanage/man/man5/semanage.conf.5 b/libsemanage/man/man5/semanage.conf.5 index 140cb8d9..6a1afc13 100644 --- a/libsemanage/man/man5/semanage.conf.5 +++ b/libsemanage/man/man5/semanage.conf.5 @@ -124,7 +124,7 @@ In order to compile the original HLL file into CIL, the same HLL file will need .TP .B optimize-policy When set to "true", the kernel policy will be optimized upon rebuilds. -It can be set to either "true" or "false" and by default it is set to "false". +It can be set to either "true" or "false" and by default it is set to "true". .TP .B multiple-decls diff --git a/libsemanage/src/conf-parse.y b/libsemanage/src/conf-parse.y index b2b84892..6cb8a598 100644 --- a/libsemanage/src/conf-parse.y +++ b/libsemanage/src/conf-parse.y @@ -396,7 +396,7 @@ static int semanage_conf_init(semanage_conf_t * conf) conf->bzip_small = 0; conf->ignore_module_cache = 0; conf->remove_hll = 0; - conf->optimize_policy = 0; + conf->optimize_policy = 1; conf->multiple_decls = 1; conf->save_previous = 0; -- 2.45.2