Page MenuHomeFreeBSD

sysutils/slurm-wlm: Fix missing sun_len sin_len and sin6_len on bind() and connect() calls
ClosedPublic

Authored by rikka.goering_outlook.de on Aug 25 2025, 4:06 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 11, 5:40 AM
Unknown Object (File)
Sat, Oct 11, 5:40 AM
Unknown Object (File)
Sat, Oct 11, 5:40 AM
Unknown Object (File)
Sat, Oct 11, 5:40 AM
Unknown Object (File)
Sat, Oct 11, 5:40 AM
Unknown Object (File)
Fri, Oct 10, 10:29 PM
Unknown Object (File)
Wed, Oct 8, 9:32 PM
Unknown Object (File)
Wed, Oct 1, 4:16 AM
Subscribers

Details

Summary
  • Added multiple patches to fix sun_len, sin_len and sin6_len not being passed to bind() and connect()
  • This behavior is acceptable on Linux, but illegal on FreeBSD -> causes disconnects
  • QA: poudriere testport 14.3-RELEASE amd64: OK; portlint clean; runtime: slurmctld+slurmd start and can hold connection

PR: 288983
Maintainer: rikka.goering@outlook.de

Test Plan

poudriere testport 14.3-RELEASE amd64: OK; portlint clean; runtime: slurmctld+slurmd start and can hold connection

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

  1. Updating D52145: sysutils/slurm-wlm: Fix missing sun_len sin_len and sin6_len on bind() and connect() calls #
  2. Enter a brief description of the changes included in this update.
  3. The first line is used as subject, next lines as comment. #
  4. If you intended to create a new revision, use:
  5. $ arc diff --create
  6. Removed leftover changes from another patch, according to Committer suggestion (see PR: 288983)

Differential Revision: https://reviews.freebsd.org/D52145

  • Removed leftover bind() call outside of #ifdef FreeBSD safeguards, according to committer suggestion (see PR: 288983)
  • Fixed similar mistakes, noticed during reworking of the patch
  • Further polished patch and corrected styling
This revision was not accepted when it landed; it landed in state Needs Review.Sep 6 2025, 11:19 AM
This revision was automatically updated to reflect the committed changes.