Debian Bug report logs - #258136
Allow "reboot" action to halt instead

Package: di-utils-reboot; Maintainer for di-utils-reboot is Debian Install System Team <debian-boot@lists.debian.org>;

Reported by: Matt Zimmerman <mdz@debian.org>

Date: Wed, 7 Jul 2004 20:48:03 UTC

Severity: wishlist

Tags: patch

Done: Joey Hess <joeyh@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#258136; Package di-utils-reboot. (full text, mbox, link).


Acknowledgement sent to Matt Zimmerman <mdz@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Matt Zimmerman <mdz@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Allow "reboot" action to halt instead
Date: Wed, 7 Jul 2004 13:44:24 -0700
Package: di-utils-reboot
Severity: wishlist
Tags: patch

I find it convenient sometimes (especially when using UML) to have d-i halt
the system as its final step, rather than rebooting it.  Rebooting in UML
re-execs the kernel with exactly the same command line, which causes the
installer to be started, rather than booting from the installed system.
I could also see this being useful for embedded systems, where it is
sometimes common to perform the first stage of installation and then stop,
shipping an image which will be configured by the end user after flashing it
into a device such as a PDA.

Anyway, here's a patch:

http://www.no-name-yet.com/patches/debian-installer-utils.reboot-halt.diff

-- System Information:
Debian Release: unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.6-deb1-skas3
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8

-- 
 - mdz



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#258136; Package di-utils-reboot. (full text, mbox, link).


Acknowledgement sent to Adam Thornton <athornton@sinenomine.net>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (full text, mbox, link).


Message #10 received at 258136@bugs.debian.org (full text, mbox, reply):

From: Adam Thornton <athornton@sinenomine.net>
To: Matt Zimmerman <mdz@debian.org>, 258136@bugs.debian.org
Subject: Re: Bug#258136: Allow "reboot" action to halt instead
Date: Wed, 07 Jul 2004 15:58:11 -0500
On Wed, 2004-07-07 at 15:44, Matt Zimmerman wrote:
> Package: di-utils-reboot
> Severity: wishlist
> Tags: patch
> 
> I find it convenient sometimes (especially when using UML) to have d-i halt
> the system as its final step, rather than rebooting it.

This will also be very useful for S/390, for the same reasons: rebooting
with the same command line is going to reipl from tape or card deck
rather than from the just-installed-to DASD.

Adam




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#258136; Package di-utils-reboot. (full text, mbox, link).


Acknowledgement sent to Joey Hess <joeyh@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (full text, mbox, link).


Message #15 received at 258136@bugs.debian.org (full text, mbox, reply):

From: Joey Hess <joeyh@debian.org>
To: Matt Zimmerman <mdz@debian.org>, 258136@bugs.debian.org
Subject: Re: Bug#258136: Allow "reboot" action to halt instead
Date: Wed, 7 Jul 2004 17:32:44 -0400
[Message part 1 (text/plain, inline)]
Matt Zimmerman wrote:
> Anyway, here's a patch:
> 
> http://www.no-name-yet.com/patches/debian-installer-utils.reboot-halt.diff

So the idea is to set di-utils-reboot/halt at the boot line or similar,
and never really ask the question?

-- 
see shy jo
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#258136; Package di-utils-reboot. (full text, mbox, link).


Acknowledgement sent to Matt Zimmerman <mdz@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (full text, mbox, link).


Message #20 received at 258136@bugs.debian.org (full text, mbox, reply):

From: Matt Zimmerman <mdz@debian.org>
To: Joey Hess <joeyh@debian.org>
Cc: 258136@bugs.debian.org
Subject: Re: Bug#258136: Allow "reboot" action to halt instead
Date: Wed, 7 Jul 2004 14:46:01 -0700
On Wed, Jul 07, 2004 at 05:32:44PM -0400, Joey Hess wrote:

> Matt Zimmerman wrote:
> > Anyway, here's a patch:
> > 
> > http://www.no-name-yet.com/patches/debian-installer-utils.reboot-halt.diff
> 
> So the idea is to set di-utils-reboot/halt at the boot line or similar,
> and never really ask the question?

Yes; perhaps there is a better way to do that, but this seemed to make sense
to me.  This way, it can trivially be set as a boot parameter, and also via
debconf.  It's a lot like kbd-chooser's debian-installer/serial-console, so
I assumed this was a reasonable implementation.  Is it OK?

-- 
 - mdz



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#258136; Package di-utils-reboot. (full text, mbox, link).


Acknowledgement sent to Joey Hess <joeyh@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (full text, mbox, link).


Message #25 received at 258136@bugs.debian.org (full text, mbox, reply):

From: Joey Hess <joeyh@debian.org>
To: Matt Zimmerman <mdz@debian.org>
Cc: 258136@bugs.debian.org
Subject: Re: Bug#258136: Allow "reboot" action to halt instead
Date: Thu, 8 Jul 2004 02:24:56 -0400
[Message part 1 (text/plain, inline)]
Matt Zimmerman wrote:
> Yes; perhaps there is a better way to do that, but this seemed to make sense
> to me.  This way, it can trivially be set as a boot parameter, and also via
> debconf.  It's a lot like kbd-chooser's debian-installer/serial-console, so
> I assumed this was a reasonable implementation.  Is it OK?

Reasonable, but we'll also have to document it..

-- 
see shy jo
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#258136; Package di-utils-reboot. (full text, mbox, link).


Acknowledgement sent to Christian Perrier <bubulle@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (full text, mbox, link).


Message #30 received at 258136@bugs.debian.org (full text, mbox, reply):

