Also fix RPM scriptlet dependencies for udev-less installs: Adjust %postun to skip udevadm when udevd isn't accessible, matching %post. This lets the package install and remove inside a container or rpm-ostree system without udev. Move the /usr/sbin/update-alternatives dependency to the initscripts-updown subpackage, which is the only consumer, and drop the systemd-udev Requires(post) from the main package. Backport of upstream 09e2de8b. Resolves: RHEL-93551 Resolves: RHEL-126543 Resolves: RHEL-149149 Resolves: RHEL-126455 Resolves: RHEL-129186 Resolves: RHEL-140113 Resolves: RHEL-182559 Signed-off-by: Josephine Pfeiffer <josie@redhat.com>
33 lines
1.2 KiB
Plaintext
33 lines
1.2 KiB
Plaintext
# CLAT implements the client part of 464XLAT (RFC 6877), an
|
|
# architecture that provides IPv4 connectivity to hosts on IPv6-only
|
|
# networks.
|
|
#
|
|
# The default value for the connection property 'ipv4.clat' is still
|
|
# 'no'. Change it globally to 'auto' (1) so that CLAT gets enabled
|
|
# automatically when the network advertises a PREF64 and there is no
|
|
# native IPv4 configured (either because DHCPv4 option 108 was
|
|
# received or because there is no DHCPv4 server).
|
|
#
|
|
# See: https://fedoraproject.org/wiki/Changes/IPv6-Mostly_Support_In_NetworkManager
|
|
|
|
# Do not modify this file. You can hide/overwrite this file by
|
|
# creating "/etc/NetworkManager/conf.d/24-clat-auto.conf". You can
|
|
# also add configuration snippets with higher priority that override
|
|
# this setting (see `man 5 NetworkManager.conf`). Most importantly,
|
|
# this snippet only sets default values for the profile. You can
|
|
# explicitly set the value for each profile, so that this default
|
|
# value is not used.
|
|
|
|
# For example, on a particular profile/network set
|
|
#
|
|
# $ nmcli connection modify "$PROFILE" ipv4.clat no
|
|
#
|
|
# to disable CLAT. This prevents the default from this file to take
|
|
# effect.
|
|
|
|
[connection-24-clat-auto]
|
|
ipv4.clat=1
|
|
|
|
[.config]
|
|
enable=nm-version-min:1.57
|