Page MenuHomeFreeBSD

pf tests: make synproxy and nat work correctly even if inetd is running
ClosedPublic

Authored by takahiro.kurosawa_gmail.com on Apr 7 2021, 7:24 AM.
Tags
None
Referenced Files
F110800215: D29622.diff
Sun, Feb 23, 7:41 AM
Unknown Object (File)
Mon, Jan 27, 7:16 AM
Unknown Object (File)
Sat, Jan 25, 11:34 PM
Unknown Object (File)
Sat, Jan 25, 7:35 PM
Unknown Object (File)
Fri, Jan 24, 7:06 PM
Unknown Object (File)
Jan 15 2025, 2:41 PM
Unknown Object (File)
Jan 12 2025, 3:36 PM
Unknown Object (File)
Jan 12 2025, 12:41 PM

Details

Summary

tests/sys/netfil/pf/synproxy fails if inetd has been running
outside of the jail because pidfile_open() fails with EEXIST.
tests/sys/netfil/pf/nat has the same problem but the test succeeds
because whether inetd is running is not so important.

Fix the problem by changing the pidfile path from the default
location.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 38380
Build 35269: arc lint + arc unit