dracut cannot build initramfs with crypt-ssh support, despite having the required packages installed for network-legacy, as indicated by https://wiki.gentoo.org/wiki/Dracut#List_of_modules sys-apps/iproute2 (ip), ? (dhclient), sys-apps/sed (sed), virtual/awk (awk), sys-apps/grep (grep), sys-apps/coreutils (tr, expr), net-analyzer/arping (arping) The dracut-crypt-ssh package is also installed. Reproducible: Always Steps to Reproduce: run dracut -m " crypt-ssh " --force Actual Results: dracut[I]: Executing: /usr/bin/dracut -m " crypt-ssh " --force dracut[E]: Module 'network' depends on module 'network-legacy', which can't be installed dracut[E]: Module 'crypt-ssh' depends on module 'network', which can't be installed dracut[E]: Module 'crypt-ssh' cannot be installed. Expected Results: dracut builds an initramfs will the crypt-ssh module included This dracut behaviour has been witnessed on four different AMD64 computers, in both dracut-103-r4 and -105-r4.
Occurs with openrc; systemd behaviour unknown.
Please attach the output with the --debug option enabled.
Created attachment 918188 [details] output of dracut --force --debug -m " crypt-ssh "
From the log: /usr/lib/dracut/dracut-init.sh@118(require_binaries): ddebug 'Module '\''network-legacy'\'' will not be installed, because command '\''dhclient'\'' could not be found!' You don't have dhclient (net-misc/dhcp) installed.