Re: resolv.conf (was Re: electrons/the Internet [racism redacted])

2024-03-04 Thread David Christensen
On 3/4/24 13:11, Greg Wooledge wrote: On Mon, Mar 04, 2024 at 12:36:54PM -0800, David Christensen wrote: I believe Debian rewrites /etc/resolv.conf on every boot. This is not correct. It's *partly* correct if you ignore a lot of complicating factors. Short version: read &

Re: resolv.conf (was Re: electrons/the Internet [racism redacted])

2024-03-04 Thread Markus Schönhaber
04.03.24, 22:11 +0100, Greg Wooledge: > Instead, > we will have another hundred-message argument, in which half the > participants will have no idea what the issue is (but will chime in loudly > anyway), and the second half will simply attack whatever strategies the > third half have selected. Yo

Re: resolv.conf (was Re: electrons/the Internet [racism redacted])

2024-03-04 Thread Jeffrey Walton
On Mon, Mar 4, 2024 at 4:12 PM Greg Wooledge wrote: > > On Mon, Mar 04, 2024 at 12:36:54PM -0800, David Christensen wrote: > > I believe Debian rewrites /etc/resolv.conf on every boot. > > This is not correct. It's *partly* correct if you ignore a lot of > complicatin

resolv.conf (was Re: electrons/the Internet [racism redacted])

2024-03-04 Thread Greg Wooledge
On Mon, Mar 04, 2024 at 12:36:54PM -0800, David Christensen wrote: > I believe Debian rewrites /etc/resolv.conf on every boot. This is not correct. It's *partly* correct if you ignore a lot of complicating factors. Short version: read <https://wiki.debian.org/resolv.conf>. Long v

Re: Populating IPv6 DNS addresses in resolv.conf

2023-11-01 Thread Max Nikulin
On 01/11/2023 17:41, Timothy M Butterworth wrote: All, Thanks for all your help. I was able to get it mostly working: # Generated by NetworkManager search home.arpa nameserver 8.8.8.8 nameserver 8.8.4.4 nameserver 192.168.104.233 # NOTE: the libc resolver may not support more than 3 nameservers

Re: Populating IPv6 DNS addresses in resolv.conf

2023-11-01 Thread Timothy M Butterworth
All, Thanks for all your help. I was able to get it mostly working: # Generated by NetworkManager search home.arpa nameserver 8.8.8.8 nameserver 8.8.4.4 nameserver 192.168.104.233 # NOTE: the libc resolver may not support more than 3 nameservers. # The nameservers listed below may not be recogniz

Re: Populating IPv6 DNS addresses in resolv.conf

2023-10-31 Thread Max Nikulin
set to false may-fail=false method=auto I have tried to add a DNS server through GUI. The result is [ipv6] addr-gen-mode=stable-privacy dns=2001:4860:4860::; method=auto Disconnect and connect again. cat /etc/resolv.conf # Generated by NetworkManager nameserver 10.0.2.3 nameserver 2001:4860

Re: Populating IPv6 DNS addresses in resolv.conf

2023-10-30 Thread Max Nikulin
On 31/10/2023 04:02, Pocket wrote: On 10/30/23 15:50, Timothy M Butterworth wrote: I know it is using dhclient because I typod the domain name supersede domain-name "home.apra"; and it populated .apra in resolv.conf. Sorry, it is not clear for me what did you do and what resu

Re: Populating IPv6 DNS addresses in resolv.conf

2023-10-30 Thread Pocket
On 10/30/23 15:50, Timothy M Butterworth wrote: On Mon, Oct 30, 2023 at 1:18 PM Pocket wrote: On 10/30/23 09:04, Timothy M Butterworth wrote: Hello All, I have been following the recent emails regarding resolv.conf. I almost have my system running perfectly. The only

Re: Populating IPv6 DNS addresses in resolv.conf

2023-10-30 Thread Timothy M Butterworth
On Mon, Oct 30, 2023 at 1:18 PM Pocket wrote: > > On 10/30/23 09:04, Timothy M Butterworth wrote: > > Hello All, > > I have been following the recent emails regarding resolv.conf. I almost > have my system running perfectly. The only thing I am missing is the > populati

Re: Populating IPv6 DNS addresses in resolv.conf

2023-10-30 Thread Timothy M Butterworth
On Mon, Oct 30, 2023 at 11:09 AM Max Nikulin wrote: > On 30/10/2023 20:04, Timothy M Butterworth wrote: > > sudo less /etc/resolv.conf > > domain home.arpa > > search home.arpa > > nameserver 8.8.8.8 > > nameserver 8.8.4.4 > > I do not see "# Gener

Re: Populating IPv6 DNS addresses in resolv.conf

