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.



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/19607.61706.516954.335...@chiark.greenend.org.uk

Reply via email to