Re: /etc/prelink.cache



On Wed, 2007-10-31 at 11:29 -1000, Dave Burns wrote:
I could hear this as either "this file changes too unpredictably, go
ahead and ignore it" or "this file only changes when something
significant happens, it will be a good signal of bad activity,
assuming you keep track of your valid system changes such as yum
updates."

That's the ticket for prelink.cache. If it changes, there was a change
to the system that (can) be important...something in the system
libraries (or their directories) changed.

So let's be very explicit. If I never updated my system or installed
new software ever again, would /etc/prelink.cache ever change? Is it a
canary or a cuckoo bird?

If you NEVER update the system or install new packages, the _content_
shouldn't change. The atime may change since I think it's scanned by
prelink, but I won't swear to that.

On 10/31/07, Rick Stevens <rstevens@xxxxxxxxxxxx> wrote:
On Wed, 2007-10-31 at 08:51 -1000, Dave Burns wrote:
idea? Are changes to this file more predictable than I am supposing?

There are a number of files that will change depending on system
activity and that's one of them. Lots of the files in /var/log will
also change (messages, dmesg, boot.log, wtmp, you get the idea).

prelink is run once a day via the system crontab and its control file
/etc/cron.daily/prelink. The cache will change if system libraries are
updated via yum/rpm or you build something that adds libraries to the
normal system directories. This is controlled by /etc/prelink.conf.

----------------------------------------------------------------------
- Rick Stevens, Principal Engineer rstevens@xxxxxxxxxxxx -
- CDN Systems, Internap, Inc. http://www.internap.com -
- -
- Time: Nature's way of keeping everything from happening at once. -
----------------------------------------------------------------------

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


----------------------------------------------------------------------
- Rick Stevens, Principal Engineer rstevens@xxxxxxxxxxxx -
- CDN Systems, Internap, Inc. http://www.internap.com -
- -
- The gene pool could use a little chlorine. -
----------------------------------------------------------------------

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: Prelink eating all my resources
    ... On 7/29/05, Jakub Jelinek wrote: ... >> I don't think this is a a swap problem. ... >> a bug in prelink or something it uses. ... > rarely used library or just a package with binaries, not libraries, it ...
    (Fedora)
  • Re: reexecuting prelink
    ... Isn't a shame that firefox and openoffice.org couldn't be prelinked due ... are the main reasons to use prelink. ... > The problem is that these programs use shared libraries stored in ...
    (Fedora)
  • Re: Error when prelinking firefox
    ... > I try to prelink mozilla firefox. ... Libraries are only searched for in each of the paths ... firefox) adds all those library paths to LD_LIBRARY_PATH before executing ...
    (Debian-User)
  • Re: reexecuting prelink
    ... > find one of the dependencies ... > not able to take advantage of prelink. ... It just means openoffice.org or firefox could not be prelinked. ... The problem is that these programs use shared libraries stored in ...
    (Fedora)