Bug#486039: closed by Robert Millan <rmh at aybabtu.com> (Bug#486039: fixed in grub2 1.96+20080617-1)

Robert Millan rmh at aybabtu.com
Tue Jun 17 11:28:22 UTC 2008


On Mon, Jun 16, 2008 at 10:06:00PM -0500, Raphael Geissert wrote:
> Source: grub2
> Version: 1.96+20080617-1
> 
> On Monday 16 June 2008, Debian Bug Tracking System wrote:
> > This is an automatic notification regarding your Bug report
> > which was filed against the grub-efi package:
> >
> > #486039: grub-efi: bashism in /bin/sh script
> >
> > It has been closed by Robert Millan <rmh at aybabtu.com>.
> 
> >      - Uses EUID instead of UID in update-grub.  (Closes: #486043, #486039,
> >        #486040, #486041).
> 
> At first I though they had just s/UID/EUID/g, but seems not.
> 
> But checking the code...
> 
> > if [ "x$EUID" = "x" ] ; then
> >   EUID=`id -u`
> > fi
> 
> is wrong, id -u is the equivalent of $UID, id -ru of $EUID.

$ sudo bash -c "id -ru"
0
$ sudo bash -c "echo $EUID"
1000

I think this is all bogus, and I don't have time to trace down these things.

Fortunately, this has such a low priority that it doesn't matter at all.

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What good is a phone call… if you are unable to speak?
(as seen on /.)





More information about the Pkg-grub-devel mailing list