Patch for /usr/share/initramfs-tools/scripts/init-bottom/dropbear on
Ubuntu 22.04-LTS
This feels like the better place, as it respects dropbear's original
semantic for IFDOWN on systems which run netplan. Needs to be followed
by update-initramfs -u -k 'all'
/root/dropbear-orig
Confirming the clevis issue.
Patch for reference:
--- /usr/share/initramfs-tools/scripts/local-bottom/clevis.orig 2022-07-11
10:52:16.938228467 -0500
+++ /usr/share/initramfs-tools/scripts/local-bottom/clevis 2022-07-11
10:30:08.040636353 -0500
@@ -46,5 +46,9 @@ for iface in
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: clevis (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu.
The same problem occurs when the hdd is automatically decrypted with
clevis and a tang server. The script /usr/share/initramfs-
tools/scripts/local-bottom/clevis tries to deactivate the network
interface again after it got the secret to decrypt the disk from the
tang server:
...
for iface in
** Also affects: clevis (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1813394
Title:
DROPBEAR_IFDOWN=* takes
I can confirm the workaround by boxeus works on Ubuntu 20.04 LTS. To
improve on that, the lines can be added to the /etc/dropbear-
initramfs/config config file instead to avoid upgrade issues. It is
loaded towards the end of /usr/share/initramfs-tools/scripts/init-
bottom/dropbear anyway.
Which version of Mint (or which upstream Ubuntu it is based on?) I
wonder if there is a way to get those rows into the configs rather than
editing packaged files?
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to
The easiest way to fix this on linux mint for me was to edit:
/usr/share/initramfs-tools/scripts/init-bottom/dropbear
add these two lines to the end of file:
rm /run/net-*.conf
rm /run/netplan/*.yaml
save and run:
update-initramfs -u
--
You received this bug notification because you are a
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: initramfs-tools (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu.
It seems the workaround above does not work on Ubuntu 20.04.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1813394
Title:
DROPBEAR_IFDOWN=* takes interface down
Digging even further back, it turns out that IFDOWN is in itself a
workaround for an equal issue dating back to ~2012. As such, the core of
the issue lies with how initramfs network setup overrides netplan.
Adding that package.
Given the very limited setup /etc/initramfs-tools/initramfs.conf
11 matches
Mail list logo