From owner-freebsd-current@FreeBSD.ORG Thu May 1 01:23:14 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 147DD37B401 for ; Thu, 1 May 2003 01:23:14 -0700 (PDT) Received: from critter.freebsd.dk (esplanaden.cybercity.dk [212.242.40.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E26543F3F for ; Thu, 1 May 2003 01:23:13 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.9/8.12.9) with ESMTP id h418N9as001035; Thu, 1 May 2003 10:23:09 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: "Lucky Green" From: "Poul-Henning Kamp" In-Reply-To: Your message of "Thu, 01 May 2003 00:36:55 PDT." <00c701c30fb4$7140fc00$6601a8c0@VAIO650> Date: Thu, 01 May 2003 10:23:09 +0200 Message-ID: <1034.1051777389@critter.freebsd.dk> cc: freebsd-current@freebsd.org Subject: Re: save-entropy "route: not found" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2003 08:23:14 -0000 In message <00c701c30fb4$7140fc00$6601a8c0@VAIO650>, "Lucky Green" writes: >> On Tue, 29 Apr 2003, Poul-Henning Kamp wrote: >> >> > In message <20030429112849.T95090@cheesy.cypherpunks.to>, >> Lucky Green >> > writes: >> > >One of my 5.0 test boxes is spewing these cron emails. Any >> idea why >> > >this might be? (Email addresses modified) >> > >> > /usr/libexec/save-entropy is a shell script and it pulls in >> > /etc/rc.conf and friends. It's probably something in there >> that trips >> > it... > >We have a winner. The script doesn't like the route entry in the rc.conf >file of my test box: >---------- >ifconfig_xl0="inet 208.201.229.161 netmask 255.255.255.0" >defaultrouter="208.201.229.1" >hostname="cheesy.cypherpunks.to" > >ifconfig_fxp0="inet 192.168.1.110 netmask 255.255.255.0" >route -n add -net 192.168.1 192.168.1.110 -interface fxp0 >---------- You shouldn't really execute commands like that in your rc.conf, you should only set variables. There are some variables you can set to add static routes, I belive you do it like this: static_routes="rt1" route_rt1="10.0.0.2/30 192.168.0.1" -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.