Package: isc-dhcp-client Version: 4.4.1-2.3+deb11u2 We have a file integrity checking system installed and it alerts constantly b/c /etc/resolv.conf updates its timestamp on almost every invocation of dhclient tool. The fix is simple: --- /sbin/dhclient-script.orig 2023-02-20 08:19:43.000000000 +0000 +++ /sbin/dhclient-script 2023-07-28 15:45:31.927151674 +0000 @@ -84,7 +84,7 @@ chown --reference=$resolv_conf $new_resolv_conf chmod --reference=$resolv_conf $new_resolv_conf fi - mv -f $new_resolv_conf $resolv_conf + diff $new_resolv_conf $resolv_conf >/dev/null || mv -f $new_resolv_conf $resolv_conf # DHCPv6 elif [ -n "$new_dhcp6_domain_search" ] || [ -n "$new_dhcp6_name_servers" ]; then resolv_conf=$(readlink -f "/etc/resolv.conf" 2>/dev/null) ||
Please, incorporate. root@ip-172-26-5-140:/usr/sbin# uname -a Linux ip-172-26-5-140 5.10.0-23-cloud-amd64 #1 SMP Debian 5.10.179-1 (2023-05-12) x86_64 GNU/Linux root@ip-172-26-5-140:/usr/sbin# cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" NAME="Debian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ID=debian -- Best regards, Alex