dracut package failed: returned error status 1

Bug #1860484 reported by Bernard Stafford
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dracut (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Ubuntu 19.10 x86_64
Synaptic Package manager: Selected : dracut (version 048-80-2) ----> selected apply ---> An err occurred --->
         Post- installation script sub-process returned error status 1
My output is:
Processing triggers for man-db (2.8.7-3) ...
Errors were encountered while processing:
 dracut
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up dracut (048+80-2) ...
dracut: Generating /boot/initrd.img-5.3.0-24-generic
dracut-install: ERROR: installing 'clevis-decrypt-http'
dracut: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.8EeTZe/initramfs -a /etc/services clevis-decrypt-http clevis-decrypt-tang clevis-decrypt-sss /usr/lib/x86_64-linux-gnu/clevis-luks-askpass clevis-decrypt luksmeta clevis mktemp curl jose socat
sicherboot: Installing 5.3.0-24-generic to ESP
cat: /etc/kernel/cmdline: No such file or directory
objcopy: cannot open: /etc/kernel/cmdline: No such file or directory
dpkg: error processing package dracut (--configure):
 installed dracut package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 dracut

Benjamin Drung (bdrung)
summary: - drucut package failed: returned error status 1
+ dracut package failed: returned error status 1
Revision history for this message
Benjamin Drung (bdrung) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

I couldn't find 'clevis-decrypt-http' in the dracut 059 source code. dracut 59 reads /etc/kernel/cmdline in two places. Both times it is guarded by `[[ -f /etc/kernel/cmdline ]]`. So I assume that the bug was fixed since the report.

Feel free to continue to report any other bugs you may find.

Changed in dracut (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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