From: Christian Perrier <bubulle@debian.org>
To: Matt Zimmerman <mdz@debian.org>, 258136@bugs.debian.org
Subject: Re: Bug#258136: Allow "reboot" action to halt instead
Date: Thu, 8 Jul 2004 09:34:49 +0200
Quoting Matt Zimmerman (mdz@debian.org):
> Package: di-utils-reboot
> Severity: wishlist
> Tags: patch
> 
> I find it convenient sometimes (especially when using UML) to have d-i halt
> the system as its final step, rather than rebooting it.  Rebooting in UML
> re-execs the kernel with exactly the same command line, which causes the
> installer to be started, rather than booting from the installed system.
> I could also see this being useful for embedded systems, where it is
> sometimes common to perform the first stage of installation and then stop,
> shipping an image which will be configured by the end user after flashing it
> into a device such as a PDA.
> 
> Anyway, here's a patch:
> 
> http://www.no-name-yet.com/patches/debian-installer-utils.reboot-halt.diff

Why not really use the proposed template, at low (or medium?) priority?

This requires having it translated (and thus will lower our wonderful
statistics...:-))) but it may be wroth it and, anyway, if it is not
translated for some languages, this is far from being important as
this is a low priority template




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#258136; Package di-utils-reboot. (full text, mbox, link).


Acknowledgement sent to Bastian Blank <waldi@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (full text, mbox, link).


Message #35 received at 258136@bugs.debian.org (full text, mbox, reply):

From: Bastian Blank <waldi@debian.org>
To: Matt Zimmerman <mdz@debian.org>, 258136@bugs.debian.org
Subject: Re: Bug#258136: Allow "reboot" action to halt instead
Date: Thu, 8 Jul 2004 14:23:47 +0200
[Message part 1 (text/plain, inline)]
On Wed, Jul 07, 2004 at 01:44:24PM -0700, Matt Zimmerman wrote:
> I find it convenient sometimes (especially when using UML) to have d-i halt
> the system as its final step, rather than rebooting it.  Rebooting in UML
> re-execs the kernel with exactly the same command line, which causes the
> installer to be started, rather than booting from the installed system.
> I could also see this being useful for embedded systems, where it is
> sometimes common to perform the first stage of installation and then stop,
> shipping an image which will be configured by the end user after flashing it
> into a device such as a PDA.

It is partialy implemented in the trunk. You need updated cdebconf,
main-menu, rootskel and debian-installer-utils. It is not yet
implemented in prebaseconfig. Also it does not work yet with bterm
because it does not return proper exit codes.

To use it, set debian-installer/exit/halt=true on the command line

Bastian

-- 
Humans do claim a great deal for that particular emotion (love).
		-- Spock, "The Lights of Zetar", stardate 5725.6
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#258136; Package di-utils-reboot. (full text, mbox, link).


Acknowledgement sent to Otavio Salvador <otavio@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (full text, mbox, link).


Message #40 received at 258136@bugs.debian.org (full text, mbox, reply):

From: Otavio Salvador <otavio@debian.org>
To: Christian Perrier <bubulle@debian.org>
Cc: 258136@bugs.debian.org, Matt Zimmerman <mdz@debian.org>
Subject: Re: Bug#258136: Allow "reboot" action to halt instead
Date: Thu, 08 Jul 2004 11:42:40 -0300
[Message part 1 (text/plain, inline)]
|| On Thu, 8 Jul 2004 09:34:49 +0200
|| Christian Perrier <bubulle@debian.org> wrote: 

cp> Quoting Matt Zimmerman (mdz@debian.org):
>> Package: di-utils-reboot
>> Severity: wishlist
>> Tags: patch
>> 
>> I find it convenient sometimes (especially when using UML) to have d-i halt
>> the system as its final step, rather than rebooting it.  Rebooting in UML
>> re-execs the kernel with exactly the same command line, which causes the
>> installer to be started, rather than booting from the installed system.
>> I could also see this being useful for embedded systems, where it is
>> sometimes common to perform the first stage of installation and then stop,
>> shipping an image which will be configured by the end user after flashing it
>> into a device such as a PDA.
>> 
>> Anyway, here's a patch:
>> 
>> http://www.no-name-yet.com/patches/debian-installer-utils.reboot-halt.diff

cp> Why not really use the proposed template, at low (or medium?) priority?

cp> This requires having it translated (and thus will lower our wonderful
cp> statistics...:-))) but it may be wroth it and, anyway, if it is not
cp> translated for some languages, this is far from being important as
cp> this is a low priority template

To me, looks more sane include the proposed template. More easy for
all users change.

-- 
        O T A V I O    S A L V A D O R
---------------------------------------------
 E-mail: otavio@debian.org      UIN: 5906116
 GNU/Linux User: 239058     GPG ID: 49A5F855
 Home Page: http://www.freedom.ind.br/otavio
---------------------------------------------
"Microsoft gives you Windows ... Linux gives
 you the whole house."
[Message part 2 (application/pgp-signature, inline)]

Reply sent to Joey Hess <joeyh@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Matt Zimmerman <mdz@debian.org>:
Bug acknowledged by developer. (full text, mbox, link).


Message #45 received at 258136-done@bugs.debian.org (full text, mbox, reply):

From: Joey Hess <joeyh@debian.org>
To: 258136-done@bugs.debian.org
Subject: closing
Date: Fri, 17 Sep 2004 15:05:48 -0400
[Message part 1 (text/plain, inline)]
AFAIK Bastian implemented this for s390 in a different way, so I'm
closing the report. Let me know if you need anything else.

-- 
see shy jo
[signature.asc (application/pgp-signature, inline)]

Bug unarchived. Request was from Stefano Zacchiroli <zack@debian.org> to control@bugs.debian.org. (Sun, 10 Apr 2011 08:43:22 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 09 May 2011 07:39:25 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Oct 11 12:05:31 2017; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.