Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jul 1999 14:28:44 +0200
From:      Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
To:        n_hibma@FreeBSD.ORG
Cc:        freebsd-bugs@FreeBSD.ORG
Subject:   Re: bin/12496: yppush broken when pushing to 2 or more slaves
Message-ID:  <19990721142844.A10893@internal>
In-Reply-To: <199907210748.AAA32138@freefall.freebsd.org>; from n_hibma@FreeBSD.ORG on Wed, Jul 21, 1999 at 12:48:15AM -0700
References:  <199907210748.AAA32138@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 21-Jul-1999 at 00:48:15 -0700, n_hibma@FreeBSD.ORG wrote:
> Synopsis: yppush broken when pushing to 2 or more slaves
> 
> Responsible-Changed-From-To: freebsd-bugs->n_hibma
> Responsible-Changed-By: n_hibma
> Responsible-Changed-When: Wed Jul 21 00:47:16 PDT 1999
> Responsible-Changed-Why: 
> If it is true that the server is pushed another copy and this is
> the problem described above, we might just need to add another if

No, it isn't :-). See below.

> statement somewhere. I'll have a look to see whether this is a possible
> solution to the problem.

Well, I think we have got mixed up something here. I'll try to
clarify this know :-)

_I_ have two real slaves and these are the only hosts in ypservers
(the master is not in there). Therefore I experienced the problem
this PR is about.

Bob Willcox has only one real slave but has got this one _and_ the
master in ypservers. So he got as well two hosts to update via
yppush (despite the fact that it makes IMHO no sense in updating
the master). Therefore he is updating two hosts he sees the problem
as well.
After modifying rtld.c, the problem went away for him. With his
report of success, he also stated that it works now for him but
he would have only one slave (and my PR says: yppush broken when
pushing to 2 or more slaves). He overlooked the fact the he
got the master in ypservers...

So, the problem was _not_ solved by removing the master from
ypservers (also it would help in the case of ob Willcox because
he then got only on host remaining there).

My failure was to say "... pushing to 2 or more slaves" it should
have been "... pushing to 2 or more hosts" :-).

Despite of all this above, one should examine if there is a reason
of putting the master in ypservers (I never did) but this probably
doesn't belong to this PR (while I personally don't mind continuing
to discuss it in this thread :-) ).

As I said in another mail, I have already talked with John Polstra
a lot about this because we first assumed to have a bug in rtld.c
but it really appears to be in yppush and is only triggered by
the changed rtld.c. If someone want's to look at it, I will help
as much as I can :-)

	-Andre


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990721142844.A10893>