fixrtc hook requires e2fsprogs package, but that is not a dependency

Bug #1831747 reported by Byte Commander
26
This bug affects 3 people
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Package "initramfs-tools-core" provides "/usr/share/initramfs-tools/hooks/fixrtc" which runs during the update or regeneration of the initramfs and requires the file "/sbin/dumpe2fs" (available from "e2fsprogs") to be present, otherwise it fails and aborts the whole process, leading e.g. to an inconsistent package system.

The problem/cause seems to be that "initramfs-tools-core" package has no direct or indirect hard dependency on "e2fsprogs".

I believe either the package dependency should be added, or the fixrtc hook script should be rewritten so that it just outputs a warning instead of aborting with a failure if missing "dumpe2fs" is not a critical problem.

This issue seems to affect at least Ubuntu 16.04 and 18.04. It has been brought to my attention at https://askubuntu.com/q/1148791/367990

Tags: eoan
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in initramfs-tools (Ubuntu):
status: New → Confirmed
Revision history for this message
Brian Murray (brian-murray) wrote :

Duplicate bug 1813469 shows e2fsprogs being removed when 'apt --fix-broken install' was run.

Revision history for this message
Brian Murray (brian-murray) wrote :

While it is correct that the fixrtc requires e2fsprogrs given that e2fsprogs is in the minimal install task I'm setting this to Low.

tags: added: eoan
Changed in initramfs-tools (Ubuntu):
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.