NetBSD Problem Report #39179

From www@NetBSD.org  Mon Jul 21 04:57:47 2008
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 6316F63BD15
	for <gnats-bugs@gnats.netbsd.org>; Mon, 21 Jul 2008 04:57:47 +0000 (UTC)
Message-Id: <20080721045747.371C663BD06@narn.NetBSD.org>
Date: Mon, 21 Jul 2008 04:57:47 +0000 (UTC)
From: ggm@pobox.com
Reply-To: ggm@pobox.com
To: gnats-bugs@NetBSD.org
Subject: reboot -- -s and /boot.cfg don't seem to play nice together (it doesn't boot single-user)
X-Send-Pr-Version: www-1.0

>Number:         39179
>Category:       kern
>Synopsis:       reboot -- -s and /boot.cfg don't seem to play nice together (it doesn't boot single-user)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 21 05:00:01 +0000 2008
>Last-Modified:  Mon Jul 21 06:40:01 +0000 2008
>Originator:     George Michaelson
>Release:        Current
>Organization:
>Environment:
NetBSD snoid 4.99.70 NetBSD 4.99.70 (GGM) #3: Tue Jul 22 00:29:07 EST 2008  ggm@snoid:/usr/obj/sys/arch/i386/compile/GGM i386
>Description:
reboot -- -s is meant to pass the -s flag to the boot. My hope was this would translate to a boot -s single user.

It looks like if you have /boot.cfg, then flags passed across the boot are silently ignored.

-G
>How-To-Repeat:
have /boot.cfg with a menu. try and send a boot -s across a reboot
>Fix:
not sure. should the .cfg check code always check if an argument was passed across boot?

which should take priority anyway?

if reboot -- -s can't work on i386 then maybe the man page should be updated instead?


>Audit-Trail:
From: matthew green <mrg@eterna.com.au>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
    netbsd-bugs@netbsd.org
Subject: re: kern/39179: reboot -- -s and /boot.cfg don't seem to play nice together (it doesn't boot single-user) 
Date: Mon, 21 Jul 2008 15:16:07 +1000

 "reboot -- -s" doesn't work on i386 or most platforms AFAIK.


 .mrg.

From: George Michaelson <ggm@pobox.com>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@netbsd.org,
 gnats-admin@netbsd.org,
 netbsd-bugs@netbsd.org
Subject: Re: kern/39179: reboot -- -s and /boot.cfg don't seem to play nice together (it doesn't boot single-user)
Date: Mon, 21 Jul 2008 16:34:57 +1000

 On 21/07/2008, at 3:20 PM, matthew green wrote:

 > The following reply was made to PR kern/39179; it has been noted by  
 > GNATS.
 >
 > From: matthew green <mrg@eterna.com.au>
 > To: gnats-bugs@NetBSD.org
 > Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
 >    netbsd-bugs@netbsd.org
 > Subject: re: kern/39179: reboot -- -s and /boot.cfg don't seem to  
 > play nice together (it doesn't boot single-user)
 > Date: Mon, 21 Jul 2008 15:16:07 +1000
 >
 > "reboot -- -s" doesn't work on i386 or most platforms AFAIK.
 >
 >
 > .mrg.
 >


 close it. -its not worth keeping open on a docco issue although is  
 somebody feels like making this more explicit in the arch/i386 branch  
 I'd not complain

 -G

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.