Bug 251142 - prelink stopped since I had upgrade to f7
prelink stopped since I had upgrade to f7
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: prelink (Show other bugs)
7
All Linux
low Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-08-07 10:16 EDT by Sergio Monteiro Basto
Modified: 2007-11-30 17:12 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-08-13 12:26:10 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Sergio Monteiro Basto 2007-08-07 10:16:28 EDT
+++ This bug was initially created as a clone of Bug #244065 +++

Description of problem:

well , think I am getting into the problem 

cat /var/log/prelink/prelink.log
cat: /var/log/prelink/prelink.log: No such file or directory
cat /var/lib/misc/prelink.force
(none)
cat /var/lib/misc/prelink.full
Fri May 19 14:51:03 WEST 2006

so no prelink neither run /etc/cron.daily/prelink does anything 

any suggestions ? 


-- Additional comment from sergio@sergiomb.no-ip.org on 2007-08-01 20:38 EST --
Created an attachment (id=160483)
https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=160483
cron.daily/prelink patch
how about this patch ? to put prelink running again
Comment 1 Jakub Jelinek 2007-08-10 09:13:45 EDT
If you don't have
PRELINKING=yes
in your /etc/sysconfig/prelink, then that's desirable action - it should
/usr/sbin/prelink -uav
once and then there is no need to do anything further.
Comment 2 Sergio Monteiro Basto 2007-08-10 09:43:24 EDT
cat /etc/sysconfig/prelink|grep -v \#
PRELINKING=YES
PRELINK_OPTS=-mR
PRELINK_FULL_TIME_INTERVAL=14
PRELINK_NONRPM_CHECK_INTERVAL=5

After upgrade to f7 , results on #1 
Comment 3 Oleg Girko 2007-08-10 10:32:12 EDT
Look at the top of "/etc/cron.daily/prelink" file:

if [ "$PRELINKING" != yes ]; then
  ...

This means that you must have "PRELINKING=yes" (note lowercase "yes") instead 
of "PRELINKING=YES". Actually, "PRELINKING=YES" is functionally equivalent to 
setting "PRELINKING=no" or "PRELINKING=foobar".

Only lowercase "yes" turns on prelinking. Everything else turns it off.
Comment 4 Sergio Monteiro Basto 2007-08-10 12:41:09 EDT
ok, I had put yes in lower case , I will check one fc6 , if YES is on upper case
or not !
Comment 5 Jakub Jelinek 2007-08-13 12:26:10 EDT
It has always been lowercase and accepted always only lowercase as yes.

Note You need to log in before you can comment on or make changes to this bug.