Mailinglist Archive: opensuse-security (192 mails)

< Previous Next >
Re: [suse-security] manpath: and manpath: quick bugfix
  • From: "Martin P. Peikert" <mp@xxxxxxxxxxxxxxxxxxxxxx>
  • Date: Thu, 11 May 2000 15:36:20 +0200
  • Message-id: <00051115442900.09193@tetm36>
On Don, 11 Mai 2000 Frank Steiner wrote about Re: [suse-security] manpath again:

> The question is just *what* circumstances, because calling the
> security-daily script from the command line works. But called from
> any crontab, it hangs.

On my system "security-control.sh daily" hangs from both cron and command line.

On Don, 11 Mai 2000 Frank Steiner wrote about [suse-security] manpath: quick bugfix:

> and replacing in /etc/csh.cshrc the "evil line" ;-)
>
> setenv MANPATH "`(unsetenv MANPATH;manpath -q)`"
>
> by
>
> setenv MANPATH usr/local/man:/usr/share/man:/usr/man:/usr/X11R6/man:/usr/openwin/man:/opt/gnome/man
>
> Of course not a final solution, because the manpath might change over time,

Right, maybe you want to try this: Replace the "evil line" in /etc/csh.cshrc by

setenv MANPATH2 "`manpath -q`"
unsetenv MANPATH
setenv MANPATH $MANPATH2

This allows a changing manpath and now "security-control.sh daily" doesn't hang
anymore if invoked from the command line. Tomorrow I can tell you more about
cron...

Greetings,
Martin
--
-----------------------------------------------------
Martin Peikert EN 636
Fachgebiet Theoretische Elektrotechnik TU Berlin
Sekretariat EN 2 fon 314-23881 fax 314-22284
http://www-tet.ee.tu-berlin.de/peikert/index.html
-----------------------------------------------------

< Previous Next >
Follow Ups