I think my issue is a bug, but there's way too many projects on linuxmint github. I guess it's a github thing that these are hard to sort through. I don't know which project it applies to. I checked, and 21.3 is based off of the same ubuntu. So it should theoretically be NOT there issue. This is affecting the cinnamon edition, non-edge iso.
Basically, this code used to work:
Code: Select all
#! /bin/bash
echo Fix resolv.conf...
sudo systemctl disable systemd-resolved
sudo systemctl stop systemd-resolved
sudo systemctl status systemd-resolved
sleep 11
echo
echo Copy configuration files...
sudo rm -f /etc/resolv.conf
sudo cp -f /usr/bin/stub-resolv.conf /etc/resolv.conf
It worked, since at least mint 21 cinnamon non-edge iso. Or if anything, 21.1. However, now you need this code:
fix-resolv_conf2.sh
Code: Select all
#! /bin/bash
echo Fix resolv.conf...
sudo systemctl disable systemd-resolved
sudo systemctl stop systemd-resolved
sudo systemctl status systemd-resolved
sleep 11
echo
echo Copy configuration files...
sudo cp -f /usr/bin/stub-resolv.conf /var/run/systemd/resolve
echo Rebooting in 1 minute...
read -s -n 1 -p "Please run, 'sudo fix-resolv_conf3.sh', after reboot...'"
echo
shutdown -r +1 "Rebooting for fix-resolv_conf."
echo
fix-resolv_conf3.sh
Code: Select all
#! /bin/bash
echo Copy configuration files...
sudo rm -f /etc/resolv.conf
sudo cp -f /usr/bin/stub-resolv.conf /etc/resolv.conf
sudo chown root /etc/resolv.conf
sudo chgrp root /etc/resolv.conf
sudo chmod 777 /etc/resolv.conf
This issue might only affect me. I'd suggest changing it back, whatever has changed, unless it's a wayland issue. However, now that it's been introduced, you would need a filesystem flag that can set which behavior it has. I'd not do a patch, if I were you, but save fixing it for the next version. Otherwise you could have a non-bootable system suddenly. This affects upgrading to a new version, in my case. I will probably have to manually reinstall each machine in my network, rather than being able to upgrade. But in the case where I can't find where to put a bug report, at least I noted it here for others to see. I'll keep this open for a bit to facilitate discussion, even if you are just telling me where to file a bug report, which project. Thanks!