Bug#486039: closed by Robert Millan <rmh at aybabtu.com> (Bug#486039: fixed in grub2 1.96+20080617-1)
Raphael Geissert
atomo64 at gmail.com
Tue Jun 17 03:06:00 UTC 2008
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.
So that piece of code is actually mixing both depending on whether sh is bash
(or any other sh providing $EUID on its own) or not.
>
> Their explanation is attached below along with your original report.
> If this explanation is unsatisfactory and you have not received a
> better one in a separate message then please contact Robert Millan
> <rmh at aybabtu.com> by replying to this email.
Cheers,
--
Atomo64 - Raphael
Please avoid sending me Word, PowerPoint or Excel attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20080616/c4c6328c/attachment.pgp
More information about the Pkg-grub-devel
mailing list