| Summary: | makewhatis issue with cron script | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | brian peterson <brianpeterson2> |
| Component: | RPM Packages | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | doktor5000, luigiwalser, thierry.vignaud |
| Version: | 5 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | man-1.6g-10.mga5.src.rpm | CVE: | |
| Status comment: | |||
|
Description
brian peterson
2015-02-20 03:21:34 CET
" There is "-u -w" passed to makewhatis in the cron script.. trying the command alone as "makewhatis<cron>" was then later able to show me whatis entries with "apropos <search string> <enter>" " ^ typo, command passed without parameters that was issued was "makewhatis<enter>" BP probably the worst bugreport I ever written lol The real solution is to switch from the old man implementation we still have to man-db. I've been planning this for a long time, but still haven't gotten around to it. I know when OpenMandriva switched to it there was *something* else somewhere that they needed to change, like something that wasn't needed anymore, and it's possibly related to this, I just can't remember exactly. CC:
(none) =>
luigiwalser Note to self, when switching to man-db, changes like this may need to be made to packages like man-pages-{zh,it,ru,fr,id,ko,da,hu,pl}:
https://abf.rosalinux.ru/openmandriva/man-pages-da/commit/131a6dad6ea044dbd96ca6c9e7e6ff30c206c986
This commit to man-pages may also be relevant:
https://abf.rosalinux.ru/import/man-pages/commit/56901da8a98fbe0389972a42dc1db102a81d8c9d
Samuel Verschelde
2015-06-01 00:14:08 CEST
Whiteboard:
(none) =>
MGA5TOO (In reply to David Walser from comment #4) > Note to self, when switching to man-db ... Well, wasn't cauldron already switched to man-db? At least tv removed the makewhatis cache generation in the man-pages-{de,zh,it,ru,fr,id,ko,da,hu,pl} packages already with no replacement. So this bug report can't be against cauldron, as makewhatis doesn't exist there anymore. But man-db-cron (which supposedly should now do what makewhatis did before?) is not required by any other package and hence not installed. Apart from that the migration is not documented anywhere ... On a further notice this migration removed a safety check in man-pages-de package. CC:
(none) =>
doktor5000, thierry.vignaud Scratch the last comment, the migration to man-db is already complete, see the dev ml thread https://ml.mageia.org/wwsympa-wrapper.fcgi/arc/dev/2015-12/msg00184.html Adjusting the bug as we don't have makewhatis in cauldron anymore. Apart from that, I cannot reproduce, I never ran makewhatis manually and e.g. "apropos bash" or "apropos mageia" return expected results. For comparison: [doktor5000@Mageia5]â[13:35:42]â[~] apropos mageia|wc -l 3 [doktor5000@Mageia5]â[13:36:01]â[~] apropos bash|wc -l 64 Running makewhatis manually without options as root does not change those numbers. Status:
NEW =>
UNCONFIRMED You can check the specs of our man related packages vs. openmandriva, as they successfully completed the transition to man-db well before us. (In reply to David Walser from comment #7) > You can check the specs of our man related packages vs. openmandriva, as > they successfully completed the transition to man-db well before us. Doesn't mean that's the proper way to go. As mentioned on dev ml by tv, we don't package the indexes/caches as those are handled via filetriggers by man-db automagically. But that's a little OT here ... ;) I've much more confidence in RH that in OM and we're synced with them. And they've completed the switch _way_ before. Anyway this bug report was about man on Mageia 5, not man-db on cauldron. Man-db-cron is _not_ needed. AFAIK there's no issue with man-db on Cauldron And as for OM changes, packaging indexes that will be updated by mandb when other packages install some man pages under those locations is just bogus (rpm -V will complain, ...) (In reply to Thierry Vignaud from comment #10) > packaging indexes that will be updated by mandb when other packages install > some man pages under those locations is just bogus (rpm -V will complain, ...) Well, the indexes could be packaged as %ghost to see which package they belong to, but there's not much practical use in that. Anyways, as this report was against makewhatis under mga5, and cannot be reproduced as mentioned in comment 6, closing it. qBrian: Please reopen if it still occurs, and provide clear instructions to reproduce. Status:
UNCONFIRMED =>
RESOLVED |