On 01/24/2018 04:28 PM, L A Walsh wrote:
James Knott wrote:
I'm running 42.3. One thing I've noticed is that the domain name, as entered in the Domain Name box, in Yast Network Settings, doesn't last through a reboot. It also gets removed from /etc/resolv.conf.
Any idea why this happens? How to fix it?
My first thought was it might be something sysd is doing -- but call that an *unsubstantiated* feeling.
Then I thought about how to figure it out...
You say /etc/defaultdomain's contents are changed.
Try, as root, setting the immutable bit on the file:
sudo chattr +i /etc/defaultdomain.
Now when you reboot, **hopefully**, you will see an error message about how the file can't be written to (unless someone also toggles the immutable bit to write to it (which would be rather evil)).
Just a guess...sorry didn't answer sooner...lack of enthusiasm on my part... :-/
-l
That file is empty and shows a write date of May 17, so I don't think that's the problem. As I mentioned earlier, /etc/resolv.conf was changed to remove the search domain. However, I have found a work around. I found that if I put the domain name in the search domain box, rather than domain name, the search domain stays in resolv.conf and works as expected. There is clearly a bug here, but someone else reported it earlier.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org