On Sun, 2012-07-15 at 15:45 +0200, Jan Kratochvil wrote:
On Sat, 14 Jul 2012 16:19:23 +0200, Sam Varshavchik wrote:
> 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.
This is a bug of the daemon. While it is already suspicious it needs to mess
with "/proc/self/exe" stat works for it even when it is already deleted:
cp /usr/bin/perl /tmp/perlcopy;/tmp/perlcopy -MData::Dumper -le 'unlink
"/tmp/perlcopy";print Dumper stat,readlink for "/proc/self/exe"'
$VAR1 = 18;
[...]
$VAR13 = 32;
$VAR14 = '/tmp/perlcopy (deleted)';
On Sat, 14 Jul 2012 16:43:13 +0200, Reindl Harald wrote:
> it should be generally considered if prelink is useful at
> all on a distribution with high frequently updates
This is a bug of yum, it should run prelink for any updated software.
I'd be more inclined to say it's a bug in our rpm setup, in that we're
not using collections yet to get rid of boilerplate crap like
%post -p /sbin/ldconfig
The feature's been there since rpm 4.9.0 (F15). Why aren't we using it
yet?
- ajax