On Sun, Apr 24, 2022 at 02:12:50PM -0400, Sam Varshavchik wrote:
Kevin Fenzi writes:
> I suggest the OP misunderstood the setup or intended setup.
>
> The scriptlets will set /etc/resolv.conf to point to the
> systemd-resolved resolver if:
>
> * The /etc/resolv.conf file doesn't exist yet
> AND
> * systemd is being used to boot (so, it's not a container, etc)
> AND
> * systemd-resolved service is enabled
> AND
> * DNSStubListener is not set to no/false/off in systemd/resolved.conf
That's the first ln -s call in the scriptlet.
Now, look at the second one, the one with the -f flag.
Which systemd version are you looking at?
bug #2074122 was just recently fixed in
https://bodhi.fedoraproject.org/updates/FEDORA-2022-1bf06aa328
systemd-249.11-2.fc35
perhaps thats what you hit?
kevin