arla 0.20: getcwd & XFS panics

assar@stacken.kth.se assar at stacken.kth.se
Sat Dec 26 01:11:24 CET 1998


"Brandon S. Allbery KF8NH" <allbery at kf8nh.apk.net> writes:
> In message <5ld857eria.fsf at assaris.sics.se>, assar at stacken.kth.se writes:
> +-----
> |   If you already have a getcwd.so entry in /etc/ld.so.preload and
> |   decide to update to the new version of getcwd.so, please follow
> |   these steps:
> | 
> |   1. Rename /etc/ld.so.preload to /etc/ld.so.preload-not
> |   2. Reboot your machine
> |   3. Copy /usr/arla/lib/getcwd.so to /lib/getcwd.so
> |   4. Reboot your machine
> |   5. Rename /etc/ld.so.preload-not to /etc/ld.so.preload
> |   6. Reboot your machine
> +--->8

That description was extreme in its paranoia. :-)

> This can be done in fewer steps quite safely:
> 
> 1.  Rename /lib/getcwd.so to /lib/getcwd.so.old

What happens if /etc/ld.so.preload references a non-existant file?
Does it handle that?  Otherwise, my suggestion was:

1. mv /etc/ld.so.preload /etc/ld.so.preload.foo
2. mv /lib/getcwd.so /lib/getcwd.so.old
3. cp getcwd.so /lib/getcwd.so
4. mv /etc/ld.so.preload.foo /etc/ld.so.preload

/assar





More information about the Arla-drinkers mailing list