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: bash usage.

2017-10-26 Thread Roberto C . Sánchez
On Thu, Oct 26, 2017 at 04:19:42PM +1100, David Margerison wrote: > On 26 October 2017 at 11:39, wrote: > > > > According to 'man mountpoint', it returns 0 if something is mounted. > > So why the complaint from > > if [ mountpoint $WorkingDirectory ] ? > > Answered here: > > http://mywiki.woo

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 here

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

Bug: updating Debian9 not "allowed".

2017-10-26 Thread Joerg Desch
I'm still running Debian 8 on all of my systems. Since it is time to switch to Debian 9, I've tried to have a first look at it. So I've installed the nonfree DVD-Image 9.2 within a VirtualBox container. All went fine, until I've tried to update the APT database. Both, apt and Synaptics updates

Re: Bug: updating Debian9 not "allowed".

2017-10-26 Thread Darac Marjal
On Thu, Oct 26, 2017 at 11:50:05AM +, Joerg Desch wrote: I'm still running Debian 8 on all of my systems. Since it is time to switch to Debian 9, I've tried to have a first look at it. So I've installed the nonfree DVD-Image 9.2 within a VirtualBox container. All went fine, until I've tried t

Re: Bug: updating Debian9 not "allowed".

2017-10-26 Thread Roberto C . Sánchez
On Thu, Oct 26, 2017 at 11:50:05AM +, Joerg Desch wrote: > I'm still running Debian 8 on all of my systems. Since it is time to > switch to Debian 9, I've tried to have a first look at it. So I've > installed the nonfree DVD-Image 9.2 within a VirtualBox container. All > went fine, until I'v

Re: bash usage.

2017-10-26 Thread David Margerison
On 26 October 2017 at 21:59, Roberto C. Sánchez wrote: > On Thu, Oct 26, 2017 at 04:19:42PM +1100, David Margerison wrote: >> On 26 October 2017 at 12:23, Roberto C. Sánchez wrote: >> > >> > mountpoint -q $WorkingDirectory >> > if [[ $? = 0 ]] >> >> That will work, but is ridiculous considering t

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". >> `resol

Re: bash usage.

2017-10-26 Thread Roberto C . Sánchez
On Thu, Oct 26, 2017 at 11:12:16PM +1100, David Margerison wrote: > > That's a fair point, but the documentation of the 'if' statement in 'man bash' > will make that immediately clear to anyone who cares to read it. > You must regularly deal with different sorts of people than I do :-) > The [[

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 syslog

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 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 tha

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 /var/l

Re: debian zfs spl dkms build fails

2017-10-26 Thread Russell L. Carter
On 10/25/17 22:19, David Christensen wrote: On 10/25/17 21:23, Russell L. Carter wrote: Greetings.  Your reply is completely nonresponsive to the zfs kernel upgrade situation as it is today on debian. Why did you bother?  It's weird. I don't actually care very much.  I'm going to go back to du

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 escaping it. One could use

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 m

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 ov

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 hostdns >> dom

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 fo

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 but contains: >>> >

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 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 resolvconf is > "No long

PXE netboot to load OS from /dev/sda1

2017-10-26 Thread John Naggets
Hi, I have installed Debian 9 onto an old laptop with an SSD disk. Unfortunately the BIOS does not support booting from that SSD disk so I would like to "abuse" of PXE in order to boot my installed Linux from /dev/sda1. For that purpose I setup a PXE server on another machine on the same LAN usin

The new normal of logging

2017-10-26 Thread Jonathan de Boyne Pollard
Roberto C. Sánchez: Is this the new normal, for things to get captured in some systemd log [...]? * https://unix.stackexchange.com/a/294206/5132 Yes.

Re: The new normal of logging

2017-10-26 Thread Nicholas Geovanis
On Thu, Oct 26, 2017 at 1:46 PM, Jonathan de Boyne Pollard < j.deboynepollard-newsgro...@ntlworld.com> wrote: > Roberto C. Sánchez: > > Is this the new normal, for things to get captured in some systemd log >> [...]? >> >> * https://unix.stackexchange.com/a/294206/5132 Yes. > Thanks for that. And

Re: The new normal of logging

2017-10-26 Thread Roberto C . Sánchez
On Thu, Oct 26, 2017 at 07:46:12PM +0100, Jonathan de Boyne Pollard wrote: > Roberto C. Sánchez: > > > Is this the new normal, for things to get captured in some systemd log > > [...]? > > > * https://unix.stackexchange.com/a/294206/5132 Yes. > That is very informative. In particular: | If it

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 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 syslog

Re: bash usage.

2017-10-26 Thread Jude DaShiell
bash has a comments syntax to document what may not necessarily be clear with scripts. If I write a script at minimum just below the #!/usr/bin/env bash line I have a # file: line giving the file name followed by a dash and a little bit of a description what the script is supposed to do. Each

a

2017-10-26 Thread Sanaa Austin
Sent from my iPhone

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 something else but cont

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 lo

Re: The new normal of logging

