Roger Heflin writes:
« HTML content follows » once you update the file to be a good one, then do this:chattr +i /etc/resolv.conf (that sets the immutable bit that disallows rename, write, delete).That should prevent anything from overwriting the file. If you need to change the file you will have to -i the file first.It is kind of crude but useful in cases where you really don't want a file to get changed.
I fear that it's only a matter of time before systemd-resolved's scriptlet gets changed to remove the immutable flag on the /etc/resolv.conf symlink before clobbering it.
It keeps finding its way back on my systems, even after I uninstalled it and told it to GTFO. More and more packages keep adding it as a dependency, and that's how it gets pulled back in.
Attachment:
pgpusKujwAX2j.pgp
Description: PGP signature
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure