You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
local:
----------
ID: resolv-file
Function: file.managed
Name: /etc/resolvconf/resolv.conf.d/base
Result: True
Comment: File /etc/resolvconf/resolv.conf.d/base updated
Started: 13:06:06.671173
Duration: 25.268 ms
Changes:
----------
diff:
---
+++
@@ -1,5 +1,6 @@
-# THIS FILE IS MANAGED BY SALTSTACK
-# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
+# Dynamic resolv.conf(5) file for glibc resolver(3) generated by salt-minion(1)
+# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
domain example.com
+search example.com
nameserver 192.0.2.1
nameserver 192.0.2.2
----------
ID: resolv-update
Function: cmd.run
Name: resolvconf -u
Result: True
Comment: Command "resolvconf -u" run
Started: 13:06:06.699972
Duration: 21.766 ms
Changes:
----------
pid:
36785
retcode:
0
stderr:
/etc/resolvconf/update.d/libc: Warning: /etc/resolv.conf is not a symbolic link to /run/resolvconf/resolv.conf
stdout:
$ ls -l /etc/resolv.conf
lrwxrwxrwx 1 root root 31 May 18 11:56 /etc/resolv.conf -> /etc/resolvconf/run/resolv.conf
Steps to reproduce the bug
Expected behaviour
in debian 11 with resolvconf, managed symlink should point to /run/resolvconf/resolv.conf
This is documented in the changelog for the resolvconf Debian package :
resolvconf (1.80) unstable; urgency=medium
[...]
[ Steve Langasek ]
* Eliminate all references to /etc/resolvconf/run. This should all be done
directly in /run, there is no reason to support making any of this
configurable with a symlink since we already have a versioned dependency
on the version of initscripts that introduces the /run transition.
This version landed in Debian 11 (Bullseye), so starting with this release, the map.jinja should set conf_path to /run/resolvconf/resolv.conf instead of /etc/resolvconf/run/resolv.conf
(sorry, I don't have time to do a PR for this right now, maybe later)
Your setup
Formula commit hash / release tag
Using formula at 57fca1d
Versions reports (master & minion)
Salt syndic:
Pillar / config used
Bug details
Describe the bug
When applying:
Steps to reproduce the bug
Expected behaviour
in debian 11 with resolvconf, managed symlink should point to
/run/resolvconf/resolv.conf
Attempts to fix the bug
forcing with:
should work, but it should be automatic.
Additional context
None
The text was updated successfully, but these errors were encountered: