initramfs-tools hook script should not complain to stdout

Bug #490008 reported by Jae-hyeon Park
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tuxonice-userui (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: tuxonice-userui

The script /usr/share/initramfs-tools/hooks/tuxonice_userui echoes error (or warning) messages to stdout if it does not find TuxOnIce user interface from the running kernel. This can break installation of a kernel package built by make-kpkg. The error message from dpkg -i looks like:

    User postinst hook script [update-grub] exited with value 20
    dpkg: error processing linux-image-2.6.31.4-tuxonice (--install):
     subprocess installed post-installation script returned error exit status 128
    Errors were encountered while processing:
     linux-image-2.6.31.4-tuxonice

This can be fixed by adding ">&2" at the end of each echo command that prints an error message.

Revision history for this message
Jae-hyeon Park (jhyeon) wrote :
Revision history for this message
Julien Muchembled (jmuchemb) wrote :

This bug only affects old versions, more exactly 1.0-1 & 1.0-2
https://bugs.debian.org/574604 has a better patch to fix LTS versions. Otherwise, this bug can be closed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.