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

Bug#931499: initramfs hook scripts which use log_* functions die



Control: tag -1 moreinfo

On Sat, 6 Jul 2019 20:31:37 +0200 Guenther Brunthaler <gb_about_gnu@gmx.net> wrote:
> Package: initramfs-tools-core
> Version: 0.133
> 
> initramfs hook scripts which source
> 
> . /usr/share/initramfs-tools/scripts/functions
> 
> and then later use one of the log_*() functions such as
> 
> log_begin_msg "Installing terminfo entries: $tinfos"
> 
> will make the hook script fail with the message "quiet: parameter not
> set", which will make the invoking "update-initramfs" also fail as a
> consequence.
[...]

These functions are meant to be used by boot scripts, not by hook
scripts.  The documentation is consistent with that.

Which hook scripts are using them?

Ben.
 
-- 
Ben Hutchings
Time is nature's way of making sure that
everything doesn't happen at once.


Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: