Bug#537492: menu: Binary without execution bits.

2009-07-19 Thread Julien Cristau
On Sat, Jul 18, 2009 at 22:28:23 +0200, Cyril Brulebois wrote: > And also, under zsh: > | $ which doublefailure 2>/dev/null > | doublefailure not found > > Leading to: > | if [ -x `which icanhazfailure 2>/dev/null` ] ; then echo FAIL ; fi > | [: too many arguments > Why would you point /bin/s

Bug#537492: menu: Binary without execution bits.

2009-07-19 Thread Joey Hess
Cyril Brulebois wrote: > I guess we need a plan to fix some maintainer scripts, or am I grossly > overlooking things here? j...@gnu:~/src/debhelper/autoscripts>cat postinst-menu if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then Which works fine in this case. -- see s

Bug#537492: menu: Binary without execution bits.

2009-07-18 Thread Daniel Moerner
On Sat, Jul 18, 2009 at 9:20 PM, Cyril Brulebois wrote: > Sven Joachim (18/07/2009): >> This looks strange, it seems that the test found update-menus >> executable, but it no longer is.  Namely, the shell has apparently >> hashed it, since otherwise you would "update-menus: command not found" >> i

Bug#537492: menu: Binary without execution bits.

2009-07-18 Thread Cyril Brulebois
Sven Joachim (18/07/2009): > This looks strange, it seems that the test found update-menus > executable, but it no longer is. Namely, the shell has apparently > hashed it, since otherwise you would "update-menus: command not found" > instead of "permission denied". > > This may be because the dp

Bug#537492: menu: Binary without execution bits.

2009-07-18 Thread Sven Joachim
On 2009-07-18 22:28 +0200, Cyril Brulebois wrote: > Hello -devel, I need a tiny wider audience for that one. > > Bill Allombert (18/07/2009): >> On Sat, Jul 18, 2009 at 09:35:57PM +0200, Cyril Brulebois wrote: >> > Package: menu >> > Version: 2.1.41 >> > Severity: grave >> > Justification: Fucks

Bug#537492: menu: Binary without execution bits.

2009-07-18 Thread Bill Allombert
On Sat, Jul 18, 2009 at 10:13:38PM +0200, Cyril Brulebois wrote: > Cyril Brulebois (18/07/2009): > > > /var/lib/dpkg/info/emacs21.postinst is broken, not menu. > > > > Let's look: > > | # Automatically added by dh_installmenu > > > > | if [ "$1" = "config

Bug#537492: menu: Binary without execution bits.

2009-07-18 Thread Cyril Brulebois
Hello -devel, I need a tiny wider audience for that one. Bill Allombert (18/07/2009): > On Sat, Jul 18, 2009 at 09:35:57PM +0200, Cyril Brulebois wrote: > > Package: menu > > Version: 2.1.41 > > Severity: grave > > Justification: Fucks up upgrades. > > > > Sounds like some bits are missing: > >

Bug#537492: menu: Binary without execution bits.

2009-07-18 Thread Cyril Brulebois
Cyril Brulebois (18/07/2009): > > /var/lib/dpkg/info/emacs21.postinst is broken, not menu. > > Let's look: > | # Automatically added by dh_installmenu > > | if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then > | update-me

Bug#537492: menu: Binary without execution bits.

2009-07-18 Thread Cyril Brulebois
Bill Allombert (18/07/2009): > > No surprise, chmod is used in menu's postinst. WTF? > > /var/lib/dpkg/info/emacs21.postinst is broken, not menu. Let's look: | # Automatically added by dh_installmenu | if [ "$1" = "configure" ] && [ -x "`which update-men

Bug#537492: menu: Binary without execution bits.

2009-07-18 Thread Bill Allombert
On Sat, Jul 18, 2009 at 09:35:57PM +0200, Cyril Brulebois wrote: > Package: menu > Version: 2.1.41 > Severity: grave > Justification: Fucks up upgrades. > > Sounds like some bits are missing: > | -rw-r--r-- root/root122920 2008-10-24 21:03 ./usr/bin/update-menus > > Which leads to: > | instal

Bug#537492: menu: Binary without execution bits.

2009-07-18 Thread Cyril Brulebois
Package: menu Version: 2.1.41 Severity: grave Justification: Fucks up upgrades. Sounds like some bits are missing: | -rw-r--r-- root/root122920 2008-10-24 21:03 ./usr/bin/update-menus Which leads to: | install/elserv: Deleting /tmp/elc_eXSJx7.log | install/devscripts-el: Handling emacs21, log