Bug 210501 - there should be a easy way to once and for all disable makewhatis
Summary: there should be a easy way to once and for all disable makewhatis
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: man
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Ivana Varekova
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-10-12 15:59 UTC by Thorsten Leemhuis
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-10-27 08:40:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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. 



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