forked from pool/selinux-policy
cbd186764a
- Moved back to fedora policy (20190802) - Removed spec file conditionals for old SELinux userland - Removed config.tgz - Removed patches: * label_sysconfig.selinux.patch * label_var_run_rsyslog.patch * suse_additions_obs.patch * suse_additions_sslh.patch * suse_modifications_apache.patch * suse_modifications_cron.patch * suse_modifications_getty.patch * suse_modifications_logging.patch * suse_modifications_ntp.patch * suse_modifications_usermanage.patch * suse_modifications_virt.patch * suse_modifications_xserver.patch * sysconfig_network_scripts.patch * segenxml_interpreter.patch - Added patches: * fix_djbdns.patch * fix_dbus.patch * fix_gift.patch * fix_java.patch * fix_hadoop.patch * fix_thunderbird.patch * postfix_paths.patch * fix_nscd.patch * fix_sysnetwork.patch * fix_logging.patch * fix_xserver.patch OBS-URL: https://build.opensuse.org/request/show/734854 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/selinux-policy?expand=0&rev=73
23 lines
776 B
Diff
23 lines
776 B
Diff
Index: fedora-policy/support/sedoctool.py
|
|
===================================================================
|
|
--- fedora-policy.orig/support/sedoctool.py 2019-08-21 13:54:02.175947408 +0200
|
|
+++ fedora-policy/support/sedoctool.py 2019-08-21 13:57:57.323782524 +0200
|
|
@@ -810,7 +810,7 @@ if booleans:
|
|
namevalue_list = []
|
|
if os.path.exists(booleans):
|
|
try:
|
|
- conf = open(booleans, 'r')
|
|
+ conf = open(booleans, 'r', errors='replace')
|
|
except:
|
|
error("Could not open booleans file for reading")
|
|
|
|
@@ -831,7 +831,7 @@ if modules:
|
|
namevalue_list = []
|
|
if os.path.exists(modules):
|
|
try:
|
|
- conf = open(modules, 'r')
|
|
+ conf = open(modules, 'r', errors='replace')
|
|
except:
|
|
error("Could not open modules file for reading")
|
|
namevalue_list = get_conf(conf)
|