i check that is saved, i run sudo systemctl restart NetworkManager.service
and after that run dns info that is locals: ,
i try to make reboot and i notice that the file is again
Fixed! But with a litle different way, we reduce the problem only on the dns that doesnt pick unfortunantelly after reboot again i had the same entries, so i searched a litle and i found a different way to set permament dns
I run
nmcli con show --active
To see active interfaces,
i see my eth0 with id ,etc and i set with that command the dns
nmcli con mod "501ba88f-a6be-4d68-bfd6-84696ba74aab" ipv4.dns "8.8.8.8, 8.8.4.4"
after reboot everything works (ping)
i recheck the file resolv.conf and i have this:
# /etc/resolv.conf and seeing this text, you have followed the symlink.
#
# This is a dynamic resolv.conf file for connecting local clients to the
# internal DNS stub resolver of systemd-resolved. This file lists all
# configured search domains.
#
# Run "resolvectl status" to see details about the uplink DNS servers
# currently in use.
#
# Third party programs should typically not access this file directly, but only
# through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a
# different way, replace this symlink by a static file or a different symlink.
#
# See man:systemd-resolved.service(8) for details about the supported modes of
# operation for /etc/resolv.conf.
nameserver 127.0.0.53
options edns0 trust-ad
search .
also on dns info:
sudo ha dns info
fallback: true
host: 172.30.32.3
llmnr: true
locals:
- dns://8.8.8.8
- dns://8.8.4.4
mdns: true
servers: []
update_available: false
version: 2023.06.2
version_latest: 2023.06.2
i think now im ok , and with reboot nothing changes!! Thank you very very much for your help!
Is there a way to stop the cgroup version reverting to systemd/cgroup ver 2 all the time?
This is possibly some quirk with my setup.
Whenever I update docker or linux security updates (eg. linux-image-6.1.0-12-arm64 or linux-image-arm64).
My cgroup reverts to systemd and ver 2 from cgroupfs an ver 1.
It also seems
systemd.unified_cgroup_hierarchy=0
is being removed from
/boot/firmware/cmdline.txt
Is this just me or does it happen to everyone?
Is there a solution to avoid having to re add this line after most linux updates?
I just stopped playing those games (trying to fix the cgroup version problem manually as quite a while ago that didn’t fix my issue) and just run the below commands one at a time - will only take you a few minutes - (you won’t lose anything):
Check the above thread - or this URL to see if the OS-Agent I use below is the latest one first - (currently 1.6.0) -
At this point I check on the contents of the directory and clean the old .deb files out if I am getting newer ones, then (make sure you are still in there a “sudo -i” first):
So, the above steps allow you to ensure you have the latest and greatest and yet, not have to worry about cgroup version issues (and you do not lose your configuration either) - but always back everything up!
To make this even more simple just type the following command through CLI:
sudo sed -i.bak 's/$/ systemd.unified_cgroup_hierarchy=0/' /boot/firmware/cmdline.txt
and reboot.
The above command will take care of writing a backup of the original file (/boot/firmware/cmdline.txt.bak) to be prepared just in case something goes wrong.
Seemingly No at this point. This did never happen with Debian 11 (at least here). I am still investigating the latter on a dev RPI4 with HA Supervised on Debian 12.
It occurred in deb 11 also for me. I was hoping deb 12 would cease the behaviour.
Was also hoping deb 12 might have made the systemd ver2 to cgroupfs ver1 change unnecessary.
Oh well. It’s only a minor inconvenience in the scheme of things.