2023-10-30 Thread Pocket
On 10/30/23 09:04, Timothy M Butterworth wrote: Hello All, I have been following the recent emails regarding resolv.conf. I almost have my system running perfectly. The only thing I am missing is the population of IPv6 DNS addresses. sudo less /etc/dhcp/dhclient.conf supersede domain-name

Re: Populating IPv6 DNS addresses in resolv.conf

2023-10-30 Thread Marco M.
Am 30.10.2023 um 22:08:46 Uhr schrieb Max Nikulin: > On 30/10/2023 20:04, Timothy M Butterworth wrote: > > sudo less /etc/resolv.conf > > domain home.arpa > > search home.arpa > > nameserver 8.8.8.8 > > nameserver 8.8.4.4 > > I do not see "# Generat

Re: Populating IPv6 DNS addresses in resolv.conf

2023-10-30 Thread Max Nikulin
On 30/10/2023 20:04, Timothy M Butterworth wrote: sudo less /etc/resolv.conf domain home.arpa search home.arpa nameserver 8.8.8.8 nameserver 8.8.4.4 I do not see "# Generated by NetworkManager" here. nmcli connection nmcli device NetworkManager --print-config

Populating IPv6 DNS addresses in resolv.conf

2023-10-30 Thread Timothy M Butterworth
Hello All, I have been following the recent emails regarding resolv.conf. I almost have my system running perfectly. The only thing I am missing is the population of IPv6 DNS addresses. sudo less /etc/dhcp/dhclient.conf supersede domain-name "home.arpa"; supersede dhcp6.domain-search

Making resolv.conf immutable [was: Bookworm: NetworkManager]

2023-10-21 Thread tomas
On Sat, Oct 21, 2023 at 01:08:58PM -0400, Pocket wrote: > > On 10/21/23 12:49, Greg Wooledge wrote: > > On Sat, Oct 21, 2023 at 12:23:45PM -0400, Pocket wrote: > > > I want NetworkManager to not over write /etc/resolv.conf > > https://wiki.debian.org/resolv.conf > &g

Re: /etc/resolv.conf changes every booting time

2023-08-09 Thread songbird
gene heskett wrote: ... > I load up a file I want to 3d print in cura, slice it into gcode, click > on save to disk. kde gets in the way so it opens a tab on the toolbar at > the bottom of the screen and to continue I have to click on that tab. > 20% of the time the where do you want to save it

Re: /etc/resolv.conf changes every booting time

2023-08-09 Thread songbird
Eduardo M KALINOWSKI wrote: ... > He just told you to not hijack threads, and there you go and your > immediate reply is to start talking about something completely unrelated > to the rest of the discussion. oops, sorry, i just replied again. songbird

Re: /etc/resolv.conf changes every booting time

2023-08-08 Thread Eduardo M KALINOWSKI
On 07/08/2023 23:45, gene heskett wrote: On 8/7/23 21:47, Greg Wooledge wrote: Start a new thread, and treat the problem seriously.  Show us the commands you're running and their output.  Show us the relevant parts of your configuration. That particular problem has been solved, Greg, and 60 day

Re: /etc/resolv.conf changes every booting time

2023-08-07 Thread gene heskett
On 8/7/23 21:47, Greg Wooledge wrote: On Mon, Aug 07, 2023 at 09:03:47PM -0400, gene heskett wrote: And I'm back to hunting for the reason I can ping yahoo.com but not other machines on my local net, that are fully identified in my hosts file or vice versa Start a new thread, and treat the pro

Re: /etc/resolv.conf changes every booting time

2023-08-07 Thread Greg Wooledge
On Mon, Aug 07, 2023 at 09:03:47PM -0400, gene heskett wrote: > And I'm back > to hunting for the reason I can ping yahoo.com but not other machines on my > local net, that are fully identified in my hosts file or vice versa Start a new thread, and treat the problem seriously. Show us the command

Re: /etc/resolv.conf changes every booting time

2023-08-07 Thread gene heskett
more versatile if you'll let it be, and that different people have different environments, I've been made to understand that resolv.conf is now not the place to put search order, that has now been moved to nssconfig. There was once a stanza at the end of dhcpd.conf where one could setup

Re: /etc/resolv.conf changes every booting time

2023-08-07 Thread Brian
On Mon 07 Aug 2023 at 17:53:41 -0400, gene heskett wrote: > On 8/7/23 14:57, Brian wrote: > > On Sun 06 Aug 2023 at 20:50:26 -0400, gene heskett wrote: > > > > [...] > > > > > Sorry you are so offended by a hosts file user Andy, but when the guys > > > > Did someone mention a hosts file? Is thi

Re: /etc/resolv.conf changes every booting time

