net-snmp/net-snmp-5.4.2_snmpconf-selinux.patch

15 lines
365 B
Diff

https://bugzilla.redhat.com/show_bug.cgi?id=248329
Index: local/snmpconf
===================================================================
--- local/snmpconf.orig 2005-08-16 17:59:16.000000000 +0200
+++ local/snmpconf 2008-10-24 15:31:06.798387241 +0200
@@ -682,6 +682,7 @@ sub output_files {
}
}
close(O);
+ system("restorecon $outputf");
}
}