Re: Logcheck errors after cvsup

2009-03-14 Thread Marco Beishuizen
On Saturday 14 March 2009 14:35:36 Patrick Lamaizière wrote:
> Le Sat, 14 Mar 2009 10:48:58 +0100,
>
> Marco Beishuizen :
> > I cvsupped my portstree yesterday and updated my system with
> > portupgrade -a. All went well except for logcheck. Since the cvsup I
> > don't receive the normal hourly mail with the results of the checking
> > in my mailbox but the following (the subject of the mail is: Cron
> >  if [ -x /usr/local/sbin/logcheck ]; then nice
> > -n10 /usr/local/sbin/logcheck; fi):
> >
> > /usr/local/sbin/logcheck: command substitution: line 49: syntax error
> > near unexpected token `)'
>
> I guess it is related to the recent bash upgrade.
>
> Check the ports@ mailing list, there are some topics about bash4. Looks
> like it is broken.
>
> Regards.

Yes, bash seems to be the problem. I deinstalled bash 4 and reinstalled 3. 
Logcheck now works again.

I guess I will follow the bash developments.

Thanks for the help.

-- 
KANSAS:
Where the men are men and so are the women!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Logcheck errors after cvsup

2009-03-14 Thread Patrick Lamaizière
Le Sat, 14 Mar 2009 10:48:58 +0100,
Marco Beishuizen :

> I cvsupped my portstree yesterday and updated my system with
> portupgrade -a. All went well except for logcheck. Since the cvsup I
> don't receive the normal hourly mail with the results of the checking
> in my mailbox but the following (the subject of the mail is: Cron
>  if [ -x /usr/local/sbin/logcheck ]; then nice
> -n10 /usr/local/sbin/logcheck; fi):
> 
> /usr/local/sbin/logcheck: command substitution: line 49: syntax error
> near unexpected token `)'

I guess it is related to the recent bash upgrade.

Check the ports@ mailing list, there are some topics about bash4. Looks
like it is broken.

Regards.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"