Skip to content

install.sh port check false positive causes installation to abort #7921

@andre8244

Description

@andre8244

Steps to reproduce

  • Install NS8 on a system where a Unix domain socket happens to have inode number 80 or 443
  • Run install.sh
  • Observe that installation aborts immediately with Installation failed: port 443 is already in use.

Expected behavior

The installer should only abort if an actual TCP or UDP listener is bound to port 80 or 443.

Actual behavior

The ss filter ( sport = :443 ) matches across all socket families, including Unix domain sockets (u_seq). If a listening Unix socket (e.g. /run/udev/control) has a kernel-assigned inode that equals 80 or 443, this causes a false positive:

# ss -H -l -p "( sport = :443 )"
u_seq  LISTEN   0        4096       /run/udev/control 443       * 0   users:(("systemd-udevd",pid=52550,fd=3),("systemd",pid=1,fd=128))

Components

NS8 core — core/install.sh

Metadata

Metadata

Assignees

No one assigned

    Labels

    verifiedAll test cases were verified successfully

    Type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions