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

(cherry picked from commit 5a5623397c73e46b206289d32d1d6b9de420da9c)

Details

Provenance
takahiro.kurosawa_gmail.comAuthored on Apr 7 2021, 6:17 AM
kpCommitted on Apr 14 2021, 8:17 AM
Reviewer
kp
Differential Revision
D29622: pf tests: make synproxy and nat work correctly even if inetd is running
Parents
rG6c4ea5bb59ac: Add IDs for ASMedia ASM116x PCIe 3.0 AHCI controllers.
Branches
Unknown
Tags
Unknown