- Make sure /etc/resolv.conf has restorecon run on it (#451560)
This commit is contained in:
parent
b0d88d60b3
commit
f1ade682c4
@ -93,6 +93,10 @@ make_resolv_conf() {
|
|||||||
|
|
||||||
change_resolv_conf ${rscf}
|
change_resolv_conf ${rscf}
|
||||||
rm -f ${rscf}
|
rm -f ${rscf}
|
||||||
|
|
||||||
|
if [ -x /sbin/restorecon ]; then
|
||||||
|
/sbin/restorecon /etc/resolv.conf >/dev/null 2>&1
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
Summary: DHCP (Dynamic Host Configuration Protocol) server and relay agent
|
Summary: DHCP (Dynamic Host Configuration Protocol) server and relay agent
|
||||||
Name: dhcp
|
Name: dhcp
|
||||||
Version: 4.0.0
|
Version: 4.0.0
|
||||||
Release: 28%{?dist}
|
Release: 29%{?dist}
|
||||||
# NEVER CHANGE THE EPOCH on this package. The previous maintainer (prior to
|
# NEVER CHANGE THE EPOCH on this package. The previous maintainer (prior to
|
||||||
# dcantrell maintaining the package) made incorrect use of the epoch and
|
# 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.
|
# 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
|
%{_libdir}/libdhcp4client.so
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Sep 30 2008 David Cantrell <dcantrell@redhat.com> - 12:4.0.0-28
|
||||||
- Forgot to actually include <errno.h> (#438149)
|
- Forgot to actually include <errno.h> (#438149)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user