Bug#553438: grub-mkconfig: Should only use grub.d items matching [0-9].* pattern

Tobias Diedrich ranma at tdiedrich.de
Sat Oct 31 13:56:28 UTC 2009


Felix Zielcke wrote:
> Then you didn't carefully enough read the README in there:
> 
>   All _executable_ files in this directory are processed in shell
>   expansion order.
> 
> Just use chmod -x to disable it.
> Do you have a suggestion to make this more clear?

Indeed, and apparently I'm colorblind, since my ls highlights
executables green and I didn't notice that README is not
highlighted...

But as far as the principle of least surprise is concerned I kinda
expected it to work the same as /etc/rc[0-6S].d, where it is
sufficient to rename the file to not match the pattern...

So I still think it would be preferable to only process files
matching "[0-9].*".

-- 
Tobias						PGP: http://8ef7ddba.uguu.de





More information about the Pkg-grub-devel mailing list