Public bug reported:

I'm testing dracut in Ubuntu 25.10. My systems have a root filesystem
that's encrypted using LUKS. Decryption is done automatically on boot
via a Clevis/Tang pin (i.e., in the initramfs Clevis needs to access a
Tang server on the local network).

To make this work in Ubuntu 25.04 and initramfs-tools, I just had to
install clevis-initramfs. This caused the system to request an IP
address via DHCP and Clevis unlocking the root filesystem.

The equivalent to clevis-initramfs for dracut seems to be clevis-dracut.
After installing this, however, networking doesn't seem to be available
in the initramfs. The system does not even request an IP address from my
DHCP server.

* I tried running `dracut --regenerate-all --force` and also `dracut
--regenerate-all --force --hostonly-cmdline`. Neither version helped.

* I checked the output of `lsinitrd`:
  * In the section "dracut modules", this shows (beside others) clevis, 
clevis-pin-null, clevis-pin-sss, clevis-pin-tang, network, network-manager.
  * Under "dracut cmdline", this either shows nothing (after running `dracut 
--regenerate-all --force`) or the following block (after running `dracut 
--regenerate-all --force --hostonly-cmdline`):
```
 rd.luks.uuid=luks-9b927df4-1f37-4ca4-aceb-fabefd079c8f
 rd.lvm.lv=root/root  
 
rd.nvmf.hostnqn=nqn.2014-08.org.nvmexpress:uuid:e2a9ba74-1faa-4407-aa86-5e5753d93263
 rd.nvmf.hostid=1e6a5458-4964-4081-8b20-6ab45e90485f root=/dev/mapper/root-root 
rootfstype=ext4 rootflags=rw,relatime
rd.neednet=1
```
(Note that the last line with rd.neednet=1 is not indented. I don't know if 
that might be an issue.)

** Affects: clevis (Ubuntu)
     Importance: Undecided
         Status: Confirmed

** Affects: dracut (Ubuntu)
     Importance: Undecided
         Status: Confirmed

** Also affects: clevis (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2125746

Title:
  Network in initramfs not working on 25.10

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/clevis/+bug/2125746/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to