Bug#550473: grub-pc: don't ask permission to replace grub.cfg, when upgrading

yauhen barushka samotnik81 at gmail.com
Sat Oct 10 11:55:54 UTC 2009


Package: grub-pc
Version: 1.97~beta3-1
Severity: important



-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/29741942-913f-4462-90d7-0ca1872ce2fb / reiserfs rw,relatime,notail 0 0
/dev/hda5 /home reiserfs rw,relatime 0 0
/dev/hda1 /mnt/c reiserfs rw,nosuid,nodev,noexec,relatime 0 0
/dev/hda6 /mnt/h reiserfs rw,nosuid,nodev,noexec,relatime 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)   /dev/hda
*********************** END /boot/grub/device.map

pn  desktop-base                  <none>     (no description available)
ii  genisoimage                   9:1.1.9-1  Creates ISO-9660 CD-ROM filesystem

-- debconf information:
   grub2/kfreebsd_cmdline:
* grub-pc/linux_cmdline:
* grub2/linux_cmdline:
* grub-pc/chainload_from_menu.lst: true
   grub-pc/kopt_extracted: false
* grub-pc/install_devices: /dev/hda
   grub-pc/postrm_purge_boot_grub: false
   grub2/kfreebsd_cmdline_default: quiet
* grub2/linux_cmdline_default: quiet

***************************************************************************************

Bug report:

When upgrading with `apt-get upgrade' script `grub-install' is runned, which replaces
`/boot/grub/grub.cfg' file without asking for user permission to do it (as most of packages
will do when attemping to replace user config file).

It should either ask permission to rebuild `grub.cfg' or at least keep an old version with a
different name in the same directory.






More information about the Pkg-grub-devel mailing list