prelink should not mess with running executables

Benny Amorsen benny+usenet at amorsen.dk
Sun Jul 15 21:49:33 UTC 2012


Sam Varshavchik <mrsam at courier-mta.com> writes:

> It took me a while to figure out why my daemon kept breaking all the
> time, when it couldn't stat its /proc/self/exe any more.

Perhaps it's just me, but why would the daemon stat /proc/self/exe? I
presume prelink writes a new file and renames into place as a proper
Unix program should, which still leaves the original program intact on
disk until the last open file descriptor referring to it is gone.


/Benny


More information about the devel mailing list