Bug 32509 - Obsolete UCR kernel variables from kernel-package days
Obsolete UCR kernel variables from kernel-package days
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Grub
UCS 4.3
Other Linux
: P5 normal (vote)
: UCS 5.0
Assigned To: Philipp Hahn
Christian Castens
:
Depends on:
Blocks: 46120
  Show dependency treegraph
 
Reported: 2013-09-06 12:36 CEST by Moritz Muehlenhoff
Modified: 2021-05-25 15:59 CEST (History)
5 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 1: Cosmetic issue or missing function but workaround exists
Who will be affected by this bug?: 5: Will affect all installed domains
How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.029
Enterprise Customer affected?: Yes
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:
hahn: Patch_Available+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Moritz Muehlenhoff univentionstaff 2013-09-06 12:36:57 CEST
Historically Debian kernel uses some bits of kernel-package for genering the maintainer scripts of kernel packages.

kernel-package is now deprecated: The Linux kernel packaging in Debian no longer uses it.

We still write out a a template for /etc/kernel-img.conf. Some of the variables configured there are still uses in the maintainer scripts of the Linux package, but some are obsolete and can be removed:

kernel/clobber_modules
kernel/do_bootfloppy
kernel/do_initrd
kernel/do_initrd


We should also remove kernel/ramdisk. For practical purposes a different ramdisk generator is not supported.
Comment 1 Philipp Hahn univentionstaff 2017-03-13 09:06:04 CET
Still true with UCS-4.2:
/etc/kernel-img.conf:12: W: ignoring unknown parameter do_bootfloppy
/etc/kernel-img.conf:13: W: ignoring unknown parameter silent_loader
/etc/kernel-img.conf:15: W: ignoring unknown parameter postinst_hook
Comment 2 Philipp Hahn univentionstaff 2018-01-18 09:46:36 CET
Still true with UCS-4.3:
/etc/kernel-img.conf:12: W: ignoring unknown parameter do_bootfloppy
/etc/kernel-img.conf:13: W: ignoring unknown parameter silent_loader
/etc/kernel-img.conf:15: W: ignoring unknown parameter postinst_hook
Comment 4 Philipp Hahn univentionstaff 2020-06-17 11:12:07 CEST
Package: univention-grub
Version: 13.0.0-2A~5.0.0.202006171111
Comment 5 Philipp Hahn univentionstaff 2020-06-17 11:12:26 CEST
[feature/ucs5] c9d18dc8a8 Bug #51419 grub: Update UCR template
 base/univention-grub/conffiles/etc/default/grub                     | 1 -
 base/univention-grub/debian/changelog                               | 6 ++++++
 .../debian/univention-grub.univention-config-registry               | 1 -
 3 files changed, 6 insertions(+), 2 deletions(-)
Comment 6 Florian Best univentionstaff 2021-02-15 12:13:49 CET
The related commits are:

univention-initrd (12.0.0-2)
df5635f5c963 | Bug #32509 initrd: Update UCR template

univention-base-files (9.0.0-6)
8b26810f22b3 | Bug #51505,Bug #32509 base: Update UCR template [WIP]

univention-base-files (9.0.0-5)
505ff787e5e5 | Bug 46120,Bug #32509 base: Update UCR template

univention-base-files (3.0.3-3)
r43799 | Update/review UCR variable descriptions (Bug #30943)
r43769 | +  * Update/review UCR variable descriptions (Bug #30943)

changelog-5.0-0.xml
8b26810f22b3 | Bug #51505,Bug #32509 base: Update UCR template [WIP]
Comment 7 Christian Castens univentionstaff 2021-02-15 21:50:09 CET
QA: Tested on UCS 5.0-0 with "apt install --reinstall linux-image-amd64" 

"/etc/kernel-img.conf:15: W: ignoring unknown parameter postinst_hook" is still showing up - not sure if this is intended.
Comment 8 Philipp Hahn univentionstaff 2021-02-16 15:45:43 CET
(In reply to Christian Castens from comment #7)
> "/etc/kernel-img.conf:15: W: ignoring unknown parameter postinst_hook" is
> still showing up - not sure if this is intended.

Note to self: Never apply old patches from Debian-2 ago to UCS...

[5.0-0] 40f51b98d9 Bug #32509 grub: Fix shell issues
 base/univention-grub/debian/univention-grub.postinst | 59 ++++++++++++++++++++++------------------
 1 file changed, 32 insertions(+), 27 deletions(-)

[5.0-0] be93aa15c7 Bug #32509 base/grub: Remove postinst_hook
 base/univention-base-files/conffiles/etc/kernel-img.conf                     | 16 ----------------
 base/univention-base-files/debian/changelog                                  |  6 ++++++
 base/univention-base-files/debian/univention-base-files.maintscript          |  1 +
 .../debian/univention-base-files.univention-config-registry                  |  5 -----
 .../debian/univention-base-files.univention-config-registry-variables        |  6 ------
 base/univention-grub/debian/changelog                                        |  6 ++++++
 base/univention-grub/debian/univention-grub.postinst                         |  1 -
 7 files changed, 13 insertions(+), 28 deletions(-)

[5.0-0] e6f07e1a92 fixup! Bug #52798: Update bootscreen to new design
 base/univention-grub/debian/univention-grub.postinst | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Package: univention-grub
Version: 13.0.0-5A~5.0.0.202102161507
Branch: ucs_5.0-0

Package: univention-base-files
Version: 9.0.3-1A~5.0.0.202102161509
Branch: ucs_5.0-0
Comment 9 Christian Castens univentionstaff 2021-02-22 09:28:13 CET
QA: Ok
Comment 10 Florian Best univentionstaff 2021-05-25 15:59:02 CEST
UCS 5.0 has been released:
 https://docs.software-univention.de/release-notes-5.0-0-en.html
 https://docs.software-univention.de/release-notes-5.0-0-de.html

If this error occurs again, please use "Clone This Bug".