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

Bug#488969: please warn if a non-executable file in scripts/*/* is found



also sprach maximilian attems <max@stro.at> [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.

>  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.

-- 
 .''`.   martin f. krafft <madduck@debian.org>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems
 
linux: because a pc is a terrible thing to waste

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)


Reply to: