netcat fails with an error with -v

Bug #1900197 reported by ov2k
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
netcat-openbsd (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

In a fresh install of Ubuntu Server 20.04.1, netcat -vlp 8000 fails with the following error message:

netcat: getnameinfo: Temporary failure in name resolution

Name resolution, both forwards and backwards, works as expected elsewhere (e.g., ping or nslookup).

There's an upstream Debian patch that changes getnameinfo() errors into warnings that should suffice. I'm not sure whether the underlying getnameinfo() error is inherited as well, but neither Debian Buster or Sid have such an error, nor does Ubuntu Server 18.04.5.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in netcat-openbsd (Ubuntu):
status: New → Confirmed
Revision history for this message
Heinrich Schuchardt (xypron) wrote :

In netcat-openbsd 1.218-3ubuntu1 used by Ubuntu Jammy the message is only a warning and only written if providing the -v argument.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.