Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(network-manager): don't pull in systemd-udev-settle #1552

Merged
merged 1 commit into from
Jul 1, 2021

Conversation

dustymabe
Copy link
Contributor

We get a nice warning about it being deprecated:

systemd-udev-settle.service is deprecated. Please fix nm-initrd.service not to pull it in.

The service is deprecated because its purpose was to wait for the
discovery of all hardware, but it didn't guarantee that (see the
systemd-udev-settle man page).

NM now runs as an independent service and can deal with devices showing
up at any point, but it does need udev to be started. For now just
Want/After systemd-udev-trigger.

We get a nice warning about it being deprecated:

```
systemd-udev-settle.service is deprecated. Please fix nm-initrd.service not to pull it in.
```

The service is deprecated because its purpose was to wait for the
discovery of all hardware, but it didn't guarantee that (see the
systemd-udev-settle man page).

NM now runs as an independent service and can deal with devices showing
up at any point, but it does need udev to be started. For now just
Want/After systemd-udev-trigger.
@github-actions github-actions bot added modules Issue tracker for all modules network-manager Issues related to the network-manager module labels Jun 29, 2021
@dustymabe
Copy link
Contributor Author

Considering the case - should we be using systemd-udev-trigger.service or systemd-udevd.service here?

@dustymabe
Copy link
Contributor Author

cc @bengal

@bengal
Copy link
Contributor

bengal commented Jun 30, 2021

LGTM, thanks.

jlebon added a commit to jlebon/dracut that referenced this pull request Jun 30, 2021
Rawhide systemd warns about this now:

    udevadm[445]: systemd-udev-settle.service is deprecated. Please fix
    multipathd-configure.service, multipathd.service not to pull it in.

Similarly to dracutdevs#1552, we don't actually need that dependency anyway here.
`multipathd-configure.service` just outputs a file in /etc and shouldn't
need to probe devices, and `multipathd` itself by nature is designed to
handle dynamic udev changes.

So just drop it.
@haraldh haraldh merged commit a0f12fb into dracutdevs:master Jul 1, 2021
dustymabe added a commit to dustymabe/fedora-coreos-config that referenced this pull request Jul 9, 2021
Contains upstream fixes needed to get NM running via systemd+dbus
in the initramfs without issues.

- dracutdevs/dracut#1547
- dracutdevs/dracut#1548
- dracutdevs/dracut#1552

Needed to get dracut unfrozen:
coreos/fedora-coreos-tracker#842 (comment)
dustymabe added a commit to dustymabe/fedora-coreos-config that referenced this pull request Jul 9, 2021
Contains upstream fixes needed to get NM running via systemd+dbus
in the initramfs without issues.

- dracutdevs/dracut#1547
- dracutdevs/dracut#1548
- dracutdevs/dracut#1552

Needed to get dracut unfrozen:
coreos/fedora-coreos-tracker#842 (comment)
dustymabe added a commit to coreos/fedora-coreos-config that referenced this pull request Jul 9, 2021
Contains upstream fixes needed to get NM running via systemd+dbus
in the initramfs without issues.

- dracutdevs/dracut#1547
- dracutdevs/dracut#1548
- dracutdevs/dracut#1552

Needed to get dracut unfrozen:
coreos/fedora-coreos-tracker#842 (comment)
stewartsmith pushed a commit to stewartsmith/fedora-rpms-dracut that referenced this pull request Jun 19, 2022
HuijingHei pushed a commit to HuijingHei/fedora-coreos-config that referenced this pull request Oct 10, 2023
Contains upstream fixes needed to get NM running via systemd+dbus
in the initramfs without issues.

- dracutdevs/dracut#1547
- dracutdevs/dracut#1548
- dracutdevs/dracut#1552

Needed to get dracut unfrozen:
coreos/fedora-coreos-tracker#842 (comment)
HuijingHei pushed a commit to HuijingHei/fedora-coreos-config that referenced this pull request Oct 10, 2023
Contains upstream fixes needed to get NM running via systemd+dbus
in the initramfs without issues.

- dracutdevs/dracut#1547
- dracutdevs/dracut#1548
- dracutdevs/dracut#1552

Needed to get dracut unfrozen:
coreos/fedora-coreos-tracker#842 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
modules Issue tracker for all modules network-manager Issues related to the network-manager module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants