On Fri, Dec 23, 2005 at 08:21:53PM +0200, Markus Peuhkuri wrote:
> Package: logcheck
> Version: 1.2.42
> Severity: minor
> Tags: patch
> 
> Logcheck does not report any error if the config file is not readable
> or does not exists.  This may easily happen, as logcheck is run as
> logcheck user and while one is testing a new configuration on live
> system with running configuration intact.
> 
> Following fragment may help:
> 
>  # Now source the config file - before things that should not be changed
>  if [ -r $CONFFILE ]; then
> -       . $CONFFILE
> +       . $CONFFILE
> +else
> +    error "Config file $CONFFILE not exists or readable"
>  fi

The patch is greatly appreciated.  Thanks, Markus. Your change will be in the
next release.

-- 
Todd Troxell
http://rapidpacket.com/~xtat


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to