Fedora26-cloud image builder: Cannot repair SElinux labels on custom network config files [closed]

asked 2017-08-06 14:57:10 -0600

updated 2018-11-04 04:27:30 -0600

hhlp gravatar image

I am creating a Fedora26 cloud image for private openstack cloud using ansible. I am dropping few custom network config files in the /etc/sysctl.d/ and repairing the SElinux labels on it by using setfiles /etc/selinux/targeted/../contextfiles but it seems that the labels are not getting repaired. If I try the same command manually from shell then it is repairing the labels on those files. If anyone is facing same issue or has any info please let me help me out

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by aeperezt
close date 2017-08-06 15:26:19.086179