NetBSD Problem Report #41029
From Wolfgang.Stukenbrock@nagler-company.com Tue Mar 17 08:23:18 2009
Return-Path: <Wolfgang.Stukenbrock@nagler-company.com>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 1C62263B8EC
for <gnats-bugs@gnats.NetBSD.org>; Tue, 17 Mar 2009 08:23:18 +0000 (UTC)
Message-Id: <20090317082257.858114EA9F9@s012.nagler-company.com>
Date: Tue, 17 Mar 2009 09:22:57 +0100 (CET)
From: Wolfgang.Stukenbrock@nagler-company.com
Reply-To: Wolfgang.Stukenbrock@nagler-company.com
To: gnats-bugs@gnats.NetBSD.org
Subject: srtconfig is located on /usr filesystem but needed during startup when /usr is not mounted
X-Send-Pr-Version: 3.95
>Number: 41029
>Category: bin
>Synopsis: srtconfig is located on /usr filesystem but needed during startup when /usr is not mounted
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Mar 17 08:25:00 +0000 2009
>Last-Modified: Tue Mar 17 10:20:02 +0000 2009
>Originator: Dr. Wolfgang Stukenbrock
>Release: NetBSD 5.0_RC
>Organization:
Dr. Nagler & Company GmbH
>Environment:
System: NetBSD s012 4.0 NetBSD 4.0 (NSW-S012) #9: Fri Mar 13 12:31:52 CET 2009 wgstuken@s012:/usr/src/sys/arch/amd64/compile/NSW-S012 amd64
Architecture: x86_64
Machine: amd64
>Description:
In order to setup an srt interface the config utility program srtconfig(1) is needed.
But this program is located in /usr/sbin and /usr is still not mounted when the interface configuration is setup by the rc-scripts.
So it is impossible to initialize srt interfaces during startup due to the not available configuration utility program.
>How-To-Repeat:
setup an ifconfig.srt<x> and try to configure it during boot - the /usr is still not mounted and the setup will fail. /usr/sbin7srtconfig is not available
>Fix:
move the srtconfig utility program from /usr/sbin to /sbin.
All other config utilities (link e.g. pppoectl) are located in /sbin too.
>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: Wolfgang.Stukenbrock@nagler-company.com
Cc: gnats-bugs@NetBSD.org
Subject: Re: bin/41029: srtconfig is located on /usr filesystem but needed during startup when /usr is not mounted
Date: Tue, 17 Mar 2009 11:16:11 +0100
Just for the record, an obvious workaround is to add /usr to
critical_filesystems_local in rc.conf, like
critical_filesystems_local="$critical_filesystems_local /usr"
Martin
>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.