Something fascinating happens when I run sudo without having a gateway to the internet ready.
Instead of executing immediately sudo times out for nine, I repeat 9 full seconds, before it reacts
I use sudo plain without any switches and my command structure is
sudo command
I wouldn't have stumbled upon this, if for reasons which are not important now, I didn't have a permanent internet connection at this moment.
I will say that this bug that I have found has nothing to do with sudo in itself
The reason why I say that is when you look at the man page of sudo you will see that it doesn't do any networking at all, when you don't invoke switches
Besides the sudo that I use comes straight of the BSD source structure
The BSD programmers do not play when it comes down to stability of their software. Only when a program runs Rock Solid stable is it released. When a program is in beta it is clearly marked and it shall not be in a standard BSD distribution which is deemed stable.
This means that I have to hunt for something somewhere within my distribution, where there's a link put which shouldn't be there, between sudo and a live internet connection when you do not invoke any network switches.
Mind you that my lan is running and the machine is connected to the lan, via a switch, which is connected to the router, which is connected to the Gateway. The Gateway is live, the DSLAM is working but the internet connection is down
https://linux.die.net/man/8/sudo
#Bugs #BètaTesting #networking #sudo #timeout #GNU #utilities #OpenSource #BSD #POSIX