2023-08-07 Thread gene heskett
On 8/7/23 14:57, Brian wrote: On Sun 06 Aug 2023 at 20:50:26 -0400, gene heskett wrote: [...] Sorry you are so offended by a hosts file user Andy, but when the guys Did someone mention a hosts file? Is this an attempt to move discussion on to a different toic? I thought 'chattr -i' and the w

Re: /etc/resolv.conf changes every booting time

2023-08-07 Thread Andy Smith
P server", which also leads to Gene's resolv.conf being modified, which Gene does not like and uses the immutable file approach to prevent. I think since I have criticised the immutable resolv.conf "solution", Gene has decided I must be part of this wide-ranging conspiracy and so

Re: /etc/resolv.conf changes every booting time

2023-08-07 Thread Brian
On Sun 06 Aug 2023 at 20:50:26 -0400, gene heskett wrote: [...] > Sorry you are so offended by a hosts file user Andy, but when the guys Did someone mention a hosts file? Is this an attempt to move discussion on to a different toic? I thought 'chattr -i' and the wisdom of using it was under disc

Re: /etc/resolv.conf changes every booting time

2023-08-06 Thread tomas
On Sun, Aug 06, 2023 at 08:50:26PM -0400, gene heskett wrote: > Sorry you are so offended by a hosts file user Andy [...] Now this is stuff for Quote of the Day ;-) Thank you, Gene. Cheers -- t signature.asc Description: PGP signature

Re: /etc/resolv.conf changes every booting time

2023-08-06 Thread gene heskett
On 8/6/23 12:09, Andy Smith wrote: Hello, On Sun, Aug 06, 2023 at 07:37:35PM +0800, Jon Smart wrote: Timothy M Butterworth wrote: The file /etc.resolv.conf is just a soft link. You need to: 1: Delete /etc/resolv.conf - rm /etc/resolv.conf 2: Create a new /etc/resolv.conf file: touch /etc

Re: /etc/resolv.conf changes every booting time

2023-08-06 Thread Jon Smart
> On Sun, Aug 06, 2023 at 05:17:23PM +0800, Jon Smart wrote: >> It's a VPS provided by a local ISP. The VPS has a static IPv4. >> Do you know how to know if /etc/resolv.conf is modified by dhcp? > > The first thing you could do is check whether a DHCP client daemon >

Re: /etc/resolv.conf changes every booting time

2023-08-06 Thread tomas
On Sun, Aug 06, 2023 at 04:09:14PM +, Andy Smith wrote: [...] > And we wonder why this list ends up dealing with the aftermath of > the Gene school of "don't understand it? Hit it with chattr +i / rm > / apt-get purge!" so often. I must admit that I was one of those proposing chattr +i in th

Re: /etc/resolv.conf changes every booting time

2023-08-06 Thread Andy Smith
Hi Greg, On Sun, Aug 06, 2023 at 08:48:25AM -0400, Greg Wooledge wrote: > On Sun, Aug 06, 2023 at 07:37:35PM +0800, Jon Smart wrote: > > These 4 steps do work great! > > Thanks a lot. > > These same steps are also on the wiki page that's been discussed many > times in this thread. You might want

Re: /etc/resolv.conf changes every booting time

2023-08-06 Thread Andy Smith
Hello, On Sun, Aug 06, 2023 at 07:37:35PM +0800, Jon Smart wrote: > > Timothy M Butterworth wrote: > > The file /etc.resolv.conf is just a soft link. > > > > You need to: > > > > 1: Delete /etc/resolv.conf - rm /etc/resolv.conf > > 2: Create a new /et

Re: /etc/resolv.conf changes every booting time

2023-08-06 Thread tomas
On Sun, Aug 06, 2023 at 07:06:01AM -0400, Timothy M Butterworth wrote: > On Sun, Aug 6, 2023 at 6:13 AM Jon Smart wrote: > > > It's a VPS provided by a local ISP. The VPS has a static IPv4. > > Do you know how to know if /etc/resolv.conf is modified

Re: /etc/resolv.conf changes every booting time

2023-08-06 Thread Greg Wooledge
On Sun, Aug 06, 2023 at 05:17:23PM +0800, Jon Smart wrote: > It's a VPS provided by a local ISP. The VPS has a static IPv4. > Do you know how to know if /etc/resolv.conf is modified by dhcp? The first thing you could do is check whether a DHCP client daemon is running. That'

Re: /etc/resolv.conf changes every booting time

2023-08-06 Thread Greg Wooledge
On Sun, Aug 06, 2023 at 07:37:35PM +0800, Jon Smart wrote: > Unattributed: > > The file /etc.resolv.conf is just a soft link. Not always. > > You need to: > > > > 1: Delete /etc/resolv.conf - rm /etc/resolv.conf > > 2: Create a new /etc/resolv.conf file: touch

