Missing dependency on dracut-network
The README.md states
> When installing from an rpm package, `dracut-network` is automatically
installed as dependency.
https://github.com/gsauthof/dracut-sshd/blob/7fafecf189c2dda305e4277822e26d2e91061a36/README.md?plain=1#L121C1-L122C25
However, after upgrading to Fedora 43 and when I called `dnf autoremove`, system removed `dracut-network`:
```
$ dnf autoremove
Package Arch Version Repository Size
Removing:
cpuinfo x86_64 24.09.26-2.git1e83a2f.fc43.2 fedora 107.0 KiB
dracut-network x86_64 107-8.fc43 fedora 112.8 KiB
duktape x86_64 2.7.0-10.fc43 fedora 615.8 KiB
giflib x86_64 5.2.2-8.fc43 fedora 112.1 KiB
gnupg2-g13 x86_64 2.4.8-4.fc43 fedora 199.7 KiB
gnupg2-scdaemon x86_64 2.4.8-4.fc43 fedora 689.6 KiB
gnupg2-smime x86_64 2.4.8-4.fc43 fedora 517.5 KiB
gnupg2-utils x86_64 2.4.8-4.fc43 fedora 342.7 KiB
gnupg2-wks x86_64 2.4.8-4.fc43 fedora 269.4 KiB
jemalloc x86_64 5.3.0-13.fc43 fedora 983.2 KiB
libb2 x86_64 0.98.1-14.fc43 fedora 42.1 KiB
pcsc-lite x86_64 2.3.3-2.fc43 fedora 214.7 KiB
pcsc-lite-ccid x86_64 1.6.2-2.fc43 fedora 355.7 KiB
pcsc-lite-libs x86_64 2.3.3-2.fc43 fedora 59.9 KiB
pigz x86_64 2.8-7.fc43 fedora 163.0 KiB
polkit x86_64 126-6.fc43 fedora 459.9 KiB
polkit-libs x86_64 126-6.fc43 fedora 199.8 KiB
polkit-pkla-compat x86_64 0.1-31.fc43 fedora 89.5 KiB
python3-setuptools noarch 78.1.1-15.fc43 fedora 9.0 MiB
Transaction Summary:
Removing: 19 packages
```
Which causes a dracut error:
```
$ dracut -f /boot/initramfs-$(uname -r).img $(uname -r)
dracut[E]: Module 'systemd-networkd' cannot be found.
```
Package itself doesn't pull in `dracut-network`:
```
$ dnf install dracut-sshd
Updating and loading repositories:
Repositories loaded.
Package "dracut-sshd-0.7.1-2.fc43.noarch" is already installed.
Nothing to do.
```
However,
```
$ dnf repoquery --requires dracut-sshd
Updating and loading repositories:
Repositories loaded.
/usr/bin/bash
dracut
dracut-network
openssh-server
```
But
```
$ rpm -qR dracut-sshd
/usr/bin/bash
config(dracut-sshd) = 0.7.1-2.fc43
dracut
openssh-server
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsZstd) <= 5.4.18-1
```
3 条评论