FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

LinkBack Thread Tools
Old 09-20-2010, 11:40 PM
Ian Jackson
Default Bug#597582: initramfs-tools should not ignore failing hook scripts

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

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.


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

Thread Tools

All times are GMT. The time now is 01:36 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org