> I have only tested this manually with run-parts, so I shall put it in
> cron.hourly right now and report back later.

MANPATH is definitely not set when executing cron scripts like that. I
deleted all mandoc.db files and waited for them to be regenerated. Only
the one in /usr/share/man was generated, which means that makewhatis
fell back to the defaults since MANPATH was empty.

Just as I am composing this mail, the cron script that had `source
/etc/profile' in it before makewhatis ran, and all the databases are
there.

Bottom line: MANPATH is not available in cron scripts.

-- 
Wolfgang Mueller / vehk.de / GPG 0xc543cfce9465f573

Attachment: signature.asc
Description: PGP signature

Reply via email to