Re: /etc/resolv.conf changes every booting time

2023-08-06 Thread Eduardo M KALINOWSKI
I dunno. How about the fact that it just solves the symptom but not the real problem? /etc/resolv.conf does not change by itself, some tool must be making the (possibly undesired) changes, so in most cases, I'd say it's better to configure that tool to stop changing resolv.conf,

Re: /etc/resolv.conf changes every booting time

2023-08-06 Thread Jon Smart
> On Sun, Aug 6, 2023 at 6:13 AM Jon Smart wrote: > >> It's a VPS provided by a local ISP. The VPS has a static IPv4. >> Do you know how to know if /etc/resolv.conf is modified by dhcp? >> >> Thanks. >> >> >> > >> > Hi Jon, >>

Re: /etc/resolv.conf changes every booting time

2023-08-06 Thread Timothy M Butterworth
On Sun, Aug 6, 2023 at 6:13 AM Jon Smart wrote: > It's a VPS provided by a local ISP. The VPS has a static IPv4. > Do you know how to know if /etc/resolv.conf is modified by dhcp? > > Thanks. > > > > > > Hi Jon, > > > >> I have removed the de

Re: /etc/resolv.conf changes every booting time

2023-08-06 Thread Christoph Brinkhaus
Am Sun, Aug 06, 2023 at 05:17:23PM +0800 schrieb Jon Smart: Hi Jon, > It's a VPS provided by a local ISP. The VPS has a static IPv4. > Do you know how to know if /etc/resolv.conf is modified by dhcp? > I am not sure about the details. But with DHCP a bunch of network configuratio

Re: /etc/resolv.conf changes every booting time

2023-08-06 Thread Jon Smart
It's a VPS provided by a local ISP. The VPS has a static IPv4. Do you know how to know if /etc/resolv.conf is modified by dhcp? Thanks. > > Hi Jon, > >> I have removed the default systemd-resolved local dns service following >> the link below, >> >> https:/

Re: /etc/resolv.conf changes every booting time

2023-08-06 Thread Christoph Brinkhaus
led and enabled as local DNS server. > > But every time I reboot the server, the configuration file > /etc/resolv.conf changes to a default one. So every time I have to update > its content to: > > nameserver 127.0.0.1 > > (points to unbound) > > How to stop the auto-

Re: /etc/resolv.conf changes every booting time

2023-08-05 Thread Greg Wooledge
t; > > On Sun, Aug 06, 2023 at 09:28:55AM +0800, Jon Smart wrote: > > > > > How to stop the auto-changes to /etc/resolv.conf after rebooting? > > > > > > > > https://wiki.debian.org/resolv.conf > > > > > > > > > > Contrary t

Re: /etc/resolv.conf changes every booting time

2023-08-05 Thread Nicholas Geovanis
How to stop the auto-changes to /etc/resolv.conf after rebooting? > > > > > > https://wiki.debian.org/resolv.conf > > > > > > > Contrary to what that page states, auto changes to resolv.conf are never > > appropriate in the server environment. The statement

Re: /etc/resolv.conf changes every booting time

2023-08-05 Thread Greg Wooledge
On Sat, Aug 05, 2023 at 10:05:31PM -0500, Nicholas Geovanis wrote: > On Sat, Aug 5, 2023, 9:13 PM Greg Wooledge wrote: > > > On Sun, Aug 06, 2023 at 09:28:55AM +0800, Jon Smart wrote: > > > How to stop the auto-changes to /etc/resolv.conf after rebooting? > >

Re: /etc/resolv.conf changes every booting time

2023-08-05 Thread Nicholas Geovanis
On Sat, Aug 5, 2023, 9:13 PM Greg Wooledge wrote: > On Sun, Aug 06, 2023 at 09:28:55AM +0800, Jon Smart wrote: > > How to stop the auto-changes to /etc/resolv.conf after rebooting? > > https://wiki.debian.org/resolv.conf > Contrary to what that page states, auto changes to res

Re: /etc/resolv.conf changes every booting time

2023-08-05 Thread Greg Wooledge
On Sun, Aug 06, 2023 at 09:28:55AM +0800, Jon Smart wrote: > How to stop the auto-changes to /etc/resolv.conf after rebooting? https://wiki.debian.org/resolv.conf

Re: /etc/resolv.conf changes every booting time

2023-08-05 Thread jeremy ardley
reboot the server, the configuration file /etc/resolv.conf changes to a default one. So every time I have to update its content to: nameserver 127.0.0.1 (points to unbound) How to stop the auto-changes to /etc/resolv.conf after rebooting? Thanks. What is the new contents of /etc/resolv.conf

/etc/resolv.conf changes every booting time

