]> git.ipfire.org Git - thirdparty/dracut.git/commit
fix(network-manager): run as a service if systemd module is present
authorLukas Nykryn <lnykryn@redhat.com>
Thu, 4 Feb 2021 09:15:45 +0000 (10:15 +0100)
committerHarald Hoyer <harald@hoyer.xyz>
Fri, 19 Feb 2021 10:20:59 +0000 (11:20 +0100)
commitc17c5b7604c8d61dd1c00ee22d44c3a5d7d6dfee
tree4830accb66734a7fa3e3b3079efdfcae4c6990b6
parent34c73b339baa025dfd8916379c4d191be34a8af5
fix(network-manager): run as a service if systemd module is present

In the current state, services that depend on network need to
use dracut hooks, since nothing with pull in the network
targets into the transaction.

In the future, it would be nice to provide developers on systemd-only
systems the possibility to not use dracut hooks at all, but simply put
normal systemd services into the initrd.

Also, some modules even right now depend on systemd ordering, like
cryptsetup, so let's make sure, that the ordering inside systemd work
properly as well.
modules.d/35network-manager/module-setup.sh
modules.d/35network-manager/nm-run.service [new file with mode: 0644]
modules.d/35network-manager/nm-run.sh
modules.d/40network/netroot.sh