On 11/5/24 9:38 AM, Peter Humphrey wrote:
The Network Manager man page says to 'chattr +i /etc/resolv.conf', so I did, and that one move enabled the wireless network to work as it should.

What?!?!?! Network Manager can't be made to keep it's hands off of /etc/resolv.conf so the workaround is to leverage file system features to break Network Manager's hands when it tries to touch the file?

That's a hell of a bad design in my opinion.

The tar error will be related to the restore / write to disk, not reading from ""tape or command error.

You might explore an option to cause tar to exclude /etc/resolv.conf from the restore job. I'm not sure what that would look like as I'm usually only messing with exclude during backups.

You might be able to mess with some even more esoteric (bind) mount options, but that will be quite similar to the chattr dance.

I'd go smack Network Manager with a bigger bat.



--
Grant. . . .

Reply via email to