Page MenuHomeFreeBSD

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

Authored by takahiro.kurosawa_gmail.com on Wed, Apr 7, 7:24 AM.

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
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.