Release-upgrade 20.04. to 22.04.3 questions

Bo Berglund bo.berglund at gmail.com
Wed Oct 18 22:34:44 UTC 2023


On Wed, 18 Oct 2023 16:49:10 +0200, Oliver Grawert <ogra at ubuntu.com> wrote:

>hi,
>Am Montag, dem 16.10.2023 um 06:05 -0500 schrieb Bo Berglund:
>> I assume that nano was upgraded in the process and now there are some
>> problems
>> with the configuration for nano after the upgrade, but how can I find
>> out what?
>> 
>move it out of the way and create an empty one, then copy section by
>section and wait til it starts spilling an error ? 
>

When I tried to edit a script file with nano I got this:
$ nano ipreport.sh
Error in /etc/nanorc on line 154: Unknown option "smooth"

So I edted that file and found the following lines marked in red color (I assume
in error):

100 set nowrap
154 set smooth
164 set suspend

When I commented these lines it stopped throwing the errors.

BUT.....

It turns out that there are other problems as well...

I have a script that should run from cron at boot in order to report the fact
that the system has been restarted and to send the current network address.
It is also set to do that every night at a specified time.

*** This has stopped working starting from the upgrade. :-( ***

When I try to run it manually it reports a strange error from the curl command
used in the script (I have obfuscated the domain name for privacy):

$ ./ipreport.sh 2
Extracted Ethernet IP address: 10.0.0.236 00:50:56:9e:c6:86
Extracted hostname: agivpnserver
curl: (6) Could not resolve host: www.xxxx.com

Where the address www.xxxx.com is my own domain where I host the reporting
script...

So then I tried on the command line:

ping www.xxxx.com
ping: www.xxxx.com: Temporary failure in name resolution

If I do the same on another Linux box on the same LAN it does resolve the name
and starts the pinging:

$ ping www.xxxx.com
PING www.xxxxd.com (93.188.2.53) 56(84) bytes of data.
64 bytes from webfront3.webcluster.loopia.se (93.xxx.2.53): icmp_seq=1 ttl=48
time=139 ms
64 bytes from webfront3.webcluster.loopia.se (93.xxx.2.53): icmp_seq=2 ttl=48
time=129 ms

So something has happened to the networking system too on this release upgrade
that makes it no longer able to resolve domain names...

I also tried a university url in Sweden like so:
$ ping www.sunet.se
ping: www.sunet.se: Temporary failure in name resolution

But on the other Linux box:
$ ping www.sunet.se
PING www.sunet.se (37.156.192.51) 56(84) bytes of data.
64 bytes from sunet.se (37.156.192.51): icmp_seq=1 ttl=46 time=148 ms

Where do I go from here to resolve the more important networking failure?


-- 
Bo Berglund
Developer in Sweden




More information about the ubuntu-users mailing list