2023-08-05 Thread Jon Smart
file /etc/resolv.conf changes to a default one. So every time I have to update its content to: nameserver 127.0.0.1 (points to unbound) How to stop the auto-changes to /etc/resolv.conf after rebooting? Thanks.

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-03-02 Thread David Wright
On Thu 02 Mar 2023 at 10:32:41 (+0100), daven...@tuxfamily.org wrote: > On 2023-03-02 00:24, David Wright wrote: > > On Tue 28 Feb 2023 at 16:05:14 (+0100), daven...@tuxfamily.org wrote: > > > On 2023-02-28 05:27, David Wright wrote: > > > > On Thu 23 Feb 2023 at 11:23:30 (+0100), daven...@tuxfamil

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-03-02 Thread tomas
On Thu, Mar 02, 2023 at 12:14:14PM -0600, David Wright wrote: > On Thu 02 Mar 2023 at 17:23:23 (-), Curt wrote: > > On 2023-03-02, David wrote: [...] > > Those seem like antithetical concepts. > > The state is identical in both cases, hence using the same letter. > OTOH the paths to that st

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-03-02 Thread David Wright
On Thu 02 Mar 2023 at 17:23:23 (-), Curt wrote: > On 2023-03-02, David wrote: > > On Fri, 3 Mar 2023 at 00:19, Greg Wooledge wrote: > > > >> Man, I really wish the aptitude(8) man page would explain how to read > >> the output of "why". What does the "p" mean? Purged? There's nothing > >>

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-03-02 Thread Curt
On 2023-03-02, David wrote: > On Fri, 3 Mar 2023 at 00:19, Greg Wooledge wrote: > >> Man, I really wish the aptitude(8) man page would explain how to read >> the output of "why". What does the "p" mean? Purged? There's nothing >> in the man page that explains the symbols in the first 3 columns

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-03-02 Thread David
On Fri, 3 Mar 2023 at 02:18, wrote: > On 2023-03-02 14:19, Greg Wooledge wrote: > > On Thu, Mar 02, 2023 at 02:01:57PM +0100, daven...@tuxfamily.org wrote: > >> > > > akb@akira:~$ LC_ALL=C aptitude why ifupdown > >> > > > p netscript-2.4 Provides ifupdown > >> > > > p netscript-2.4 Depends b

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-03-02 Thread davenull
On 2023-03-02 14:19, Greg Wooledge wrote: On Thu, Mar 02, 2023 at 02:01:57PM +0100, daven...@tuxfamily.org wrote: > > > akb@akira:~$ LC_ALL=C aptitude why ifupdown > > > p netscript-2.4 Provides ifupdown > > > p netscript-2.4 Depends bridge-utils (>= 0.9.3) > > > p bridge-utils Suggests

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-03-02 Thread David
On Fri, 3 Mar 2023 at 00:19, Greg Wooledge wrote: > Man, I really wish the aptitude(8) man page would explain how to read > the output of "why". What does the "p" mean? Purged? There's nothing > in the man page that explains the symbols in the first 3 columns, as > far as I can find. Yeah. It

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-03-02 Thread Greg Wooledge
On Thu, Mar 02, 2023 at 02:01:57PM +0100, daven...@tuxfamily.org wrote: > > > > akb@akira:~$ LC_ALL=C aptitude why ifupdown > > > > p netscript-2.4 Provides ifupdown > > > > p netscript-2.4 Depends bridge-utils (>= 0.9.3) > > > > p bridge-utils Suggests ifupdown > > > > akb@akira:~$ LC_ALL

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-03-02 Thread davenull
On 2023-03-02 13:47, daven...@tuxfamily.org wrote: On 2023-03-02 13:32, Greg Wooledge wrote: On Thu, Mar 02, 2023 at 10:32:41AM +0100, daven...@tuxfamily.org wrote: This system never had any debian 10 or lower. It has been issued to my by $worksplace in december 2021, initially running windows

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-03-02 Thread davenull
On 2023-03-02 13:32, Greg Wooledge wrote: On Thu, Mar 02, 2023 at 10:32:41AM +0100, daven...@tuxfamily.org wrote: This system never had any debian 10 or lower. It has been issued to my by $worksplace in december 2021, initially running windows. akb@akira:~$ LC_ALL=C aptitude why ifupdown p

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-03-02 Thread Greg Wooledge
On Thu, Mar 02, 2023 at 10:32:41AM +0100, daven...@tuxfamily.org wrote: > This system never had any debian 10 or lower. It has been issued to my by > $worksplace > in december 2021, initially running windows. > akb@akira:~$ LC_ALL=C aptitude why ifupdown > p netscript-2.4 Provides ifupdown > p

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-03-02 Thread davenull
On 2023-03-02 00:24, David Wright wrote: On Tue 28 Feb 2023 at 16:05:14 (+0100), daven...@tuxfamily.org wrote: On 2023-02-28 05:27, David Wright wrote: > On Thu 23 Feb 2023 at 11:23:30 (+0100), daven...@tuxfamily.org wrote: > > On 2023-02-23 02:59, cono...@panix.com wrote: [ … ] Well, it look

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-03-01 Thread David Wright
gt; > I just don't want the DHCP client send requests to my home's network > instead of sending requests through the VPN route > so the workplace's DHCP sees and answers to the requests, instead of > home router answering to these requests > > I fail to see why t

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-28 Thread Tixy
On Tue, 2023-02-28 at 16:05 +0100, daven...@tuxfamily.org wrote: > > It's the systemd-style so-called "predictable" interfaces names. > Replacing the older the eth0, wlan0, and so on… > > ens-something (annoying name made of multiple letters and digits) is the > new name for eth0 Or eno for eth

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-28 Thread davenull
On 2023-02-28 05:27, David Wright wrote: On Thu 23 Feb 2023 at 11:23:30 (+0100), daven...@tuxfamily.org wrote: On 2023-02-23 02:59, cono...@panix.com wrote: […] On the newer work laptop on the other hand, there is that eth0 block, there's is no eth0 interface on my system (there's enp.* and en

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-27 Thread David Wright
On Thu 23 Feb 2023 at 11:23:30 (+0100), daven...@tuxfamily.org wrote: > On 2023-02-23 02:59, cono...@panix.com wrote: > > On 2/22/23, daven...@tuxfamily.org wrote: > > > > > > There is an unidentified process that decides it's ok to delete and > > > recr

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-27 Thread Greg Wooledge
On Mon, Feb 27, 2023 at 03:14:40PM +0100, daven...@tuxfamily.org wrote: > I did > > - chattr +i /etc/revolv.conf > > And when auditd showed a (failed) delete event on /etc/resolv.conf > > I grepped "resolv.conf" recursively on /var/log/, and All I've fo

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-27 Thread davenull
oking for, totally agree logs are better than suspicion I did - chattr +i /etc/revolv.conf And when auditd showed a (failed) delete event on /etc/resolv.conf I grepped "resolv.conf" recursively on /var/log/, and All I've found are entries in - /var/log/installer from more than 1

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-24 Thread David Wright
On Fri 24 Feb 2023 at 10:19:38 (+0100), daven...@tuxfamily.org wrote: > > […] > > vpnc_script has about eight methods available for setting up and > > reverting resolv.conf. Which is used depends on the presence of > > a binary, checked in turn from this list: > &g

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-24 Thread Greg Wooledge
On Fri, Feb 24, 2023 at 10:19:38AM +0100, daven...@tuxfamily.org wrote: > However, I didn't notice any vnpc_script malfunction. It does what it is > expected to do. I'm like 99% sure the problem is dhclient deleting and > recreating /etc/resolv.conf as it sees fit, multip

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-24 Thread tomas
On Fri, Feb 24, 2023 at 11:27:40AM +0100, daven...@tuxfamily.org wrote: > [...] totally agree logs are better than suspicion But please, don't take my snark all too seriously. On reread I realize it might have sounded harsher than it was meant. Cheers -- t signature.asc Description: PGP signa

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-24 Thread davenull
ating /etc/resolv.conf as it sees fit, multiple times a day, and deleting whatever vpnc_script has put in that file. Instead of 99% suspicions you could just look into your /var/log/syslog: dhclient does leave enough traces there. Bonus point if you correlate these timestamps with your resolv.con

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-24 Thread tomas
On Fri, Feb 24, 2023 at 10:19:38AM +0100, daven...@tuxfamily.org wrote: [...] > However, I didn't notice any vnpc_script malfunction. It does what it is > expected to do. I'm like 99% sure the problem is dhclient deleting and > recreating /etc/resolv.conf as it sees fit, m

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-24 Thread davenull
Hello, […] vpnc_script has about eight methods available for setting up and reverting resolv.conf. Which is used depends on the presence of a binary, checked in turn from this list: /etc/openwrt_release modify_resolvconf_openwrt /usr/bin/resolvectl

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-23 Thread tomas
On Thu, Feb 23, 2023 at 11:39:03PM -0600, David Wright wrote: [...] > vpnc_script has about eight methods available for setting up and > reverting resolv.conf. Which is used depends on the presence of > a binary, checked in turn from this list: > > /etc/

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-23 Thread David Wright
On Thu 23 Feb 2023 at 10:44:35 (+0100), daven...@tuxfamily.org wrote: > On 2023-02-22 22:08, David Wright wrote: > > On Wed 22 Feb 2023 at 18:12:29 (+0100), daven...@tuxfamily.org wrote: > > > > > What I want is: setting up /etc/resolv.conf ONLY > > > -

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-23 Thread Reco
me-servers 127.0.0.1; > > Unfortunately, I can't use supersede parameter because I need to use > different resolvers at different times/in different contexts. > > I would need something more… conditional > > IF openconnect is running and has modified resolv.conf,

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-23 Thread davenull
olleague. Enormously handy. Cheers Interesting! I didn't knew that. Thanks for the tip. I knew about and I just remembered multitail, which I never used that much, cause can be too noisy… But I guess I'm going to use "grep resolv.conf"… But if the "rogue" proc

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-23 Thread Jeremy Ardley
On 23/2/23 18:23, daven...@tuxfamily.org wrote: Hello, On 2023-02-23 02:59, cono...@panix.com wrote: On 2/22/23, daven...@tuxfamily.org wrote: There is an unidentified process that decides it's ok to delete and recreate /etc/resolv.conf without asking user/admin, The problem is

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-23 Thread davenull
openconnect, which does work, and in teh case of ym work's VPN, it does wor. cisco's spyware/downloaded binry, namely using the --csd-wrapper /usr/libexec/openconnect/" [snip] = end of context = What I want is: setting up /etc/resolv.conf ONLY - at system startup/initial ne

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-23 Thread davenull
Hello, On 2023-02-23 02:59, cono...@panix.com wrote: On 2/22/23, daven...@tuxfamily.org wrote: There is an unidentified process that decides it's ok to delete and recreate /etc/resolv.conf without asking user/admin, The problem is, the problematic process is not work's VPN r

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-23 Thread tomas
On Thu, Feb 23, 2023 at 10:44:35AM +0100, daven...@tuxfamily.org wrote: [...] > Thank you. I'll give it a try, But I won't be on remote work before next > week > Which log file is used for that? That depends: it's the perpetrator's choice where to log (or whether to log at all, sadly). > So ins

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-23 Thread davenull
Hello On 2023-02-22 22:08, David Wright wrote: On Wed 22 Feb 2023 at 18:12:29 (+0100), daven...@tuxfamily.org wrote: What I want is: setting up /etc/resolv.conf ONLY - at system startup/initial network connexion. - when openconnect is executed and connects to work's VPN - when openconne

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-22 Thread John Conover
On 2/22/23, daven...@tuxfamily.org wrote: > > There is an unidentified process that decides it's ok to delete and > recreate /etc/resolv.conf without asking user/admin, > The problem is, the problematic process is not work's VPN related and > creates the file with wr

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-22 Thread Cindy Sue Causey
On 2/22/23, daven...@tuxfamily.org wrote: > > There is an unidentified process that decides it's ok to delete and > recreate /etc/resolv.conf without asking user/admin, > The problem is, the problematic process is not work's VPN related and > creates the file with wr

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-22 Thread David Wright
On Wed 22 Feb 2023 at 18:12:29 (+0100), daven...@tuxfamily.org wrote: > What I want is: setting up /etc/resolv.conf ONLY > - at system startup/initial network connexion. > - when openconnect is executed and connects to work's VPN > - when openconnect is ^C-ed and disconnects f

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-22 Thread Greg Wooledge
On Wed, Feb 22, 2023 at 06:12:29PM +0100, daven...@tuxfamily.org wrote: > There is an unidentified process that decides it's ok to delete and recreate > /etc/resolv.conf without asking user/admin, > The problem is, the problematic process is not work's VPN related and > creat

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-22 Thread Christoph Brinkhaus
teh case of ym work's VPN, it does wor. cisco's > spyware/downloaded binry, namely using the --csd-wrapper > /usr/libexec/openconnect/" [snip] > = end of context = > What I want is: setting up /etc/resolv.conf ONLY > - at system startup/initial network co

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-22 Thread Roberto C . Sánchez
On Wed, Feb 22, 2023 at 06:12:29PM +0100, daven...@tuxfamily.org wrote: > > There is an unidentified process that decides it's ok to delete and recreate > /etc/resolv.conf without asking user/admin, I will admit up front that I did not read your message in great detail. However, ov

Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-22 Thread davenull
mely using the --csd-wrapper /usr/libexec/openconnect/" When I start openconnect, it usses some vpnc sript to write a porper, working, /etc/resolv.conf, with the right (work's) DNS resolver IP in it. And it works. That worked flawlessly for months. But some months ago, probably

