This commit is contained in:
Karel Klíč 2010-05-19 14:44:31 +00:00
parent c3750f49b8
commit 4bed50269d
2 changed files with 6 additions and 1 deletions

2
nis.sh
View File

@ -56,6 +56,7 @@ nis_config() {
save_config_file ${CONF}
let contents=0
echo '# generated by /sbin/dhclient-script' > ${CONF}
fixContext ${CONF}
if [ -n "${new_nis_servers}" ]; then
for i in ${new_nis_servers} ; do
@ -76,6 +77,7 @@ nis_config() {
elif [ -n "${new_nis_servers}" ]; then
save_config_file ${CONF}
echo '# generated by /sbin/dhclient-script' > ${CONF}
fixContext ${CONF}
let contents=0
for i in ${new_nis_servers} ; do

View File

@ -1,7 +1,7 @@
Summary: The NIS daemon which binds NIS clients to an NIS domain
Name: ypbind
Version: 1.20.4
Release: 23%{?dist}
Release: 24%{?dist}
License: GPLv2
Group: System Environment/Daemons
Source0: ftp://ftp.us.kernel.org/pub/linux/utils/net/NIS/ypbind-mt-%{version}.tar.bz2
@ -103,6 +103,9 @@ fi
%doc README NEWS
%changelog
* Wed May 19 2010 Karel Klic <kklic@redhat.com> - 3:1.20.4-24
- Update SELinux context of /etc/yp.conf in nis.sh (rhbz#593278)
* Thu Apr 15 2010 Karel Klic <kklic@redhat.com> - 3:1.20.4-23
- use cp+rm instead of mv in nis.sh (#509240)