Public bug reported:

debconf stored parameters in  configdb are ignored by /var/lib/dpkg/info
/grub-pc.config at 'dpkg-reconfigure -f noninteractive grub-pc'

Instead of apply configdb parameters (that are stored there before) the
script in /var/lib/dpkg/info/grub-pc.config unconditionally updates them
with parameters extracted from /etc/default/grub

The intended behaviour in this case I suppose to extract parameters from
configdb or any other source and set them to their defaults or any
desired value, to be used in  /etc/default/grub , but the script does
exactly the opposite: overwrites source data. Then, debconf uses
configdb to apply these "new" old parameters again, and as a result I
have configdb wiped with values from /etc/default/grub, and
/etc/default/grub itself stays unchanged.

So the consequence this behaviour has two penalties: original
configuration data (a source) wiped out, actual grub config (target)
stays unchanged.

I have placed 'exit 0' at the beginning of this script and all things
became right -  /etc/default/grub updated, debconf database holds
intended data.

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1053368

Title:
  grub-pc.config failed to retrieve and apply debconf database config

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1053368/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to