Re: rdnssd not updating /etc/resolv.conf

2022-04-09 Thread Jeremy Ardley
On 10/4/22 7:04 am, Jeremy Ardley wrote: I've installed rdnssd The host has ipv6 enabled in /etc/network/interfaces and it's acquiring an IPv6 address via RA in addition to having a static IPv6 Address rdnssd is running but nothing is changing in /etc/resolv.conf or /var/

rdnssd not updating /etc/resolv.conf

2022-04-09 Thread Jeremy Ardley
I've installed rdnssd The host has ipv6 enabled in /etc/network/interfaces and it's acquiring an IPv6 address via RA in addition to having a static IPv6 Address rdnssd is running but nothing is changing in /etc/resolv.conf or /var/run/rdnssd/resolv.conf Any suggestions? root@o

Re: 11.2 sometimes wrong /etc/resolv.conf

2022-03-12 Thread Anssi Saari
Christian Groessler writes: > Hi, > > when I boot my laptop with Debian 11.2 and LAN cable connected, I'm > sometimes getting a wrong /etc/resolv.conf. > > The resolv.conf is not in fact wrong, but it's the one from the Wifi > network. But when booting with network

Re: 11.2 sometimes wrong /etc/resolv.conf

2022-03-10 Thread ghe2001
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 ‐‐‐ Original Message ‐‐‐ On Thursday, March 10, 2022 9:22 AM, Christian Groessler wrote: > Hi, > > when I boot my laptop with Debian 11.2 and LAN cable connected, I'm > sometimes getting a wrong /etc/resolv.conf. >

