NetBSD Problem Report #3228

Received: (qmail-queue invoked from smtpd); 18 Feb 1997 11:19:06 -0000
Message-Id: <199702181115.MAA02039@lyssa.owl.de>
Date: Tue, 18 Feb 1997 12:15:00 +0100 (MET)
From: Matthias Scheler <tron@lyssa.owl.de>
Reply-To: tron@lyssa.owl.de
To: gnats-bugs@gnats.netbsd.org
Subject: /etc/netstart should flush all routes
X-Send-Pr-Version: 3.95

>Number:         3228
>Category:       misc
>Synopsis:       /etc/netstart should flush all routes
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    misc-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 18 03:20:01 +0000 1997
>Closed-Date:    Tue Jul 22 18:41:16 +0000 1997
>Last-Modified:  Tue Jul 22 18:42:01 +0000 1997
>Originator:     Matthias Scheler
>Release:        970207
>Organization:
Matthias Scheler                                http://home.pages.de/~tron/
>Environment:
System: NetBSD lyssa 1.2C NetBSD 1.2C (LYSSA) #1: Sat Feb 8 22:17:46 MET 1997 tron@lyssa:/usr/src/sys/arch/i386/compile/LYSSA i386


>Description:
If you bring back your machine to single user mode and enter multi user
mode later you'll lots of error message caused by duplicate routes.

>How-To-Repeat:
shutdown now
<CTRL-D>

>Fix:
*** src/etc/netstart.orig	Tue Jan 28 13:08:30 1997
--- src/etc/netstart	Tue Feb 18 12:14:23 1997
*************** if [ -f /etc/defaultdomain ]; then
*** 11,16 ****
--- 11,19 ----
  	domainname `cat /etc/defaultdomain`
  fi

+ # flush all routes
+ route flush
+ 
  # install and enable packet filter rules before configuring interfaces.
  if [ "X$ipfilter" != XNO -a -f /etc/ipf.conf ]; then
  	echo 'installing packet filter rules ... '
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: phil 
State-Changed-When: Tue Jul 22 11:41:16 PDT 1997 
State-Changed-Why:  
Similar patch applied.  Now a rc.conf option. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.