public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Kerin Millar <kerframil@fastmail.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] resolv.conf is different after every reboot
Date: Sun, 27 Jul 2014 23:00:16 +0100	[thread overview]
Message-ID: <53D57670.3090007@fastmail.co.uk> (raw)
In-Reply-To: <CACE6sHnQ=Y1LOsnjdCq3M0vrrPN_cfhBx7mTQ-wTdU1yyny+aw@mail.gmail.com>

On 27/07/2014 21:38, Grand Duet wrote:
> 2014-07-27 22:13 GMT+03:00 Neil Bothwick <neil@digimed.co.uk>:
>> On Sun, 27 Jul 2014 13:33:47 +0300, Grand Duet wrote:
>>
>>>> That's what replaces it when eth0 comes up.
>>>> It looks like eth0 is not being brought up fully
>>>
>>> It sounds logical. But how can I fix it?
>>
>> By identifying how far it is getting and why no further.
>> But it appears that eth0 is being brought up correctly
>> and then the config is overwritten by the lo config.
>
> I think so.
>
> As I have already reported in another reply to this thread,
> it is my first reboot after commenting out the line
>       dns_domain_lo="mynetwork"
> and so far it went good.
>
> Moreover, the file /etc/resolv.conf has not been overwritten.
>
> I still have to check if everything else works fine and
> if I will get the same result on the next reboot
> but I hope that the problem has been solved.
>
> But it looks like a bug in the net csript.
> Why lo configuration should overwrite eth0 configuration at all?

I would consider it be a documentation bug at the very least. Being able 
to propagate different settings to resolv.conf depending on whether a 
given interface is up may be of value for some esoteric use-case, 
although I cannot think of one off-hand. Some other distros use the 
resolvconf application to handle these nuances.

In any case, it is inexplicable that the user is invited to define 
dns_domain for the lo interface. Why would one want to push settings to 
resolv.conf based on the mere fact that the loopback interface has come 
up? Also, it would be a great deal less confusing if the option were 
named dns_search.

I think that the handbook should refrain from mentioning the option at 
all, for the reasons stated in my previous email. Those who know that 
they need to define a specific search domain will know why and be 
capable of figuring it out.

It's too bad that the handbook is still peddling the notion that this 
somehow has something to do with 'setting' the domain name. It is tosh 
of the highest order.

--Kerin


  reply	other threads:[~2014-07-27 22:00 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-27  9:21 [gentoo-user] resolv.conf is different after every reboot Grand Duet
2014-07-27  9:29 ` Neil Bothwick
2014-07-27 10:33   ` Grand Duet
2014-07-27 11:13     ` Dale
2014-07-27 13:10     ` Matti Nykyri
2014-07-27 13:39       ` Grand Duet
2014-07-27 15:36         ` Matti Nykyri
2014-07-27 19:13     ` Neil Bothwick
2014-07-27 20:38       ` Grand Duet
2014-07-27 22:00         ` Kerin Millar [this message]
2014-07-28 15:34           ` Grand Duet
2014-07-30 22:22             ` Kerin Millar
2014-07-27 10:39 ` Walter Dnes
2014-07-27 11:30   ` Grand Duet
2014-07-27 14:50     ` Daniel Frey
2014-07-27 15:08       ` Grand Duet
2014-07-27 20:28         ` Daniel Frey
2014-07-27 20:53           ` Grand Duet
2014-07-27 16:33     ` [gentoo-user] " James
2014-07-27 17:23       ` Grand Duet
2014-07-27 23:00       ` Rich Freeman
2014-07-27 18:14     ` [gentoo-user] " Kerin Millar
2014-07-27 20:26       ` Grand Duet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53D57670.3090007@fastmail.co.uk \
    --to=kerframil@fastmail.co.uk \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox