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)
Thu, Mar 6, 5:43 AM
Unknown Object (File)
Thu, Mar 6, 3:21 AM
Unknown Object (File)
Wed, Mar 5, 7:32 AM
Unknown Object (File)
Mon, Feb 24, 1:56 PM
Unknown Object (File)
Sun, Feb 23, 7:41 AM
Unknown Object (File)
Jan 27 2025, 7:16 AM
Unknown Object (File)
Jan 25 2025, 11:34 PM
Unknown Object (File)
Jan 25 2025, 7:35 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable