GRMLBASE/98-clean-chroot: avoid warning messages with resolvconf <1.80
authorMichael Prokop <mika@grml.org>
Fri, 29 May 2020 12:57:56 +0000 (14:57 +0200)
committerMichael Prokop <mika@grml.org>
Fri, 29 May 2020 13:02:45 +0000 (15:02 +0200)
commit6b2e23da6d77bcddd6f3bca595ec053eac2e9204
treee5591332f48c47c10c04cdcecc03541dba834140
parentcb7d1f2019745999b3bfa64fe495f6e67b1a3f31
GRMLBASE/98-clean-chroot: avoid warning messages with resolvconf <1.80

In commit acf12d4123bd68f we got rid of /etc/resolvconf/run, and while
resolvconf >=1.80 no longer uses /etc/resolvconf/run, older
versions of resolvconf still use it in their libc update hook script. :-/

So while it really works e.g. on Debian/buster (as documented in
commit acf12d4123bd68f) with resolvconf v1.79, there's an ugly:

| /etc/resolvconf/update.d/libc: Warning: /etc/resolv.conf is not a symbolic link to /etc/resolvconf/run/resolv.conf" for resolvconf versions

message when invoking "dhclient". Try to avoid this.

Related to https://github.com/grml/grml/issues/142
etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot