forked from pool/apache2
Accepting request 287858 from home:jsegitz:branches:Apache
- Patched get_module_list to ensure proper SELinux context for sysconfig.d/loadmodule.conf OBS-URL: https://build.opensuse.org/request/show/287858 OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=439
This commit is contained in:
committed by
Git OBS Bridge
parent
9eaa42a2d9
commit
35630bb4ed
@@ -105,7 +105,12 @@ done
|
||||
echo >&3 -e "#\n"
|
||||
exec 3<&-
|
||||
chmod 644 $TMPFILE
|
||||
mv $TMPFILE $sysconfdir/sysconfig.d/loadmodule.conf
|
||||
if ! mv -Z $TMPFILE $sysconfdir/sysconfig.d/loadmodule.conf 2>/dev/null; then
|
||||
mv $TMPFILE $sysconfdir/sysconfig.d/loadmodule.conf
|
||||
if selinuxenabled; then
|
||||
restorecon $sysconfdir/sysconfig.d/loadmodule.conf
|
||||
fi
|
||||
fi
|
||||
#echo -n ". "
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user