Skip to content

Usage of nc is incompatible with nmap-ncat in Fedora/CentOS/RHEL #6136

@Conan-Kudo

Description

@Conan-Kudo

Bug report

cloud-init recently grew a requirement on nc, but the usage of nc relies on a flag that only exists in OpenBSD netcat: -W (Terminate after receiving recvlimit packets from the network).

The ncat(1) man page does not indicate that there is an equivalent option from Nmap's Netcat implementation.

In the Enterprise Linux family, the only netcat implementation that is provided is the one from Nmap. It is provided as nmap-ncat in Fedora/CentOS, and ncat in Debian/Ubuntu.

This incompatibility makes cloud-init fail on Enterprise Linux platforms now.

Environment details

  • Cloud-init version: 25.1
  • Operating System Distribution: Fedora ELN / CentOS Stream 10 / Red Hat Enterprise Linux 10 / AlmaLinux 10
  • Cloud provider, platform or installer type: All

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working correctly

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions