NetBSD Problem Report #40320
From reed@hrr.reedmedia.net Sat Jan 3 02:09:07 2009
Return-Path: <reed@hrr.reedmedia.net>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 4E71863B884
for <gnats-bugs@gnats.NetBSD.org>; Sat, 3 Jan 2009 02:09:07 +0000 (UTC)
Message-Id: <20090103020905.34632471B94@hrr.reedmedia.net>
Date: Fri, 2 Jan 2009 20:09:05 -0600 (CST)
From: reed@reedmedia.net
Reply-To: reed@reedmedia.net
To: gnats-bugs@gnats.NetBSD.org
Subject: rc.d/network and dhcpcd used when not used
X-Send-Pr-Version: 3.95
>Number: 40320
>Category: bin
>Synopsis: rc.d/network and dhcpcd used when not used
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jan 03 02:10:00 +0000 2009
>Closed-Date: Thu May 14 15:41:20 +0000 2009
>Last-Modified: Mon May 18 19:35:01 +0000 2009
>Originator: reed@reedmedia.net
>Release: NetBSD 5.0_BETA
>Organization:
>Environment:
System: NetBSD hrr.reedmedia.net 5.0_BETA NetBSD 5.0_BETA (GENERIC) #0: Sat Dec 20 11:30:40 CST 2008 reed@hrr.reedmedia.net:/home/reed/src/sys/arch/amd64/compile/obj/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
My logs have many lines like:
Jan 2 19:42:59 hrr dhcpcd[598]: rtk0: dhcpcd not running
Jan 2 19:42:59 hrr dhcpcd[594]: bwi0: dhcpcd not running
Jan 2 19:42:59 hrr dhcpcd[554]: rum0: dhcpcd not running
When I run "/etc/rc.d/network restart", it does:
/sbin/dhcpcd -k $int 2> /dev/null
I don't think it should try to release dhcpcd leases
when dhcpcd is not even used.
Some may be confused by that noise since it may mislead them in
troubleshooting.
>How-To-Repeat:
>Fix:
Keep track if dhcpcd is even used?
>Release-Note:
>Audit-Trail:
From: Roy Marples <roy@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/4030 CVS commit: src/etc/rc.d
Date: Thu, 14 May 2009 15:33:36 +0000
Module Name: src
Committed By: roy
Date: Thu May 14 15:33:36 UTC 2009
Modified Files:
src/etc/rc.d: network
Log Message:
Only start dhcpcd per interface if not running the full dhcpcd daemon.
Only stop dhcpcd pre interface if it's running for the interface.
Fixes PR bin/4030
To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/etc/rc.d/network
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: roy@NetBSD.org
State-Changed-When: Thu, 14 May 2009 15:41:20 +0000
State-Changed-Why:
Fixed by rc.d/network -r1.58
From: Manuel Bouyer <bouyer@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/40320 CVS commit: [netbsd-5] src/etc/rc.d
Date: Mon, 18 May 2009 19:30:48 +0000
Module Name: src
Committed By: bouyer
Date: Mon May 18 19:30:48 UTC 2009
Modified Files:
src/etc/rc.d [netbsd-5]: network
Log Message:
Pull up following revision(s) (requested by roy in ticket #757):
etc/rc.d/network: revision 1.58
Only start dhcpcd per interface if not running the full dhcpcd daemon.
Only stop dhcpcd pre interface if it's running for the interface.
Fixes PR bin/40320
To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.57.2.1 src/etc/rc.d/network
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(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.