sort the hosts by adders, preventing duplicities in migrate*nis*.pl
Resolves: #201540
This commit is contained in:
parent
a9c5392188
commit
cdb3b7b46b
23
MigrationTools-46-unique-hosts.patch
Normal file
23
MigrationTools-46-unique-hosts.patch
Normal file
@ -0,0 +1,23 @@
|
||||
Prevent duplicities in hosts, which are read from NIS.
|
||||
--- MigrationTools-46/migrate_all_nis_online.sh.orig 2007-05-24 11:21:54.000000000 +0200
|
||||
+++ MigrationTools-46/migrate_all_nis_online.sh 2007-05-24 11:26:30.000000000 +0200
|
||||
@@ -67,7 +67,7 @@
|
||||
ypcat $DOMFLAG protocols > $ETC_PROTOCOLS
|
||||
touch $ETC_FSTAB
|
||||
ypcat $DOMFLAG rpc.byname > $ETC_RPC
|
||||
-ypcat $DOMFLAG hosts > $ETC_HOSTS
|
||||
+ypcat $DOMFLAG hosts.byaddr > $ETC_HOSTS
|
||||
ypcat $DOMFLAG networks > $ETC_NETWORKS
|
||||
#ypcat $DOMFLAG -k aliases > $ETC_ALIASES
|
||||
|
||||
--- MigrationTools-46/migrate_all_nis_offline.sh.orig 2007-05-24 11:21:54.000000000 +0200
|
||||
+++ MigrationTools-46/migrate_all_nis_offline.sh 2007-05-24 11:26:13.000000000 +0200
|
||||
@@ -67,7 +67,7 @@
|
||||
ypcat $DOMFLAG protocols > $ETC_PROTOCOLS
|
||||
touch $ETC_FSTAB
|
||||
ypcat $DOMFLAG rpc.byname > $ETC_RPC
|
||||
-ypcat $DOMFLAG hosts > $ETC_HOSTS
|
||||
+ypcat $DOMFLAG hosts.byaddr > $ETC_HOSTS
|
||||
ypcat $DOMFLAG networks > $ETC_NETWORKS
|
||||
#ypcat $DOMFLAG -k aliases > $ETC_ALIASES
|
||||
|
@ -60,6 +60,7 @@ Patch303: MigrationTools-26-suffix.patch
|
||||
Patch304: MigrationTools-46-schema.patch
|
||||
Patch305: MigrationTools-45-noaliases.patch
|
||||
Patch306: MigrationTools-46-ddp.patch
|
||||
Patch307: MigrationTools-46-unique-hosts.patch
|
||||
|
||||
Patch400: db-4.4.20-1.patch
|
||||
Patch401: db-4.4.20-2.patch
|
||||
@ -202,6 +203,7 @@ pushd MigrationTools-%{migtools_version}
|
||||
%patch304 -p1 -b .schema
|
||||
%patch305 -p1 -b .noaliases
|
||||
%patch306 -p1 -b .ddp
|
||||
%patch307 -p1 -b .unique-hosts
|
||||
popd
|
||||
|
||||
autodir=`pwd`/auto-instroot
|
||||
@ -732,6 +734,8 @@ fi
|
||||
- add compat-slapcat to openldap-compat (bz#179378)
|
||||
- do not import ddp services with migrate_services.pl
|
||||
(bz#201183)
|
||||
- sort the hosts by adders, preventing duplicities
|
||||
in migrate*nis*.pl (bz#201540)
|
||||
|
||||
* Mon Apr 23 2007 Jan Safranek <jsafranek@redhat.com> 2.3.34-2%{?dist}
|
||||
- slapadd during package update is now quiet (bz#224581)
|
||||
|
Loading…
Reference in New Issue
Block a user