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
Unknown Object (File)
Jan 18 2024, 1:16 PM
Unknown Object (File)
Jan 16 2024, 3:34 AM
Unknown Object (File)
Jan 5 2024, 5:43 PM
Unknown Object (File)
Dec 23 2023, 10:06 PM
Unknown Object (File)
Dec 23 2023, 1:53 PM
Unknown Object (File)
Dec 22 2023, 7:34 PM
Unknown Object (File)
Dec 12 2023, 8:02 PM
Unknown Object (File)
Nov 1 2023, 8:42 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