- Make sure /etc/resolv.conf has restorecon run on it (#451560)

This commit is contained in:
David Cantrell 2008-10-01 22:38:30 +00:00
parent b0d88d60b3
commit f1ade682c4
2 changed files with 8 additions and 1 deletions

View File

@ -93,6 +93,10 @@ make_resolv_conf() {
change_resolv_conf ${rscf}
rm -f ${rscf}
if [ -x /sbin/restorecon ]; then
/sbin/restorecon /etc/resolv.conf >/dev/null 2>&1
fi
fi
}

View File

@ -4,7 +4,7 @@
Summary: DHCP (Dynamic Host Configuration Protocol) server and relay agent
Name: dhcp
Version: 4.0.0
Release: 28%{?dist}
Release: 29%{?dist}
# NEVER CHANGE THE EPOCH on this package. The previous maintainer (prior to
# dcantrell maintaining the package) made incorrect use of the epoch and
# that's why it is at 12 now. It should have never been used, but it was.
@ -445,6 +445,9 @@ fi
%{_libdir}/libdhcp4client.so
%changelog
* Wed Oct 01 2008 David Cantrell <dcantrell@redhat.com> - 12:4.0.0-29
- Make sure /etc/resolv.conf has restorecon run on it (#451560)
* Tue Sep 30 2008 David Cantrell <dcantrell@redhat.com> - 12:4.0.0-28
- Forgot to actually include <errno.h> (#438149)