Bug#488969: please warn if a non-executable file in scripts/*/* is found
also sprach maximilian attems <[EMAIL PROTECTED]> [2008.07.05.2251 +0200]: > the maintainer should test such stuff before uploading. if s/he does, then there won't be a warning and the user won't even notice a difference. also, this is about the user putting stuff into /etc, which is precisely how I rendered my system unbootable. -- .''`. martin f. krafft <[EMAIL PROTECTED]> : :' : 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 Most Intelligent Customers Realise Our Software Only Fools Them. digital_signature_gpg.asc Description: Digital signature (see http://martin-krafft.net/gpg/)
Bug#488969: please warn if a non-executable file in scripts/*/* is found
On Sat, Jul 05, 2008 at 10:44:27PM +0200, martin f krafft wrote: > also sprach maximilian attems <[EMAIL PROTECTED]> [2008.07.05.2228 +0200]: > > hmmm? > > that is an script. > > yes, but unlike e.g. scripts/local-top scripts, it's a hook script. okay for the boot scripts the same rules apply then for the hook scripts. > > why should a user be bothered if a maintainer fucks up the installation? > > because the system may be left unbootable? the maintainer should test such stuff before uploading. so currently i don't see much args beside making the warning more obvious. -- maks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#488969: please warn if a non-executable file in scripts/*/* is found
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]
Bug#488969: please warn if a non-executable file in scripts/*/* is found
also sprach maximilian attems <[EMAIL PROTECTED]> [2008.07.05.2228 +0200]: > hmmm? > that is an script. yes, but unlike e.g. scripts/local-top scripts, it's a hook script. > why should a user be bothered if a maintainer fucks up the installation? because the system may be left unbootable? -- .''`. martin f. krafft <[EMAIL PROTECTED]> : :' : 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 digital_signature_gpg.asc Description: Digital signature (see http://martin-krafft.net/gpg/)
Bug#488969: please warn if a non-executable file in scripts/*/* is found
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. > 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 <[EMAIL PROTECTED]> : :' : 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 digital_signature_gpg.asc Description: Digital signature (see http://martin-krafft.net/gpg/)
Bug#488969: please warn if a non-executable file in scripts/*/* is found
On Wed, 02 Jul 2008, martin f krafft wrote: > 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 update-initramfs -u -v | grep legacy /usr/share/initramfs-tools/hooks/legacylvm ignored: not executable -- maks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#488969: please warn if a non-executable file in scripts/*/* is found
On Wed, Jul 02, 2008 at 02:34:42PM +0200, martin f krafft wrote: > Package: initramfs-tools > Version: 0.92b > Severity: wishlist > > 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? it does warn on verbose mode irc. -- maks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#488969: please warn if a non-executable file in scripts/*/* is found
Package: initramfs-tools Version: 0.92b Severity: wishlist 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? -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.25-2-amd64 (SMP w/1 CPU core) Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages initramfs-tools depends on: ii cpio 2.9-13 GNU cpio -- a program to manage ar ii findutils 4.4.0-2utilities for finding files--find, ii klibc-utils 1.5.11-2 small utilities built with klibc f ii module-init-tools 3.4-1 tools for managing Linux kernel mo ii udev 0.114-2/dev/ and hotplug management daemo Versions of packages initramfs-tools recommends: ii busybox 1:1.10.2-1 Tiny utilities for small and embed -- no debconf information -- .''`. martin f. krafft <[EMAIL PROTECTED]> : :' : 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 digital_signature_gpg.asc Description: Digital signature (see http://martin-krafft.net/gpg/)