Since change 49306cb this kickstart
is pulling in weak dependencies of packages. systemd-resolved is a
weak dependency of systemd; hence this is being installed now.
The systemd-resolved package installation sets /etc/resolv.conf as a
symlink to a systemd-resolved created file in /run. Toolbox will not
currently reset this on container start, as it is a symlink (this
behaviour is a bit complicated; see [1]). This leads to an
incompatability running the toolbox on non systemd-resolved hosts
(e.g. RHEL9); you are left with a dangling symlink and no
name-resolution in the toolbox.
Since change 49306cb this kickstart
is pulling in weak dependencies of packages. systemd-resolved is a
weak dependency of systemd; hence this is being installed now.
The systemd-resolved package installation sets /etc/resolv.conf as a
symlink to a systemd-resolved created file in /run. Toolbox will not
currently reset this on container start, as it is a symlink (this
behaviour is a bit complicated; see [1]). This leads to an
incompatability running the toolbox on non systemd-resolved hosts
(e.g. RHEL9); you are left with a dangling symlink and no
name-resolution in the toolbox.
Explicitly exclude systemd-resolved here.
[1] https://github.com/containers/toolbox/issues/1410