Bug 210501

Summary: there should be a easy way to once and for all disable makewhatis
Product: [Fedora] Fedora Reporter: Thorsten Leemhuis <fedora>
Component: manAssignee: Ivana Varekova <varekova>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideKeywords: Reopened
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-10-27 08:40:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Thorsten Leemhuis 2006-10-12 15:59:03 UTC
Description of problem:
I don't need makewhatis, but I can't easily deactive it's cron job (modifing
stuff in /etc/cron.*/ does not count IMHO because that's ugly) -- that's really
annoying because it creates hard-disk and CPU load now and then that's wasted in
my eyes, creates noise and consumes power.

There could be two easy solutions afaics:

- create a seperate subpackage for whatis that gets installed by default. I can
then simply delete it and everything is fine for everyone
- pjones suggested in #fedora-devel that the above seems like a mediocre
solution to him. pjones further: "why not just have an
"/etc/sysconfig/makewhatis" that tells the job whether to actually do anything
or not"

Comment 1 Ivana Varekova 2006-10-24 09:06:01 UTC
This problem sould be solved by editing cron jobs. There is no need to add new
option to disable/enable makewhatis script.

Comment 2 Thorsten Leemhuis 2006-10-24 09:14:54 UTC
(In reply to comment #1)
> This problem sould be solved by editing cron jobs. There is no need to add new
> option to disable/enable makewhatis script.

Enabling cron jobs has several disadvantages 
- the modified files may get overwritten on each update
- if the files are marked correctly and %config in the spec file then rpm will
place a .rpmnew file in the proper place on each update. People like me, that
periodically scan there filesystem for rpmnew files have to look at those file
each time. That sucks.

Reopening. BTW, I can provide a patch to fix this. Just tell me what solution
you might prefer (see first comment in this bug).

Comment 3 Ivana Varekova 2006-10-27 08:40:22 UTC
Your argument seems very reasonably. 
The option (MAKEWHATISDBUPDATES) was added to man.config file - patch is in
man-1.6d-3.
If there is any problem with this option please reopen this bug.