* Re: NIS broken with current glibc
1998-04-12 16:05 NIS broken with current glibc Steven N. Hirsch
@ 1998-04-12 15:26 ` Stephen Williams
1998-04-12 18:20 ` Linking (was: NIS broken with current glibc) Michal Jaegermann
1998-04-13 18:11 ` NIS broken with current glibc Francesco Callari
1 sibling, 1 reply; 6+ messages in thread
From: Stephen Williams @ 1998-04-12 15:26 UTC (permalink / raw)
To: axp-list
shirsch@ibm.net said:
> It's beginning to seem as if NIS is simply never tested before new
> glibc rpms are released.
That's not all.
(First of all, let's be clear what we ar talking about the RedHat distribution
and not alphas in general.)
Actually, I seem to have some of the basics of NIS working. ypcat hosts
works without complaint. ypwhich does not. Perhaps having
"domain icarus.nis server icarus.com"
in /etc/yp.conf helps.
Agreed, portmap is in a sorry state.
I am also having troubles with shared object linking being a bit broken.
For example:
icarus.icarus.com % ldd /usr/X11R6/bin/ghostview
libXaw.so.6 => /usr/X11R6/lib/libXaw.so.6 (0x0000020000004000)
libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x000002000015e000)
libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x0000020000278000)
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x00000200003ea000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x00000200004f8000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x0000020000618000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x000002000072a000)
libc.so.6 => /lib/libc.so.6 (0x0000020000928000)
ld.so.1 => not found
/lib/ld.so.1 => /lib/ld-linux.so.2 (0x0000020001000000)
Ack!
--
Steve Williams "The woods are lovely, dark and deep.
steve@icarus.com But I have promises to keep,
steve@picturel.com and lines to code before I sleep,
http://www.picturel.com And lines to code before I sleep."
^ permalink raw reply [flat|nested] 6+ messages in thread
* NIS broken with current glibc
@ 1998-04-12 16:05 Steven N. Hirsch
1998-04-12 15:26 ` Stephen Williams
1998-04-13 18:11 ` NIS broken with current glibc Francesco Callari
0 siblings, 2 replies; 6+ messages in thread
From: Steven N. Hirsch @ 1998-04-12 16:05 UTC (permalink / raw)
To: axp-list
All,
It's beginning to seem as if NIS is simply never tested before new glibc
rpms are released. I finally got around to upgrading from
glibc-2.0.6-9.alpha.rpm, and discovered that NIS is non-operative with
either glibc-2.0.7-4 or glibc-2.0.7-6. I downloaded and installed the
latest portmap and ypbind packages from 'upgrades' - no joy.
There is a cascade of yp_call failures (from glibc itself) during boot,
and all attempts at using ypcat to show maps result in a "..Can't talk to
portmap. Reason: Connection refused" error.
I forced a downgrade back to glibc-2.0.6-9 (without changing anything
else) and everything began working properly again.
Can someone familiar with the glibc churn please take a look at this?
Steve
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Linking (was: NIS broken with current glibc)
1998-04-12 15:26 ` Stephen Williams
@ 1998-04-12 18:20 ` Michal Jaegermann
1998-04-12 18:42 ` Stephen Williams
0 siblings, 1 reply; 6+ messages in thread
From: Michal Jaegermann @ 1998-04-12 18:20 UTC (permalink / raw)
To: axp-list
Steve Williams writes:
>
> I am also having troubles with shared object linking being a bit broken.
> For example:
>
> icarus.icarus.com % ldd /usr/X11R6/bin/ghostview
> libXaw.so.6 => /usr/X11R6/lib/libXaw.so.6 (0x0000020000004000)
> libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x000002000015e000)
> libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x0000020000278000)
> libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x00000200003ea000)
> libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x00000200004f8000)
> libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x0000020000618000)
> libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x000002000072a000)
> libc.so.6 => /lib/libc.so.6 (0x0000020000928000)
> ld.so.1 => not found
^^^^^^^^^^
What? This is an old loader from the previous distribution.
> /lib/ld.so.1 => /lib/ld-linux.so.2 (0x0000020001000000)
^^^^^^^
And this is the current one (which should be able to load, at least
in theory, older libraries as well - if required).
> Ack!
As all libraries detected by ldd seem to be from RH 5.0 set I am not
sure how did you managed to get this "ld.so.1" there. Smells like
you managed to misconfigure something badly. Do you have some links
going nowhere in your /lib/? And how did you managed to include
a reference to an old loader in your executables?
Loaders themselves are statically linked, for obvious reasons :-), so
missing libraries are not a problem for a loader.
If you happen to really need both current and old libraries (some
commercial stuff in a binary format requires these, for example) then
you will be well advised to separate them in their own directories
and to adjust your /etc/ld.so.conf.
If a new loader indeed does not have hiccups with old libraries (I did
not try that myself) then doing, in lib, 'ln -s ld-linux.so.2 ld.so.1'
should take care of that. Otherwise you need a copy of ld.so.1 itself.
This still does not address the quoted example which looks like
some installation error. Do you have a mixture of old and new libraries
by any chance?
Michal
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Linking (was: NIS broken with current glibc)
1998-04-12 18:20 ` Linking (was: NIS broken with current glibc) Michal Jaegermann
@ 1998-04-12 18:42 ` Stephen Williams
1998-04-12 23:42 ` Michal Jaegermann
0 siblings, 1 reply; 6+ messages in thread
From: Stephen Williams @ 1998-04-12 18:42 UTC (permalink / raw)
To: axp-list
michal@ellpspace.math.ualberta.ca said:
> As all libraries detected by ldd seem to be from RH 5.0 set I am not
> sure how did you managed to get this "ld.so.1" there. Smells like you
> managed to misconfigure something badly. Do you have some links going
> nowhere in your /lib/? And how did you managed to include a reference
> to an old loader in your executables?
*I* didn't do it. These dependencies are there. And that's not the only
program so confused. I did notice that there was a ld.so.1 in /lib that
was a link to ld-2.0.6.so, even after I upgraded to 2.0.7. Of course,
ld-2.0.6.so doesn't exist. Other then that, all the links seem OK.
[root@icarus /lib]# which xpdf
/usr/bin/xpdf
[root@icarus /lib]# ldd /usr/bin/xpdf
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x0000020000006000)
libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x0000020000204000)
libm.so.6 => /usr/lib/libm.so.6 (0x0000020000318000)
libc.so.6 => /lib/libc.so.6 (0x0000020000448000)
ld.so.1 => not found
/lib/ld.so.1 => /lib/ld-linux.so.2 (0x0000020001000000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x000002000062e000)
[root@icarus /lib]# rpm -q xpdf
xpdf-0.7-2
Adding a symbolic link seems to fix it for now.
--
Steve Williams "The woods are lovely, dark and deep.
steve@icarus.com But I have promises to keep,
steve@picturel.com and lines to code before I sleep,
http://www.picturel.com And lines to code before I sleep."
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Linking (was: NIS broken with current glibc)
1998-04-12 18:42 ` Stephen Williams
@ 1998-04-12 23:42 ` Michal Jaegermann
0 siblings, 0 replies; 6+ messages in thread
From: Michal Jaegermann @ 1998-04-12 23:42 UTC (permalink / raw)
To: axp-list
Steve Williams wrote:
>
> > And how did you managed to include a reference
> > to an old loader in your executables?
>
> *I* didn't do it. These dependencies are there. And that's not the only
> program so confused. I did notice that there was a ld.so.1 in /lib that
> was a link to ld-2.0.6.so, even after I upgraded to 2.0.7.
That is exactly the reason why I wrote that you should link
'ln -s ld-linux.so.2 ld.so.1'. Then you will be a minor version
independent. Now you will switch to 2.0.8, or back to 2.0.6, and
you will have the same trouble as before.
I wonder what created this link in the first place. I do not recall
having it after an installation "from scratch" of 5.0.
> Adding a symbolic link seems to fix it for now.
Well, so indeed new linker will work with older libraries. :-)
Michal
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: NIS broken with current glibc
1998-04-12 16:05 NIS broken with current glibc Steven N. Hirsch
1998-04-12 15:26 ` Stephen Williams
@ 1998-04-13 18:11 ` Francesco Callari
1 sibling, 0 replies; 6+ messages in thread
From: Francesco Callari @ 1998-04-13 18:11 UTC (permalink / raw)
To: Steven N. Hirsch; +Cc: axp-list, bugs
On Sun, 12 Apr 1998, Steven N. Hirsch wrote:
>
> It's beginning to seem as if NIS is simply never tested before new glibc
> rpms are released.
My impression too :-(
> I finally got around to upgrading from
> glibc-2.0.6-9.alpha.rpm, and discovered that NIS is non-operative with
> either glibc-2.0.7-4 or glibc-2.0.7-6. I downloaded and installed the
> latest portmap and ypbind packages from 'upgrades' - no joy.
> There is a cascade of yp_call failures (from glibc itself) during boot,
> and all attempts at using ypcat to show maps result in a "..Can't talk to
> portmap. Reason: Connection refused" error.
I can confirm this bug report entirely. glibc-2.0.7.4-alpha actually
nuked my system. 2.0.7-6 seems to be calling portmap incorrectly.
Stracing ypcat shows failure upon connecting to portmap. Straces
available on request.
Note: we use NIS for passwords and groups. Our bind server runs on
an Auspex under SunOS 4.1.4, with NIS version 2 (aka YP).
> I forced a downgrade back to glibc-2.0.6-9 (without changing anything
> else) and everything began working properly again.
Same here.
Ciao
Franco
-------------------------------------------------------------------------
Franco Callari
Centre for Intelligent Machines "Beati coloro che hanno fame e sete
McGill University, 3480 University di giustizia, perche` saranno
Montreal, Quebec, Canada, H3A 2A7 giustiziati." (P. Bellocchio)
franco@cim.mcgill.ca | phone: +(514) 398-3371 | fax: +(514) 398-7348
WWW: <a href="http://www.cim.mcgill.ca/~franco/Home.html> Franco </a>
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1998-04-13 18:11 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-04-12 16:05 NIS broken with current glibc Steven N. Hirsch
1998-04-12 15:26 ` Stephen Williams
1998-04-12 18:20 ` Linking (was: NIS broken with current glibc) Michal Jaegermann
1998-04-12 18:42 ` Stephen Williams
1998-04-12 23:42 ` Michal Jaegermann
1998-04-13 18:11 ` NIS broken with current glibc Francesco Callari
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox