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
F107325083: D29622.diff
Sun, Jan 12, 12:41 PM
Unknown Object (File)
Fri, Dec 13, 9:31 PM
Unknown Object (File)
Dec 5 2024, 6:04 PM
Unknown Object (File)
Dec 3 2024, 4:43 AM
Unknown Object (File)
Nov 24 2024, 5:41 PM
Unknown Object (File)
Nov 24 2024, 6:36 AM
Unknown Object (File)
Nov 22 2024, 10:59 PM
Unknown Object (File)
Nov 21 2024, 2:23 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