Re: Why does resolv.conf keep changing?

2017-11-04 Thread Roberto C . Sánchez
On Sat, Nov 04, 2017 at 08:53:56PM +, Brian wrote: > > I'm not going to ask what an "intersection situation" is. It sounds very > technical. But I thought anyone who used DHCP. and cared about it, would > realise they had ended up on the network they were connecting to. That > would include

Re: Why does resolv.conf keep changing?

2017-11-04 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, Nov 04, 2017 at 08:53:56PM +, Brian wrote: > On Sat 04 Nov 2017 at 08:03:02 -0400, Roberto C. Sánchez wrote: > > > On Sat, Nov 04, 2017 at 08:45:59AM +0100, to...@tuxteam.de wrote: > > > > > > Most of us fall into two classes: > > > > >

Re: Why does resolv.conf keep changing?

2017-11-04 Thread Brian
On Sat 04 Nov 2017 at 08:03:02 -0400, Roberto C. Sánchez wrote: > On Sat, Nov 04, 2017 at 08:45:59AM +0100, to...@tuxteam.de wrote: > > > > Most of us fall into two classes: > > > > A. All static. Nobody changes resolv.conf. All is well. Admin writes > > resolv.conf (and /etc/hosts and

Re: Why does resolv.conf keep changing?

2017-11-04 Thread Pascal Hambourg
Le 03/11/2017 à 23:22, Roger Lynn a écrit : I think it would be preferable for every package which wants to write to the resolv.conf file to be required to use the resolvconf package to do so If it is installed. Otherwise, write directly in resolv.conf. Uninstalling the resolvconf package

Re: Why does resolv.conf keep changing?

2017-11-04 Thread Roberto C . Sánchez
On Sat, Nov 04, 2017 at 08:45:59AM +0100, to...@tuxteam.de wrote: > > Most of us fall into two classes: > > A. All static. Nobody changes resolv.conf. All is well. Admin writes > resolv.conf (and /etc/hosts and all). (the "classic") > B. Get IP address via DHCP (dhclient, NetworkManager,

Re: Why does resolv.conf keep changing?

2017-11-04 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Nov 03, 2017 at 10:22:33PM +, Roger Lynn wrote: > On 26/10/17 13:40, Stefan Monnier wrote: > >> Given that multiple packages potentially touch/change resolv.conf (at > >> least resolvconf and the various DHCP clients), > > > > That is not

Re: Why does resolv.conf keep changing?

2017-11-03 Thread Roger Lynn
On 26/10/17 13:40, Stefan Monnier wrote: >> Given that multiple packages potentially touch/change resolv.conf (at >> least resolvconf and the various DHCP clients), > > That is not true: when resolvconf is installed, *no package* should > (modulo bugs) ever change /etc/resolv.conf. > > Instead

Re: Why does resolv.conf keep changing?

2017-10-28 Thread Glenn English
I've recently found myself living with a T1 and a DHCP (Comcast) -- slow and reliable all the time, and blistering fast at 3:00 AM. I think I may have dealt with the resolv.conf (R.C) problem. I set myself as the owner of R.C, removed everything but owner read permission, and set it to immutable.

Re: [SOLVED] Re: Why does resolv.conf keep changing?

2017-10-28 Thread Roberto C . Sánchez
On Sat, Oct 28, 2017 at 09:45:18AM +, Bonno Bloksma wrote: > Hi Roberto, > > I am glad you have things resolved and discovered some things that could be > improved. Thanks. > I do have one question about your solution. > > You write: > > >> This is clearly evidence that the problem is

RE: [SOLVED] Re: Why does resolv.conf keep changing?

2017-10-28 Thread Bonno Bloksma
Hi Roberto, I am glad you have things resolved and discovered some things that could be improved. I do have one question about your solution. You write: >> This is clearly evidence that the problem is with dhclient >> (isc-dhcp-client in my case). I am taking another look at the >>

Re: Why does resolv.conf keep changing?

2017-10-28 Thread Mart van de Wege
Roberto C. Sánchez writes: > On Fri, Oct 27, 2017 at 11:46:53PM +0200, Mart van de Wege wrote: >> Roberto C. Sánchez writes: >> >> > Think about that for a minute. The mere action of an interface (any >> > interface on the system) obtaining a DHCP lease

Re: Why does resolv.conf keep changing?

2017-10-28 Thread Mart van de Wege
David Wright writes: > Am I the only person surprised that there wasn't more advocacy for > systemd-resolved.service as well. > So far all that's stopping me experimenting with it is that I don't understand the interaction between openvpn, systemd-networkd and

Re: Why does resolv.conf keep changing?

2017-10-27 Thread Michael Stone
On Fri, Oct 27, 2017 at 07:49:29AM -0400, Gene Heskett wrote: I must argue against it, until as you say, resolvconf is given a well documented way to be told to leave a "static" system alone. Until such time, I'll make /etc/resolv.conf a real file, and mark it and /etc/network/interfaces

Re: Why does resolv.conf keep changing?

2017-10-27 Thread David Wright
On Fri 27 Oct 2017 at 18:05:23 (-0400), Roberto C. Sánchez wrote: > On Fri, Oct 27, 2017 at 11:46:53PM +0200, Mart van de Wege wrote: > > Roberto C. Sánchez writes: > > > > > Think about that for a minute. The mere action of an interface (any > > > interface on the system)

Re: Why does resolv.conf keep changing?

2017-10-27 Thread Roberto C . Sánchez
On Fri, Oct 27, 2017 at 11:46:53PM +0200, Mart van de Wege wrote: > Roberto C. Sánchez writes: > > > Think about that for a minute. The mere action of an interface (any > > interface on the system) obtaining a DHCP lease is sufficient to have > > dhclient think it needs to

Re: Why does resolv.conf keep changing?

2017-10-27 Thread Mart van de Wege
Roberto C. Sánchez writes: > Think about that for a minute. The mere action of an interface (any > interface on the system) obtaining a DHCP lease is sufficient to have > dhclient think it needs to obliterate my manual networking configuration > with settings from the DHCP

Re: Why does resolv.conf keep changing?

2017-10-27 Thread Mart van de Wege
Darac Marjal writes: > > Who's saying it must be installed? Maybe I've missed something, but I > think the consensus in this discussion was that if you want your > resolv.conf to be unmanaged/static/administrator-controlled, then > don't have resolvconf installed. If

Re: [SOLVED] Re: Why does resolv.conf keep changing?

2017-10-27 Thread Greg Wooledge
On Fri, Oct 27, 2017 at 07:47:49PM +, Curt wrote: > My response is two venerable hot-shots from this very forum ventured > into that rather short wiki within the last 24 hours, made edits, > advertised them here, but couldn't be bothered to fix the fucking thing > and as a lesser mortal

Re: [SOLVED] Re: Why does resolv.conf keep changing?

2017-10-27 Thread Curt
On 2017-10-27, Brian wrote: >> > >> >> Weird wiki. From "my issues" (sic) down it switches from third to >> first-person narration by what I suspect is a Germanophone and all hell >> breaks loose (grammatically speaking). > > It's a wiki. That tells you something. ("someone

Re: Why does resolv.conf keep changing?

2017-10-27 Thread David Wright
On Fri 27 Oct 2017 at 11:38:56 (-0700), Kevin O'Gorman wrote: > Interesting. I took a look at mine, and found > lrwxrwxrwx 1 root root 29 Aug 8 2016 /etc/resolv.conf -> > ../run/resolvconf/resolv.conf > > so the thing is now entirely dynamic. I don't know what setting it > immutable would do

Re: Why does resolv.conf keep changing?

2017-10-27 Thread David Wright
On Fri 27 Oct 2017 at 08:35:05 (-0400), Greg Wooledge wrote: > On Fri, Oct 27, 2017 at 01:18:58PM +0100, Darac Marjal wrote: > > Who's saying it must be installed? > > A few people in this thread, though I think they're saying "should" > rather than "must". > > > Maybe I've missed something, but

Re: [SOLVED] Re: Why does resolv.conf keep changing?

2017-10-27 Thread Brian
On Fri 27 Oct 2017 at 18:27:09 +, Curt wrote: > On 2017-10-27, Greg Wooledge wrote: > > On Fri, Oct 27, 2017 at 11:03:38AM -0400, Roberto C. Sánchez wrote: > >> I finally got around to updating the wiki page today. Here is the link > >> for those who wish to have it as

Re: Why does resolv.conf keep changing?

2017-10-27 Thread Kevin O'Gorman
Interesting. I took a look at mine, and found lrwxrwxrwx 1 root root 29 Aug 8 2016 /etc/resolv.conf -> ../run/resolvconf/resolv.conf so the thing is now entirely dynamic. I don't know what setting it immutable would do or mean. I'm running xubuntu 16.04.3 LTS On Fri, Oct 27, 2017 at 5:35

Re: [SOLVED] Re: Why does resolv.conf keep changing?

2017-10-27 Thread Curt
On 2017-10-27, Greg Wooledge wrote: > On Fri, Oct 27, 2017 at 11:03:38AM -0400, Roberto C. Sánchez wrote: >> I finally got around to updating the wiki page today. Here is the link >> for those who wish to have it as a reference or perhaps would like to >> contribute to

Re: [SOLVED] Re: Why does resolv.conf keep changing?

2017-10-27 Thread Greg Wooledge
On Fri, Oct 27, 2017 at 11:03:38AM -0400, Roberto C. Sánchez wrote: > I finally got around to updating the wiki page today. Here is the link > for those who wish to have it as a reference or perhaps would like to > contribute to further improving it: > > https://wiki.debian.org/resolv.conf I've

Re: [SOLVED] Re: Why does resolv.conf keep changing?

2017-10-27 Thread Roberto C . Sánchez
On Wed, Oct 25, 2017 at 02:26:35PM -0400, Roberto C. Sánchez wrote: > > In any event, thanks to all who helped and who provided hints on things > to investigate/try. Later today I will update the poorly written wiki > article [0] to explain that immutable is a troubleshooting approach and > I

Re: Why does resolv.conf keep changing?

2017-10-27 Thread Stefan Monnier
> Who's saying it must be installed? Maybe I've missed something, but I think > the consensus in this discussion was that if you want your resolv.conf to be > unmanaged/static/administrator-controlled, then don't have resolvconf > installed. This is a ridiculous idea. This thread is about a user

Re: Why does resolv.conf keep changing?

2017-10-27 Thread Stefan Monnier
>> Granted, it might be nice if resolvconf had an easier way to configure >> a static setup, but as it is now packages that need to access >> resolv.conf should do this through resolvconf if it is available, so >> installing and configuring it *is* the right way to handle this. > I must argue

Re: Why does resolv.conf keep changing?

2017-10-27 Thread Roberto C . Sánchez
On Fri, Oct 27, 2017 at 01:18:58PM +0100, Darac Marjal wrote: > > Who's saying it must be installed? Maybe I've missed something, but I think > the consensus in this discussion was that if you want your resolv.conf to be > unmanaged/static/administrator-controlled, then don't have resolvconf >

Re: Why does resolv.conf keep changing?

2017-10-27 Thread Greg Wooledge
On Fri, Oct 27, 2017 at 01:18:58PM +0100, Darac Marjal wrote: > Who's saying it must be installed? A few people in this thread, though I think they're saying "should" rather than "must". > Maybe I've missed something, but I think > the consensus in this discussion was that if you want your

Re: Why does resolv.conf keep changing?

2017-10-27 Thread Darac Marjal
On Fri, Oct 27, 2017 at 07:49:29AM -0400, Gene Heskett wrote: On Friday 27 October 2017 03:46:27 Mart van de Wege wrote: Roberto C. Sánchez writes: > On Thu, Oct 26, 2017 at 12:24:32PM +0100, Darac Marjal wrote: >> Actually, there's no need to duplicate the effort. As I

Re: Why does resolv.conf keep changing?

2017-10-27 Thread Gene Heskett
On Friday 27 October 2017 03:46:27 Mart van de Wege wrote: > Roberto C. Sánchez writes: > > On Thu, Oct 26, 2017 at 12:24:32PM +0100, Darac Marjal wrote: > >> Actually, there's no need to duplicate the effort. As I understand > >> it, resolvconf is basically an optional

Re: Why does resolv.conf keep changing?

2017-10-27 Thread Mart van de Wege
Roberto C. Sánchez writes: > On Thu, Oct 26, 2017 at 12:24:32PM +0100, Darac Marjal wrote: >> >> Actually, there's no need to duplicate the effort. As I understand it, >> resolvconf is basically an optional helper program. Software that >> automatically modifies

Re: Why does resolv.conf keep changing?

2017-10-26 Thread Gene Heskett
On Thursday 26 October 2017 12:13:57 Nicholas Geovanis wrote: > An interesting, accidental FYI on the subject of the resolvconf > package: Just now I upgraded an Ubuntu 17.04 test machine which was > fully upgraded only ten days ago. I see in the pending upgrade details > that resolvconf is "No

Re: Why does resolv.conf keep changing?

2017-10-26 Thread Gene Heskett
On Thursday 26 October 2017 11:35:06 Glenn English wrote: > On Wed, Oct 25, 2017 at 1:06 AM, Michael Stone wrote: > > On Mon, Oct 23, 2017 at 08:31:05PM -0400, Gene Heskett wrote: > >> and made immutable. Particularly is the fact that /etc/resolv.conf > >> isn't a link to

Re: [SOLVED] Re: Why does resolv.conf keep changing?

2017-10-26 Thread Roberto C . Sánchez
On Thu, Oct 26, 2017 at 12:31:32PM -0700, Don Armstrong wrote: > On Thu, 26 Oct 2017, Roberto C. Sánchez wrote: > > I do have a syslog package installed and running. It is possible I > > misremembered what was previously logged where, but there is a clear > > discrepancy between what goes to

Re: [SOLVED] Re: Why does resolv.conf keep changing?

2017-10-26 Thread Don Armstrong
On Thu, 26 Oct 2017, Roberto C. Sánchez wrote: > I do have a syslog package installed and running. It is possible I > misremembered what was previously logged where, but there is a clear > discrepancy between what goes to syslog and what systemd captures: [...] > In particular, systemd appears

Re: Why does resolv.conf keep changing?

2017-10-26 Thread Nicholas Geovanis
On Thu, Oct 26, 2017 at 11:13 AM, Nicholas Geovanis wrote: > An interesting, accidental FYI on the subject of the resolvconf package: > Just now I upgraded an Ubuntu 17.04 test machine which was fully upgraded > only ten days ago. I see in the pending upgrade details that

Re: Why does resolv.conf keep changing?

2017-10-26 Thread Nicholas Geovanis
An interesting, accidental FYI on the subject of the resolvconf package: Just now I upgraded an Ubuntu 17.04 test machine which was fully upgraded only ten days ago. I see in the pending upgrade details that resolvconf is "No longer supported by Canonical" since the previous upgrade. On Thu, Oct

Re: Why does resolv.conf keep changing?

2017-10-26 Thread The Wanderer
On 2017-10-26 at 11:35, Glenn English wrote: > On Wed, Oct 25, 2017 at 1:06 AM, Michael Stone wrote: > >> On Mon, Oct 23, 2017 at 08:31:05PM -0400, Gene Heskett wrote: >>> >>> and made immutable. Particularly is the fact that /etc/resolv.conf isn't >>> a link to something else

Re: Why does resolv.conf keep changing?

2017-10-26 Thread Greg Wooledge
On Thu, Oct 26, 2017 at 03:35:06PM +, Glenn English wrote: > The 'search host dns' line? How do you set that order? I couldn't find > that from a bit of surfing, and I'd like to have name lookups work in > that order... Gene's resolv.conf has this erroneous line that he has been maintaining

Re: Why does resolv.conf keep changing?

2017-10-26 Thread Glenn English
On Wed, Oct 25, 2017 at 1:06 AM, Michael Stone wrote: > On Mon, Oct 23, 2017 at 08:31:05PM -0400, Gene Heskett wrote: >> >> and made immutable. Particularly is the fact that /etc/resolv.conf isn't >> a link to something else but contains: >> >> nameserver 192.168.XX.1 >> search

Re: Why does resolv.conf keep changing?

2017-10-26 Thread Roberto C . Sánchez
On Thu, Oct 26, 2017 at 09:31:47AM -0500, David Wright wrote: > > Judging by your address and earlier comment, you're much closer to > Debian's strategy than I am, but I thought the thrust of Debian was > to coerce/persuade packages to cooperate on /etc/resolv.conf so that > one package did not

Re: Why does resolv.conf keep changing?

2017-10-26 Thread David Wright
On Thu 26 Oct 2017 at 07:46:24 (-0400), Roberto C. Sánchez wrote: > On Thu, Oct 26, 2017 at 12:24:32PM +0100, Darac Marjal wrote: > > > > Actually, there's no need to duplicate the effort. As I understand it, > > resolvconf is basically an optional helper program. Software that > > automatically

Re: [SOLVED] Re: Why does resolv.conf keep changing?

2017-10-26 Thread Nicholas Geovanis
On Thu, Oct 26, 2017 at 8:06 AM, Roberto C. Sánchez wrote: > > Is this the new normal, for things to get captured in some systemd log > that I cannot grep out of /var/log? Unfortunately yes. My experience with Debian 8/9 and more recent Ubuntu is that there is now no

Re: [SOLVED] Re: Why does resolv.conf keep changing?

2017-10-26 Thread Roberto C . Sánchez
On Thu, Oct 26, 2017 at 09:35:03AM -0400, Greg Wooledge wrote: > On Thu, Oct 26, 2017 at 09:06:09AM -0400, Roberto C. Sánchez wrote: > > debian:/etc# systemctl status networking > > [...] > > Is this the new normal, for things to get captured in some systemd log > > that I cannot grep out of

Re: [SOLVED] Re: Why does resolv.conf keep changing?

2017-10-26 Thread Greg Wooledge
On Thu, Oct 26, 2017 at 09:06:09AM -0400, Roberto C. Sánchez wrote: > debian:/etc# systemctl status networking > [...] > Is this the new normal, for things to get captured in some systemd log > that I cannot grep out of /var/log? I specifically recall in the past > on older pre-systemd systems

Re: Why does resolv.conf keep changing?

2017-10-26 Thread Greg Wooledge
On Wed, Oct 25, 2017 at 11:35:20PM -0400, Stefan Monnier wrote: > `resolvconf` only touches /etc/resolv.conf when it is installed/initialized. > What it does to it is to replace it with a symlink. > After that, it doesn't touch it any morel instead it only modifies the file > that is the target of

Re: [SOLVED] Re: Why does resolv.conf keep changing?

2017-10-26 Thread Roberto C . Sánchez
On Wed, Oct 25, 2017 at 02:26:35PM -0400, Roberto C. Sánchez wrote: > > As an additional note, it is strange to me that none of the dhclient > interactions are logged in syslog. When I ran dhclient directly and > specified the verbose option, that resulted in the exhanges being logged > to

Re: Why does resolv.conf keep changing?

2017-10-26 Thread Stefan Monnier
>> > If Debian developers who are responsible for resolvconf are reading this, >> > and if they actually CARE about making things work correctly and sensibly, >> > then here is yet another proposal: give us a way to QUICKLY and EASILY >> > and RELIABLY tell resolvconf "never do anything". >>

Re: Why does resolv.conf keep changing?

2017-10-26 Thread Roberto C . Sánchez
On Thu, Oct 26, 2017 at 12:24:32PM +0100, Darac Marjal wrote: > > Actually, there's no need to duplicate the effort. As I understand it, > resolvconf is basically an optional helper program. Software that > automatically modifies /etc/resolv.conf should first test for the presence > of resolvconf

Re: Why does resolv.conf keep changing?

2017-10-26 Thread Darac Marjal
On Thu, Oct 26, 2017 at 06:44:44AM -0400, Roberto C. Sánchez wrote: On Wed, Oct 25, 2017 at 11:35:20PM -0400, Stefan Monnier wrote: > If Debian developers who are responsible for resolvconf are reading this, > and if they actually CARE about making things work correctly and sensibly, > then

Re: Why does resolv.conf keep changing?

2017-10-26 Thread Roberto C . Sánchez
On Wed, Oct 25, 2017 at 11:35:20PM -0400, Stefan Monnier wrote: > > If Debian developers who are responsible for resolvconf are reading this, > > and if they actually CARE about making things work correctly and sensibly, > > then here is yet another proposal: give us a way to QUICKLY and EASILY >

Re: Why does resolv.conf keep changing?

2017-10-25 Thread Stefan Monnier
> If Debian developers who are responsible for resolvconf are reading this, > and if they actually CARE about making things work correctly and sensibly, > then here is yet another proposal: give us a way to QUICKLY and EASILY > and RELIABLY tell resolvconf "never do anything". `resolvconf` only

Re: Why does resolv.conf keep changing?

2017-10-25 Thread Don Armstrong
On Wed, 25 Oct 2017, Gene Heskett wrote: > Whereas my theory has always been WRT the search line, that it should > first search the /etc/hosts file for a name match, and failing that, > query my router, which is running dd-wrt which means its running > dnsmasq. This is wrong, and has been wrong

Re: [SOLVED] Re: Why does resolv.conf keep changing?

2017-10-25 Thread Greg Wooledge
On Wed, Oct 25, 2017 at 02:49:43PM -0400, Roberto C. Sánchez wrote: > On Wed, Oct 25, 2017 at 02:34:52PM -0400, Greg Wooledge wrote: > > This only works on SOME dhcp servers, not all. > > See > > So, if I understand your post correctly,

Re: [SOLVED] Re: Why does resolv.conf keep changing?

2017-10-25 Thread Roberto C . Sánchez
On Wed, Oct 25, 2017 at 02:34:52PM -0400, Greg Wooledge wrote: > On Wed, Oct 25, 2017 at 02:26:35PM -0400, Roberto C. Sánchez wrote: > > OK. I was able to dig into this I resolved the problem by telling > > dhclient to not request the bits of information that would trigger a > > change to

Re: Why does resolv.conf keep changing?

2017-10-25 Thread David Wright
On Wed 25 Oct 2017 at 09:38:54 (-0400), Gene Heskett wrote: > On Wednesday 25 October 2017 09:19:04 Roberto C. Sánchez wrote: > > > On Tue, Oct 24, 2017 at 11:49:21AM -0500, David Wright wrote: > > > Perhaps you could watch the file with inotifywait, and capture > > > a ps and maybe even a lsof

Re: [SOLVED] Re: Why does resolv.conf keep changing?

2017-10-25 Thread Michael Stone
On Wed, Oct 25, 2017 at 02:26:35PM -0400, Roberto C. Sánchez wrote: OK. I was able to dig into this I resolved the problem by telling dhclient to not request the bits of information that would trigger a change to /etc/resolv.conf Note that this is *not* reliable, as the server may send the

Re: [SOLVED] Re: Why does resolv.conf keep changing?

2017-10-25 Thread Greg Wooledge
On Wed, Oct 25, 2017 at 02:26:35PM -0400, Roberto C. Sánchez wrote: > OK. I was able to dig into this I resolved the problem by telling > dhclient to not request the bits of information that would trigger a > change to /etc/resolv.conf. > request subnet-mask, broadcast-address, time-offset,

[SOLVED] Re: Why does resolv.conf keep changing?

2017-10-25 Thread Roberto C . Sánchez
On Wed, Oct 25, 2017 at 10:00:03AM -0400, Roberto C. Sánchez wrote: > > This is clearly evidence that the problem is with dhclient > (isc-dhcp-client in my case). I am taking another look at the supersede > directives in /etc/dhcp/dhclient.conf to make sure that I am specifying > them correctly.

Re: Why does resolv.conf keep changing?

2017-10-25 Thread rhkramer
On Wednesday, October 25, 2017 01:06:21 PM to...@tuxteam.de wrote: > Yeah, hey. But those were MCSEs and network pros. Or something (you aren't > in charge of ~5K client boxes, are you?) Nope--just have read too many instructions that didn't clearly delineate what was a variable / parameter vs.

Re: Why does resolv.conf keep changing?

2017-10-25 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Oct 25, 2017 at 12:55:01PM -0400, rhkra...@gmail.com wrote: > On Wednesday, October 25, 2017 09:43:15 AM to...@tuxteam.de wrote: > > (Don't chuckle. A company I was working at did set its internal "top > > level domain" to "local". Much

Re: Why does resolv.conf keep changing?

2017-10-25 Thread rhkramer
On Wednesday, October 25, 2017 09:43:15 AM to...@tuxteam.de wrote: > (Don't chuckle. A company I was working at did set its internal "top > level domain" to "local". Much hilarity with zeroconf [1] ensued). And I'll bet the person that did that was following the instructions he found / was given

Re: Why does resolv.conf keep changing?

2017-10-25 Thread Gene Heskett
On Wednesday 25 October 2017 11:05:28 Dan Ritter wrote: > On Wed, Oct 25, 2017 at 07:35:35AM -0400, Gene Heskett wrote: > > On Tuesday 24 October 2017 23:46:47 Felix Miata wrote: > > > Gene Heskett composed on 2017-10-24 22:52 (UTC-0400): > > > >> On Mon, Oct 23, 2017 at 20:31:05 -0400, Gene

Re: Why does resolv.conf keep changing?

2017-10-25 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Oct 25, 2017 at 04:01:50PM +0100, Joe wrote: > On Wed, 25 Oct 2017 15:43:15 +0200 > wrote: > > > > > > (Don't chuckle. A company I was working at did set its internal "top > > level domain" to "local". Much hilarity with

Re: Why does resolv.conf keep changing?

2017-10-25 Thread Dan Ritter
On Wed, Oct 25, 2017 at 07:35:35AM -0400, Gene Heskett wrote: > On Tuesday 24 October 2017 23:46:47 Felix Miata wrote: > > > Gene Heskett composed on 2017-10-24 22:52 (UTC-0400): > > >> On Mon, Oct 23, 2017 at 20:31:05 -0400, Gene Heskett wrote: > > >>>and made immutable. Particularly is the fact

Re: Why does resolv.conf keep changing?

2017-10-25 Thread Joe
On Wed, 25 Oct 2017 15:43:15 +0200 wrote: > > (Don't chuckle. A company I was working at did set its internal "top > level domain" to "local". Much hilarity with zeroconf [1] ensued). > That was the standard recommendation for users of MS Small Business Server, who were

Re: Why does resolv.conf keep changing?

2017-10-25 Thread Curt
On 2017-10-25, wrote: > > On Wed, Oct 25, 2017 at 09:18:36AM -0400, Michael Stone wrote: > > [...] > >> >Might be "man resolv.conf". >> >> Can't be, that man page clearly says: >> >> search Search list for host-name lookup. > > [...] > >> It certainly

Re: Why does resolv.conf keep changing?

2017-10-25 Thread Roberto C . Sánchez
On Wed, Oct 25, 2017 at 09:24:49AM -0400, Stefan Monnier wrote: > > I am not willing to accept > > And what are you going to do about that? Sue us? Sue Debian Inc. ? > Whoa. Take it down a notch. Considering I am a member of the project itself it would be very counterproductive for me to to

Re: Why does resolv.conf keep changing?

2017-10-25 Thread Roberto C . Sánchez
On Wed, Oct 25, 2017 at 09:24:16AM -0400, Gene Heskett wrote: > > All perfectly valid points Greg. I don't know if theres a first language > barrier or what, No barrier. > but the OP has not been forthcoming with answers to the > lists questions. I don't see the need for secrecy when the list

Re: Why does resolv.conf keep changing?

2017-10-25 Thread Roberto C . Sánchez
On Wed, Oct 25, 2017 at 09:03:07AM -0400, Greg Wooledge wrote: > > I'm STILL waiting for the OP to give the most basic, fundamental details > like showing the output of lsattr /etc/resolv.conf to prove that his/her > assumptions are correct. IIRC it took two days for us to get proof that >

Re: Why does resolv.conf keep changing?

2017-10-25 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Oct 25, 2017 at 09:18:36AM -0400, Michael Stone wrote: [...] > >Might be "man resolv.conf". > > Can't be, that man page clearly says: > > search Search list for host-name lookup. [...] > It certainly doesn't say anything about

Re: Why does resolv.conf keep changing?

2017-10-25 Thread Gene Heskett
On Wednesday 25 October 2017 09:19:04 Roberto C. Sánchez wrote: > On Tue, Oct 24, 2017 at 11:49:21AM -0500, David Wright wrote: > > Perhaps you could watch the file with inotifywait, and capture > > a ps and maybe even a lsof listing at that moment. > > I have both inotify-hookable and incrond

Re: Why does resolv.conf keep changing?

2017-10-25 Thread Stefan Monnier
> I am not willing to accept And what are you going to do about that? Sue us? Sue Debian Inc. ? > that there is no way to identify what is going on that is causing > resolv.conf to change. BTW, maybe one way to identify the culprit is: - install resolvconf [ I know it sounds bad, but bear

Re: Why does resolv.conf keep changing?

2017-10-25 Thread Gene Heskett
On Wednesday 25 October 2017 09:03:07 Greg Wooledge wrote: > On Wed, Oct 25, 2017 at 02:42:49PM +0200, to...@tuxteam.de wrote: > > Still the open question remains: why is it being changed although > > the "immutable" attriibute was set? > > > > The OP says so, and we must believe that, [...] > >

Re: Why does resolv.conf keep changing?

2017-10-25 Thread Michael Stone
On Wed, Oct 25, 2017 at 09:03:07AM -0400, Greg Wooledge wrote: If Debian developers who are responsible for resolvconf are reading this, and if they actually CARE about making things work correctly and sensibly, then here is yet another proposal: give us a way to QUICKLY and EASILY and RELIABLY

Re: Why does resolv.conf keep changing?

2017-10-25 Thread Roberto C . Sánchez
On Wed, Oct 25, 2017 at 02:42:49PM +0200, to...@tuxteam.de wrote: > > Yes. Still the open question remains: why is it being changed although > the "immutable" attriibute was set? > > The OP says so, and we must believe that, but I've a hard time imagining > how that happens (whatever program is

Re: Why does resolv.conf keep changing?

2017-10-25 Thread Michael Stone
On Wed, Oct 25, 2017 at 01:59:42PM +0200, Alberto Luaces wrote: Michael Stone writes: On Wed, Oct 25, 2017 at 12:16:49AM -0400, Gene Heskett wrote: On Tuesday 24 October 2017 23:02:39 Michael Stone wrote: On Tue, Oct 24, 2017 at 10:52:03PM -0400, Gene Heskett wrote: >But since its worked

Re: Why does resolv.conf keep changing?

2017-10-25 Thread Stefan Monnier
>> Also the solution I showed has the advantage that when he stops his >> bind deamon, he still gets his host names resolved (via the >> DHCP-provided DNS server). > Even for shop.coyote.den? Of course: for all host names he cares to use. And obviously, his DHCP-provided DNS server will answer

Re: Why does resolv.conf keep changing?

2017-10-25 Thread Roberto C . Sánchez
On Tue, Oct 24, 2017 at 11:49:21AM -0500, David Wright wrote: > > Perhaps you could watch the file with inotifywait, and capture > a ps and maybe even a lsof listing at that moment. > I have both inotify-hookable and incrond watching the file and the output of `lsof /etc/resolv.conf` and `ps

Re: Why does resolv.conf keep changing?

2017-10-25 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Oct 25, 2017 at 09:03:07AM -0400, Greg Wooledge wrote: [...] > P.S. All this talk about "mobile devices are the new normal, so we have > to make everything 20 times as complicated, even for unmoving workstations > and servers" can go screw

Re: Why does resolv.conf keep changing?

2017-10-25 Thread Roberto C . Sánchez
the problem. If you look at the subject line of my original message it is "Why does resolv.conf keep changing?" The problem I am trying to solve is to identify what on my system keeps changing resolv.conf despite the fact that I do not have the resolvconf package installed and that

Re: Why does resolv.conf keep changing?

2017-10-25 Thread Greg Wooledge
On Wed, Oct 25, 2017 at 02:42:49PM +0200, to...@tuxteam.de wrote: > Still the open question remains: why is it being changed although > the "immutable" attriibute was set? > > The OP says so, and we must believe that, [...] I'm STILL waiting for the OP to give the most basic, fundamental details

Re: Why does resolv.conf keep changing?

2017-10-25 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Oct 25, 2017 at 08:51:55AM -0400, Stefan Monnier wrote: > > Yes. Still the open question remains: why is it being changed although > > the "immutable" attriibute was set? > > I'm not sufficiently familiar with the "immutable" attribute to

Re: Why does resolv.conf keep changing?

2017-10-25 Thread Gene Heskett
On Wednesday 25 October 2017 08:35:56 Stefan Monnier wrote: > >> I just gave you a solution to your underlying problem, which *uses* > >> the infrastructure rather than fighting it. I won't force you to > >> use it, tho. > > > > I thought the canonical method which was discussed in the > >

Re: Why does resolv.conf keep changing?

2017-10-25 Thread Joe
On Wed, 25 Oct 2017 14:16:38 +0200 wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Wed, Oct 25, 2017 at 01:06:37PM +0100, Joe wrote: > > On Wed, 25 Oct 2017 07:35:35 -0400 > > Gene Heskett wrote: > > > > > > > > > > Whereas my theory

Re: Why does resolv.conf keep changing?

2017-10-25 Thread Stefan Monnier
> Yes. Still the open question remains: why is it being changed although > the "immutable" attriibute was set? I'm not sufficiently familiar with the "immutable" attribute to answer that, sorry. Stefan

Re: Why does resolv.conf keep changing?

2017-10-25 Thread Nicolas George
Le quartidi 4 brumaire, an CCXXVI, to...@tuxteam.de a écrit : > If I give an > FQDN (e.g. duckduckgo.com), the dots in the host name tell the resolver > to bypass the search list. You are wrong on this particular point. If the host name contains

Re: Why does resolv.conf keep changing?

2017-10-25 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Oct 25, 2017 at 08:35:56AM -0400, Stefan Monnier wrote: > >> I just gave you a solution to your underlying problem, which *uses* the > >> infrastructure rather than fighting it. I won't force you to use it, tho. > > I thought the canonical

Re: Why does resolv.conf keep changing?

2017-10-25 Thread Stefan Monnier
>> I just gave you a solution to your underlying problem, which *uses* the >> infrastructure rather than fighting it. I won't force you to use it, tho. > I thought the canonical method which was discussed in the Depends on "method to do what?". A static resolv.conf is basically a concept from

Re: Why does resolv.conf keep changing?

2017-10-25 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Oct 25, 2017 at 02:11:21PM +0200, Nicolas George wrote: > Le quartidi 4 brumaire, an CCXXVI, to...@tuxteam.de a écrit : > > If I give an > > FQDN (e.g. duckduckgo.com), the dots in the host

Re: Why does resolv.conf keep changing?

2017-10-25 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Oct 25, 2017 at 01:06:37PM +0100, Joe wrote: > On Wed, 25 Oct 2017 07:35:35 -0400 > Gene Heskett wrote: > > > > > > Whereas my theory has always been WRT the search line, that it should > > first search the

Re: Why does resolv.conf keep changing?

2017-10-25 Thread Gene Heskett
On Wednesday 25 October 2017 07:36:54 Michael Stone wrote: > On Wed, Oct 25, 2017 at 12:16:49AM -0400, Gene Heskett wrote: > >On Tuesday 24 October 2017 23:02:39 Michael Stone wrote: > >> On Tue, Oct 24, 2017 at 10:52:03PM -0400, Gene Heskett wrote: > >> >But since its worked flawlessly for

Re: Why does resolv.conf keep changing?

2017-10-25 Thread Joe
On Wed, 25 Oct 2017 07:35:35 -0400 Gene Heskett wrote: > > Whereas my theory has always been WRT the search line, that it should > first search the /etc/hosts file for a name match, and failing that, > query my router, which is running dd-wrt which means its running >

Re: Why does resolv.conf keep changing?

2017-10-25 Thread Alberto Luaces
Michael Stone writes: > On Wed, Oct 25, 2017 at 12:16:49AM -0400, Gene Heskett wrote: >>On Tuesday 24 October 2017 23:02:39 Michael Stone wrote: >> >>> On Tue, Oct 24, 2017 at 10:52:03PM -0400, Gene Heskett wrote: >>> >But since its worked flawlessly for years, please explain what IS >>> > wrong

Re: Why does resolv.conf keep changing?

2017-10-25 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Oct 25, 2017 at 07:35:35AM -0400, Gene Heskett wrote: > On Tuesday 24 October 2017 23:46:47 Felix Miata wrote: > > > Gene Heskett composed on 2017-10-24 22:52 (UTC-0400): > > >> On Mon, Oct 23, 2017 at 20:31:05 -0400, Gene Heskett wrote: > >

Re: Why does resolv.conf keep changing?

2017-10-25 Thread Michael Stone
On Wed, Oct 25, 2017 at 12:16:49AM -0400, Gene Heskett wrote: On Tuesday 24 October 2017 23:02:39 Michael Stone wrote: On Tue, Oct 24, 2017 at 10:52:03PM -0400, Gene Heskett wrote: >But since its worked flawlessly for years, please explain what IS > wrong with it. We've been over this before.

Re: Why does resolv.conf keep changing?

2017-10-25 Thread Gene Heskett
On Tuesday 24 October 2017 23:46:47 Felix Miata wrote: > Gene Heskett composed on 2017-10-24 22:52 (UTC-0400): > >> On Mon, Oct 23, 2017 at 20:31:05 -0400, Gene Heskett wrote: > >>>and made immutable. Particularly is the fact that /etc/resolv.conf > >>> isn't a link to something else but

Re: Why does resolv.conf keep changing?

2017-10-25 Thread Michael Stone
On Tue, Oct 24, 2017 at 11:46:47PM -0400, Felix Miata wrote: 2-My lines 1 are always the search lines, each starting with the word "search", followed by domain(s) to be searched, e.g. "search mylan.net coyote.den someother.biz" [...] 4-I have no lines starting with string "domain", but as a

  1   2   >