[Bug 1053368] Re: grub-pc.config failed to retrieve and apply debconf database config
Launchpad Bug Tracker
1053368 at bugs.launchpad.net
Tue May 5 06:22:40 UTC 2020
[Expired for grub2 (Ubuntu) because there has been no activity for 60
days.]
** Changed in: grub2 (Ubuntu)
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1053368
Title:
grub-pc.config failed to retrieve and apply debconf database config
Status in grub2 package in Ubuntu:
Expired
Bug description:
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1053368/+subscriptions
More information about the foundations-bugs
mailing list