HomeFreeBSD

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

Description

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

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.

Reviewed by: kp
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D29622

Details

Provenance
takahiro.kurosawa_gmail.comAuthored on Apr 7 2021, 6:17 AM
kpCommitted on Apr 7 2021, 11:05 AM
Reviewer
kp
Differential Revision
D29622: pf tests: make synproxy and nat work correctly even if inetd is running
Parents
rG86a52e262a6f: Document vnode_pager_setsize(9)
Branches
Unknown
Tags
Unknown