2017-10-26 Thread Gene Heskett
On Thursday 26 October 2017 15:22:35 Nicholas Geovanis wrote: > On Thu, Oct 26, 2017 at 1:46 PM, Jonathan de Boyne Pollard < > > j.deboynepollard-newsgro...@ntlworld.com> wrote: > > Roberto C. Sánchez: > > > > Is this the new normal, for things to get captured in some systemd > > log > > > >> [...

Serial Ports and Perl

2017-10-26 Thread Martin McCormick
The perl list I subscribe to seems to be on the fritz or I would take the question there. I want to write code that receives from a RS-232 port and I just can't seem to get it to do anything. The port I am reading is connected to a scanner radio and produces generally short lines of text

Re: The new normal of logging

2017-10-26 Thread Ben Caradoc-Davies
On 27/10/17 13:02, Gene Heskett wrote: On Thursday 26 October 2017 15:22:35 Nicholas Geovanis wrote: " And there's also systemd, that is slowly phagocytosing the UNIX part of Linux" I'm old enough to have taken phonics in grade school, but that obviously invented word could probably be repl

Re: Serial Ports and Perl

2017-10-26 Thread Andy Smith
Hi Martin, On Thu, Oct 26, 2017 at 07:37:07PM -0500, Martin McCormick wrote: > If anybody has gotten the perl Device::SerialPort to > work, I am interested to know what I am doing or not doing. I have been using it successfully for a long time, but all I do is read whole lines from the seri

estamated number of Linux users?

2017-10-26 Thread Karen Lewellen
Hi all, Any place where this number exists? I would include those companies and web professionals, using Linux servers as apart of their craft? Thanks, Karen "No one is born hating another person because of the color of his skin or his background or his religion ... People must learn to hate,

Re: Serial Ports and Perl

2017-10-26 Thread Henning Follmann
On Thu, Oct 26, 2017 at 07:37:07PM -0500, Martin McCormick wrote: > The perl list I subscribe to seems to be on the fritz or I would > take the question there. I want to write code that receives from > a RS-232 port and I just can't seem to get it to do anything. > > The port I am reading i

Re: The new normal of logging

2017-10-26 Thread Joe Pfeiffer
Gene Heskett writes: > On Thursday 26 October 2017 15:22:35 Nicholas Geovanis wrote: > >> On Thu, Oct 26, 2017 at 1:46 PM, Jonathan de Boyne Pollard < >> >> j.deboynepollard-newsgro...@ntlworld.com> wrote: >> > Roberto C. Sánchez: >> > >> > Is this the new normal, for things to get captured in so

Re: Serial Ports and Perl

2017-10-26 Thread Fred
On 10/26/2017 05:37 PM, Martin McCormick wrote: The perl list I subscribe to seems to be on the fritz or I would take the question there. I want to write code that receives from a RS-232 port and I just can't seem to get it to do anything. The port I am reading is connected to a scanner

Re: estamated number of Linux users?

2017-10-26 Thread Celejar
On Thu, 26 Oct 2017 21:38:15 -0400 (EDT) Karen Lewellen wrote: > Hi all, > Any place where this number exists? I would include those companies and > web professionals, using Linux servers as apart of their craft? https://www.linuxcounter.net/ I don't know how meaningful its data are. > Thank

Re: Serial Ports and Perl

2017-10-26 Thread Martin McCormick
Andy Smith writes: > Hi Martin, > I have been using it successfully for a long time, but all I do is > read whole lines from the serial device like: > > my $dev = '/dev/ttyUSB0'; > my $port = Device::SerialPort->new($dev); > > $port->baudrate(57600); > $port->write_settings; > > open my $fh,

Re: estamated number of Linux users?

2017-10-26 Thread John Hasler
Celejar writes: > https://www.linuxcounter.net/ > I don't know how meaningful its data are. Utterly useless. -- John Hasler jhas...@newsguy.com Elmwood, WI USA

Re: estamated number of Linux users?

2017-10-26 Thread Anthony DeRobertis
On 10/26/2017 09:38 PM, Karen Lewellen wrote: Hi all, Any place where this number exists?  I would include those companies and web professionals, using Linux servers as apart of their craft? This isn't an easy question to answer, or probably even a meaningful one, especially because it's easy

Re: Serial Ports and Perl

2017-10-26 Thread Richard Hector
On 27/10/17 15:38, Martin McCormick wrote: > A perldoc of Device::SerialPort says that lookfor is > supposed to block or hold until a character string emerges from > the port as in /dev/ttyUSB0 or /dev/ttyS1. When I trace the > code, it just loops as fast as it can and never holds to wait fo

Re: The new normal of logging

2017-10-26 Thread Gene Heskett
On Thursday 26 October 2017 21:21:37 Ben Caradoc-Davies wrote: > On 27/10/17 13:02, Gene Heskett wrote: > > On Thursday 26 October 2017 15:22:35 Nicholas Geovanis wrote: > >> " And there's also systemd, that is slowly phagocytosing the UNIX > >> part of Linux" > > > > I'm old enough to have ta

Re: Bug: updating Debian9 not "allowed".

2017-10-26 Thread Joerg Desch
Am Thu, 26 Oct 2017 13:13:57 +0100 schrieb Darac Marjal: > [Aside: The debian packaging tool is called "synaptic". "Synaptics" are > a company producing touchpads. The two are not related] I know, but I always make this mistake. ;-) > I believe this is a known bug in synaptic: #864640 [1]. It i