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

Bug#597582: marked as done (initramfs-tools should not ignore failing hook scripts)



Your message dated Thu, 23 Sep 2010 14:13:49 +0000
with message-id <20100923141349.GC5947@vostochny.stro.at>
and subject line Re: Bug#597582: initramfs-tools should not ignore failing hook scripts
has caused the Debian Bug report #597582,
regarding initramfs-tools should not ignore failing hook scripts
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
immediately.)


-- 
597582: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=597582
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: initramfs-tools
Version: 0.92o
Severity: important

If an initramfs hook script exits with a nonzero exit status,
update-initramfs carries on anyway!

To reproduce: 

1. create /etc/initramfs-tools/hooks/broken containing
  #!/bin/sh -e
  broken!

2. run update-initramfs in a way that makes it do some work.

3. Observe:
  /etc/initramfs-tools/hooks/broken: line 2: broken!: command not found
but the initramfs is still created and installed.

This kind of thing is liable to make systems unbootable, surely.

Ian.



--- End Message ---
--- Begin Message ---
Version: 0.97

On Tue, Sep 21, 2010 at 12:40:58AM +0100, Ian Jackson wrote:
> Package: initramfs-tools
> Version: 0.92o
> Severity: important

please update your box this initramfs-tools is quite old
and saw some work since, see 
http://git.debian.org/?p=kernel/initramfs-tools.git;a=blob_plain;f=docs/maintainer-notes.html;hb=HEAD

the repo:
git clone git://git.debian.org/git/kernel/initramfs-tools.git


 
> If an initramfs hook script exits with a nonzero exit status,
> update-initramfs carries on anyway!

this has been fixed since.
 
thanks for your feedback.

-- 
maks


--- End Message ---

Reply to: