On Sat, Jul 05, 2008 at 06:33:00PM +0200, martin f krafft wrote: > also sprach maximilian attems <[EMAIL PROTECTED]> [2008.07.05.0054 +0200]: > > > initramfs runs executable scripts in scripts/*/* at various stages. > > > Albeit an error by the user or the package, scripts without > > > executable permissions get copied to the initrd by the hooks, but > > > then they don't get executed. > > > > > > Maybe initramfs could warn about files in scripts/*/* it would > > > install, which aren't executable? > > > > chmod 666 /usr/share/initramfs-tools/hooks/legacylvm > > I was talking about scripts.
hmmm? that is an script. > > update-initramfs -u -v | grep legacy > > /usr/share/initramfs-tools/hooks/legacylvm ignored: not executable > > Without -v, it seems that files in /etc/initramfs-tools are copied > but remain non-executable. As a result, they won't be run. I think > initramfs-tools should be reporting this, and the above hooks > message as a warning, not requiring -v for it. why should a user be bothered if a maintainer fucks up the installation? aboves indication is only useful while developing a hook and looking at the -v output isn't demanding too much. aboves warning could be more screaming -- maks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]