Bug#640334: ([kfreebsd] dash: faccessat implementation of test -x always returns true for user root) makes update-grub fail

2011-09-05 Thread Colin Watson
On Mon, Sep 05, 2011 at 05:16:54AM +0200, Axel Beckert wrote:
 I just ran into this issue with update-grub, too:
 
 [...]
 /usr/sbin/grub-mkconfig: 291: /usr/sbin/grub-mkconfig: /etc/grub.d/README: 
 Permission denied
 
 There runs a test -x /etc/grub.d/README just before that problem
 happens and /usr/sbin/grub-mkconfig is a /bin/sh script.
 
 This is related to https://bugs.launchpad.net/bugs/537123 (update-grub
 fails if /etc/grub.d/README executable bit set) which seems to either
 not fixed or showed up again as a regression (see comment #4). That
 issue is also present in Debian Sid. It just showed up on kfreebsd
 because of test -x failing to report executable bits properly.
 
 Colin: Yeah, that's how I stumbled upon the fact that LP: 537123 is
 not fixed or has a regression. :-)

Thanks for noticing this.  I've fixed this in GRUB upstream and will
backport to Debian and Ubuntu.

-- 
Colin Watson   [cjwat...@debian.org]



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#640334: ([kfreebsd] dash: faccessat implementation of test -x always returns true for user root) makes update-grub fail

2011-09-04 Thread Axel Beckert
affects 640334 + grub-common
kthxbye

Hi,

I just ran into this issue with update-grub, too:

[...]
/usr/sbin/grub-mkconfig: 291: /usr/sbin/grub-mkconfig: /etc/grub.d/README: 
Permission denied

There runs a test -x /etc/grub.d/README just before that problem
happens and /usr/sbin/grub-mkconfig is a /bin/sh script.

This is related to https://bugs.launchpad.net/bugs/537123 (update-grub
fails if /etc/grub.d/README executable bit set) which seems to either
not fixed or showed up again as a regression (see comment #4). That
issue is also present in Debian Sid. It just showed up on kfreebsd
because of test -x failing to report executable bits properly.

Colin: Yeah, that's how I stumbled upon the fact that LP: 537123 is
not fixed or has a regression. :-)

Regards, Axel
-- 
 ,''`.  |  Axel Beckert a...@debian.org, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-|  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Processed: Bug#640334 ([kfreebsd] dash: faccessat implementation of test -x always returns true for user root) makes update-grub fail

2011-09-04 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 affects 640334 + grub-common
Bug #640334 [dash] [kfreebsd] dash: faccessat implementation of test -x 
always returns true for user root
Added indication that 640334 affects grub-common
 kthxbye
Stopping processing here.

Please contact me if you need assistance.
-- 
640334: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=640334
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org