[26080] in Athena Bugs

home help back first fref pref prev next nref lref last post

Re: Bug in /etc/athena/network-scripts/user/20kerberos

daemon@ATHENA.MIT.EDU (Greg Hudson)
Sat Sep 18 12:13:33 2004

From: Greg Hudson <ghudson@mit.edu>
To: Derek Atkins <warlord@mit.edu>
In-Reply-To: <sjmllf8sewv.fsf@dogbert.ihtfp.org>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Message-Id: <1095523659.12938.119.camel@egyptian-gods.mit.edu>
Mime-Version: 1.0
Date: Sat, 18 Sep 2004 12:07:39 -0400
cc: bugs@mit.edu
Errors-To: bugs-bounces@mit.edu

On Fri, 2004-09-17 at 18:34, Derek Atkins wrote:
> Periodically I see this error message in my console:
> 
> 18:31 /etc/athena/network-scripts/user/20kerberos: line 14: [: too many arguments
> 
> I suspect this is due to this line in the script:
> 
>   if [ $NETDEVCOUNT -eq 1 -a "x$OLDIPADDR" != "x$IPADDR" ]; then
> 
> In particular, if NETDEVCOUNT isn't set, this would be invalid.

Why would NETDEVCOUNT be unset?  net-event.sh should set it in the case
of a net-up event.

I'll make the suggested change, but it doesn't sound like the problem is
fully understood.


home help back first fref pref prev next nref lref last post