Bug 45325 - Outdated base/univention-initrd/conffiles/usr/share/initramfs-tools/init
Outdated base/univention-initrd/conffiles/usr/share/initramfs-tools/init
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Kernel
UCS 4.2
Other Linux
: P5 normal (vote)
: UCS 5.0
Assigned To: Philipp Hahn
Arvid Requate
https://anonscm.debian.org/gitweb/?p=...
:
Depends on: 35138 37724
Blocks: 46120
  Show dependency treegraph
 
Reported: 2017-09-05 12:52 CEST by Philipp Hahn
Modified: 2021-05-25 15:59 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 5: Blocking further progress on the daily work
User Pain: 0.114
Enterprise Customer affected?:
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
Remove init UCR template (2.45 KB, patch)
2017-09-05 12:58 CEST, Philipp Hahn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2017-09-05 12:52:22 CEST
univention-initrd provides an UCR template for initramfs/init, which was last updated in UCS-3.2 and is still based on the version of initramfs-tools_0.112 from Debian-Qheezy (ucs-3.2-0@41879). It is out-dated and does not provide the hooks needed by "cloud-initramfs-growroot".

The only change in our version of initramfs/init is the addition of
+@%@UCRWARNING=# @%@
+

The fix is to simply revert the UCR diversion.
Comment 1 Philipp Hahn univentionstaff 2017-09-05 12:58:19 CEST
Created attachment 9173 [details]
Remove init UCR template
Comment 2 Philipp Hahn univentionstaff 2020-06-17 11:04:52 CEST
This breaks reboot after the update to UCS-5.0-0 which again updated initramfs-tools/init: It introduced a new variable "fastboot" in `init`, which our old copy did not set, and `function` required it and failed the `init` → Kernel Panic

[feature/ucs5] 8e26f5ecd5 Bug #32509 initrd: Update UCR template
 .../conffiles/etc/initramfs-tools/initramfs.conf   |  39 +--
 .../conffiles/usr/share/initramfs-tools/init       | 331 ---------------------
 base/univention-initrd/debian/changelog            |   6 +
 base/univention-initrd/debian/control              |   4 +-
 base/univention-initrd/debian/ucslint.overrides    |   2 -
 .../debian/univention-initrd.dirs                  |   1 -
 .../debian/univention-initrd.maintscript           |   1 +
 .../debian/univention-initrd.postinst              |  38 ---
 .../debian/univention-initrd.ucslint               |   1 -
 .../univention-initrd.univention-config-registry   |   3 -
 ...
 11 files changed, 33 insertions(+), 399 deletions(-)

Package: univention-initrd
Version: 12.0.0-1A~5.0.0.202006051842
Comment 4 Arvid Requate univentionstaff 2021-03-16 17:56:54 CET
This is part of a series of commits for Bug 32509.

Looks like df5635f5c9 is the hash of the merged commit:

commit df5635f5c9
Author: Philipp Hahn <hahn@univention.de>
Date:   Wed Jun 17 08:05:15 2020 +0200

    Bug #32509 initrd: Update UCR template
    
    Remove UCR template for initramfs-tools/init:
    - rootdelay= is now supported upstream
    - the legacy code to handle UUID= and LABEL= is deprecated for multiple
      Debian releases. Maybe add a pre-check to preup.sh
    
    Remove dependency on e2fsprogs: It is 'Priority: important' already.
    
    Stop setting UCR default values and document the default in *.ucrv.
    Also add new 'list' setting.


May I assume a UCS-5 changelog entry is not required?
Comment 6 Arvid Requate univentionstaff 2021-03-16 18:02:49 CET
Ah, sorry, that's the QA card, I'll close that once this is verified.

Changelog: yes or no?
Comment 7 Philipp Hahn univentionstaff 2021-03-16 18:39:42 CET
(In reply to Arvid Requate from comment #6)
> Changelog: yes or no?

No: part of the work to upgrade to Debian 10 Buster
Comment 8 Arvid Requate univentionstaff 2021-03-16 20:35:32 CET
Ok
Comment 9 Florian Best univentionstaff 2021-05-25 15:59:48 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".