arla 0.20: getcwd & XFS panics

Ken Raeburn raeburn at raeburn.org
Mon Dec 28 05:33:33 CET 1998


What about:

	ln -f /lib/getcwd.so /lib/getcwd.so.old
	cp getcwd.so /lib/getcwd.so.new
	mv -f /lib/getcwd.so.new /lib/getcwd.so

?

Then you shouldn't have the intermediate states where there's no
ld.so.preload, or no /lib/getcwd.so; only the before and after states.
(Assuming no one else is updating getcwd.so at the same time, etc.)

Also, if you put the previous recommended directions in a script to
run, there's a very slim chance a process could read ld.so.preload and
then not find /lib/getcwd.so, if it's extremely unlucky.





More information about the Arla-drinkers mailing list