Mailinglist Archive: opensuse-security (192 mails)

< Previous Next >
Re: [suse-security] manpath again
  • From: Ruediger Oertel <ro@xxxxxxx>
  • Date: Wed, 10 May 2000 14:39:04 +0200 (MEST)
  • Message-id: <Pine.LNX.4.21.0005101436100.26120-100000@xxxxxxxxxxxxx>
On Wed, 10 May 2000, Gregor Hlawacek wrote:

> Today Ruediger Oertel slept on the keyboard and thought about Re:...
>
> > As stated in my other mail, manpath is called as
> > "unset MANPATH ; manpath -qg 2>/dev/null" by
> > /usr/sbin/makewhatis which in turn is called from
> > /etc/cron.daily/aaa_base_do_mandb
>
> The problem seems to be that makewhatis is missing, the thing is that it
> worked befor upgrading the aaa-base package. It looks like the script trys
> to call makewhatis for ever and ever.
>
> any idea what could have happend?
Hm,
to simplify the problem, what about:
/etc/cron.daily/aaa_base_do_mandb:

- #
- # some applications need whatis database. If makewhatis exists, call it
- #
- if [ -x /usr/sbin/makewhatis -a -w /usr/man ] ; then
- unset MANPATH manpath
- manpath=/usr/share/man:/usr/man:/usr/X11R6/man:/usr/local/man
- for DIR in /usr/openwin/man /usr/man/allman /usr/man/de ; do
- test -d $DIR && manpath=$manpath:$DIR
- done
- MANPATH=$manpath
- export manpath MANPATH
-
- /usr/sbin/makewhatis
- fi
+ if [ -x /usr/sbin/makewhatis ] ; then
+ /usr/sbin/makewhatis
+ fi

Does this change anything ?

--
with kind regards (mit freundlichem Grinsen),
Ruediger Oertel (ro@xxxxxxx)
----------------------------------------------------------
does "DONT PANIC" give a hint ?


< Previous Next >
References