Re: 11.2 sometimes wrong /etc/resolv.conf

2022-03-10 Thread Charles Curley
On Thu, 10 Mar 2022 17:22:34 +0100 Christian Groessler wrote: > when I boot my laptop with Debian 11.2 and LAN cable connected, I'm > sometimes getting a wrong /etc/resolv.conf. > > The resolv.conf is not in fact wrong, but it's the one from the Wifi > network. But

11.2 sometimes wrong /etc/resolv.conf

2022-03-10 Thread Christian Groessler
Hi, when I boot my laptop with Debian 11.2 and LAN cable connected, I'm sometimes getting a wrong /etc/resolv.conf. The resolv.conf is not in fact wrong, but it's the one from the Wifi network. But when booting with network cable connected I want to have the resolv.conf of

Bug report concerning file /etc/resolv.conf and Connman

2021-03-15 Thread Paweł Starzyński
After some more tries I thought of removing /etc/resolv.conf, hoping that after reboot connman will create this file with correct setup. That happened indeed and solved the issue, but it definitely shouldn't look like that. I hope that my problem wasn't caused by lack of some package-

Re: apparmor="DENIED" operation="open" profile="/usr/lib/ipsec/charon" name="/run/NetworkManager/resolv.conf"

2020-03-21 Thread rudu
Le 21/03/2020 à 08:56, Reco a écrit : On Sat, Mar 21, 2020 at 10:52:53AM +0300, Reco wrote: What I figure out is the problem is that somehow, apparmor denies to network-manager the ability to provide a valid resolv.conf file. So ipsec can't add a DNS server to my VPN connection. For

