Hide Forgot
libselinux-2.1.6-5.fc16.x86_64 libselinux-python-2.1.6-5.fc16.x86_64 selinux-policy-3.10.0-75.fc16.noarch libselinux-utils-2.1.6-5.fc16.x86_64 selinux-policy-targeted-3.10.0-75.fc16.noarch Description of problem: # /usr/sbin/semanage boolean -m -S targeted -F /dev/stdin /etc/selinux/targeted/contexts/files/file_contexts.local: line 4 has invalid regex /etc/sysconfig/network-scripts/ifcfg-(*)?: Invalid preceding regular expression # cat /etc/selinux/targeted/contexts/files/file_contexts.local # This file is auto-generated by libsemanage # Do not edit directly. /etc/sysconfig/network-scripts/ifcfg-(*)? system_u:object_r:net_conf_t:s0 /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt system_u:object_r:net_conf_t:s0
How did you add the first definition? $ semanage fcontext -a -t net_conf_t "/etc/sysconfig/network-scripts/ifcfg-(*)" /etc/selinux/targeted/contexts/files/file_contexts.local: line 4 has invalid regex /etc/sysconfig/network-scripts/ifcfg-(*): Invalid preceding regular expressio
Ahh, I see "/etc/selinux/targeted/contexts/files/file_contexts.local" is updated and this labeling is added which causes issues. You will need to delete it from this file by hand.
Miroslav are you saying the semanage command allowed the bad data in?
(In reply to comment #3) > Miroslav are you saying the semanage command allowed the bad data in? Yes. But I have not looked at it yet.
Miroslav going through old bugs, is this one fixed?
Yes, we fixed it.