Bug#390038: this is caused by the use of /sbin/update-grub

Otavio Salvador otavio at debian.org
Mon Dec 4 12:19:40 CET 2006


Frans Pop <elendil at planet.nl> writes:

> On Sunday 03 December 2006 22:34, dean gaudet wrote:
>> the linux-image .postrm script is (through some mechanism) invoking
>> /sbin/update-grub.
>>
>> /sbin/update-grub gives a warning now:
>>
>> You shouldn't call /sbin/update-grub. Please call /usr/sbin/update-grub
>> instead!
>>
>> except that warning is sent on stdout.
>
> I guess another solution for this issue would be if the wrappers in the 
> grub packages wrote these messages to stderr instead of stdout.
> IMO this would be better anyway.
>
> Otavio?

Yes. I will change it and upload a new grub package.

>> - something messed up /etc/kernel-img.conf and didn't put the /usr/sbin
>>   paths on the hooks... if someone has a rc1-installed box please take
>>   a peek in there to see if it has been fixed.
>
> New installs write the lines in kernel-img.conf without any path (i.e. 
> just the command).

Right and this shouldn't be change. It's the right thing to do. The
problem is on the wrapper itself.

Thanks Frans and others.

-- 
        O T A V I O    S A L V A D O R
---------------------------------------------
 E-mail: otavio at debian.org      UIN: 5906116
 GNU/Linux User: 239058     GPG ID: 49A5F855
 Home Page: http://otavio.ossystems.com.br
---------------------------------------------
"Microsoft sells you Windows ... Linux gives
 you the whole house."



More information about the Pkg-grub-devel mailing list