[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#481196: marked as done (initramfs-tools: please document the behavior of 'break' when 'panic' is passed along with)

Your message dated Fri, 04 Jul 2008 22:47:02 +0000
with message-id <E1KEu3S-0001Fa-Qe@ries.debian.org>
and subject line Bug#481196: fixed in initramfs-tools 0.92c
has caused the Debian Bug report #481196,
regarding initramfs-tools: please document the behavior of 'break' when 'panic' is passed along with
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

481196: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=481196
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: initramfs-tools
Version: 0.92a
Severity: wishlist
Tags: patch


this bug originates after bug #478268 [1].

On Wed, 14 May 2008 11:23:00 +0200, David Härdeman wrote:
> initramfs will behave differently if the "panic" kernel option is set
> (initramfs will not spawn any shells in that case but reboot instead).

I couldn't understand why the "break" kernel option didn't work while I
was trying to debug a problem in cryptsetup [2] and indeed my kernel
cmdline contains a "panic=10" option as well.  Removing the latter
allows "break" to work.

I've found the initramfs-tools.8 documentation a bit misleading, thus I
propose the following patch (if I understand correctly David's words):

--8<---------------cut here---------------start------------->8---
diff --git a/initramfs-tools.8 b/initramfs-tools.8
index 83884b7..fe64add 100644
--- a/initramfs-tools.8
+++ b/initramfs-tools.8
@@ -115,6 +115,8 @@ Use for example "debug=vc".
 spawns a shell in the initramfs image at chosen run-time
 (top, modules, premount, mount, bottom, init).
 The default is premount without any arg.
+Please pay attention that when both "panic" and "break" are present,
+initramfs will not spawn any shells but reboot instead.
--8<---------------cut here---------------end--------------->8---

Thx, bye,
Gismo / Luca

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?archive=yes&bug=478268#27
[2] http://bugs.debian.org/cgi-bin/bugreport.cgi?archive=yes&bug=478268#15

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages initramfs-tools depends on:
ii  cpio                          2.9-13     GNU cpio -- a program to manage ar
ii  findutils                     4.4.0-2    utilities for finding files--find,
ii  klibc-utils                   1.5.9-2    small utilities built with klibc f
ii  module-init-tools             3.4-1      tools for managing Linux kernel mo
ii  udev                          0.114-2    /dev/ and hotplug management daemo

Versions of packages initramfs-tools recommends:
ii  busybox                       1:1.9.2-3  Tiny utilities for small and embed

-- no debconf information

Attachment: pgpIWgWQJSuwp.pgp
Description: PGP signature

--- End Message ---
--- Begin Message ---
Source: initramfs-tools
Source-Version: 0.92c

We believe that the bug you reported is fixed in the latest version of
initramfs-tools, which is due to be installed in the Debian FTP archive:

  to pool/main/i/initramfs-tools/initramfs-tools_0.92c.dsc
  to pool/main/i/initramfs-tools/initramfs-tools_0.92c.tar.gz
  to pool/main/i/initramfs-tools/initramfs-tools_0.92c_all.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 481196@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
maximilian attems <maks@debian.org> (supplier of updated initramfs-tools package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)

Hash: SHA1

Format: 1.8
Date: Sat, 05 Jul 2008 00:31:06 +0200
Source: initramfs-tools
Binary: initramfs-tools
Architecture: source all
Version: 0.92c
Distribution: unstable
Urgency: low
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: maximilian attems <maks@debian.org>
 initramfs-tools - tools for generating an initramfs
Closes: 475430 481196 483431
 initramfs-tools (0.92c) unstable; urgency=low
   [ maximilian attems ]
   * doc: fix date string of manual pages.
   * MODULES=most add mmc host and card drivers for OLPC. (closes: #483431)
   * update-initramfs.conf.5: document backup_initramfs variable.
     (closes: #475430)
   * initramfs-tools.8: Document "break" and "panic" behaviour.
     (closes: #481196)
   * wait_for_udev(): simplify, no need for logging.
   [ martin f. krafft ]
   * Wait for udevsettle after -top scripts ran
   * init: Remove extra ellipses
 1172cf33f15df182ac32e744d67bf40d247b4578 996 initramfs-tools_0.92c.dsc
 4e6368a1f1cc83dcb629e9f45b7546e105a19642 65809 initramfs-tools_0.92c.tar.gz
 8b621309f5b3f8deaae00e032e5dcf7d9068f8e7 72644 initramfs-tools_0.92c_all.deb
 86c3ef6f2474fc0e63f440c00d389aecedaed6b94df33964e36ab71ba2310a3b 996 initramfs-tools_0.92c.dsc
 d55bbe84e9ab9dc5213ab81fe4fbcda4add4dccf1d270fc6be44a1d9659c0bf8 65809 initramfs-tools_0.92c.tar.gz
 9c106d55d1612d86f38eba2df85908bbdaff2a46297f20ae2ff27fa24bf88530 72644 initramfs-tools_0.92c_all.deb
 4d64e1b489a813268f59505d22e68eb8 996 utils optional initramfs-tools_0.92c.dsc
 13138fc661d409cb04628a1a26c9ee38 65809 utils optional initramfs-tools_0.92c.tar.gz
 28dd4aef156f03b578097f08c97de1c2 72644 utils optional initramfs-tools_0.92c_all.deb

Version: GnuPG v1.4.6 (GNU/Linux)


--- End Message ---

Reply to: