Red Hat Bugzilla – Bug 61021
bootnet.img 'ps' gives glibc relocation error
Last modified: 2005-10-31 17:00:50 EST
TUI boonet upgrade.
Hit ALT-F2 to access the shell.
'ps' errors out:
ps: relocation error: /mnt/sysimage/lib/libnss_compat.so.2: symbol:
GLIBC_2.0 not defined in file libc.so.6 with link time reference.
Smells like a build problem (possibly gone away with never glibc) of the
No, it's much more interesting than that actually :-)
Basically, ps runs and is dynamically linked against libc. When you go to do
lookups of user ids after the stat() call, glibc recurses through
LD_LIBRARY_PATH looking for nss modules and finds the one in your previously
installed system. The two glibcs are fairly significantly different, thus you
get errors from glibc.
It looks like actually adding an explicit nsswitch.conf in the initrd that only
looks at files fixes the problem so I'll get that into the scripts shortly
Confirmed fixed in the Hampton-re0312.0 tree.