Re: apparmor="DENIED" operation="open" profile="/usr/lib/ipsec/charon" name="/run/NetworkManager/resolv.conf"

2020-03-21 Thread Reco
On Sat, Mar 21, 2020 at 10:52:53AM +0300, Reco wrote: > > What I figure out is the problem is that somehow, apparmor denies to > > network-manager the ability to provide a valid resolv.conf file. > > So ipsec can't add a DNS server to my VPN connection. > > For that

Re: apparmor="DENIED" operation="open" profile="/usr/lib/ipsec/charon" name="/run/NetworkManager/resolv.conf"

2020-03-21 Thread Reco
twork-manager the ability to provide a valid resolv.conf file. > So ipsec can't add a DNS server to my VPN connection. For that particular file it's: echo "/run/NetworkManager/resolv.conf rwk" \ >> /etc/apparmor.d/local/usr.lib.ipsec.charon aa-complain /usr/lib

apparmor="DENIED" operation="open" profile="/usr/lib/ipsec/charon" name="/run/NetworkManager/resolv.conf"

2020-03-20 Thread rudu
What I figure out is the problem is that somehow, apparmor denies to network-manager the ability to provide a valid resolv.conf file. So ipsec can't add a DNS server to my VPN connection. It's beyond me right now, if anIt's beyond me right now, if anybody can see some light in t

Re: Finding the program that keeps overwriting resolv.conf

2019-11-25 Thread Greg Wooledge
On Mon, Nov 25, 2019 at 12:33:16AM -0500, Roberto C. Sánchez wrote: > On Mon, Nov 25, 2019 at 12:03:19AM -0500, aliasarmor wrote: > >Hello, a program keeps overwriting my resolv.conf. > > These previous discussions on the list should provide the information > yo

  1   2   3   4   5   6   7   8   9   >