NetBSD Problem Report #39657

From riastradh@slate.localdomain  Tue Sep 30 02:14:12 2008
Return-Path: <riastradh@slate.localdomain>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id A0A1663BD01
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 30 Sep 2008 02:14:12 +0000 (UTC)
Message-Id: <20080930021410.58DD376CBE@slate.localdomain>
Date: Tue, 30 Sep 2008 02:14:10 +0000 (UTC)
From: Taylor R Campbell <campbell@mumble.net>
Reply-To: Taylor R Campbell <campbell@mumble.net>
To: gnats-bugs@gnats.NetBSD.org
Subject: rtsold fails with rtsold_flags in /etc/defaults/rc.conf
X-Send-Pr-Version: 3.95

>Number:         39657
>Category:       misc
>Synopsis:       rtsold fails with rtsold_flags in /etc/defaults/rc.conf
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 30 02:15:01 +0000 2008
>Closed-Date:    Fri Dec 18 06:11:55 +0000 2009
>Last-Modified:  Fri Dec 18 06:11:55 +0000 2009
>Originator:     Taylor R Campbell <campbell@mumble.net>
>Release:        NetBSD 4.0_STABLE
>Organization:
>Environment:
System: NetBSD slate.localdomain 4.0_STABLE NetBSD 4.0_STABLE (RIABWI) #11: Mon Sep 22 15:53:59 UTC 2008 riastradh@slate.localdomain:/home/riastradh/netbsd/4/obj/sys/arch/macppc/compile/RIABWI macppc
Architecture: powerpc
Machine: macppc
>Description:

	The setting of rtsold_flags in /etc/defaults/rc.conf as empty,
	without any interfaces to configure, causes rtsold(8) to fail.
	Cf. rtsol_flags, which is set to `-a' in order to make rtsol(8)
	try all interfaces.  It would be nice if rtsol(8) and rtsold(8)
	worked by default, or at least compatibly, just by setting
	rtsol=YES and rtsold=YES in /etc/rc.conf.

>How-To-Repeat:

	Set rtsold=YES in /etc/rc.conf, but not rtsold_flags.  Run
	/etc/rc.d/rtsold.

>Fix:

	To make rtsol(8) and rtsold(8) work by default, the default
	setting of rtsold_flags should probably be `-a'.

	Alternatively, rtsol_flags could be set to empty, and both
	/etc/rc.d/network and /etc/rc.d/rtsold could have precommands
	that require the flags to be non-empty (to approximate the
	actual requirement).  In this case, the rc.conf(5) man page
	should mention that setting rtsol=YES and rtsold=YES requires
	also setting rtsol_flags and rtsold_flags to specify the
	interfaces to autoconfigure.

>Release-Note:

>Audit-Trail:
From: "David A. Holland" <dholland@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/39657 CVS commit: src/etc/defaults
Date: Sat, 19 Sep 2009 19:47:48 +0000

 Module Name:	src
 Committed By:	dholland
 Date:		Sat Sep 19 19:47:48 UTC 2009

 Modified Files:
 	src/etc/defaults: rc.conf

 Log Message:
 Make rtsold_flags default to -a as per PR 39657.


 To generate a diff of this commit:
 cvs rdiff -u -r1.106 -r1.107 src/etc/defaults/rc.conf

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->pending-pullups
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 14 Dec 2009 06:46:33 +0000
State-Changed-Why:
pullup-5 #1195, pullup-4 #1370.


From: Stephen Borrill <sborrill@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/39657 CVS commit: [netbsd-4] src/etc/defaults
Date: Wed, 16 Dec 2009 11:01:01 +0000

 Module Name:	src
 Committed By:	sborrill
 Date:		Wed Dec 16 11:01:01 UTC 2009

 Modified Files:
 	src/etc/defaults [netbsd-4]: rc.conf

 Log Message:
 Pull up the following revisions(s) (requested by dholland in ticket #1370):
 	etc/defaults/rc.conf:	revision 1.107

 Make rtsold_flags default to -a. Closes PR/39657.


 To generate a diff of this commit:
 cvs rdiff -u -r1.81.2.2 -r1.81.2.3 src/etc/defaults/rc.conf

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: Soren Jacobsen <snj@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/39657 CVS commit: [netbsd-5] src/etc/defaults
Date: Fri, 18 Dec 2009 06:09:56 +0000

 Module Name:	src
 Committed By:	snj
 Date:		Fri Dec 18 06:09:56 UTC 2009

 Modified Files:
 	src/etc/defaults [netbsd-5]: rc.conf

 Log Message:
 Pull up following revision(s) (requested by dholland in ticket #1195):
 	etc/defaults/rc.conf: revision 1.107
 Make rtsold_flags default to -a as per PR 39657.


 To generate a diff of this commit:
 cvs rdiff -u -r1.95.2.4 -r1.95.2.5 src/etc/defaults/rc.conf

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: pending-pullups->closed
State-Changed-By: snj@NetBSD.org
State-Changed-When: Fri, 18 Dec 2009 06:11:55 +0000
State-Changed-Why:
Pullups complete.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.