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, Nov 7, 6:07 AM
Unknown Object (File)
Thu, Nov 7, 6:07 AM
Unknown Object (File)
Wed, Nov 6, 1:56 PM
Unknown Object (File)
Tue, Nov 5, 3:46 PM
Unknown Object (File)
Mon, Nov 4, 7:21 PM
Unknown Object (File)
Tue, Oct 22, 6:54 PM
Unknown Object (File)
Sun, Oct 20, 9:17 PM
Unknown Object (File)
Fri, Oct 18, 8:45 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 38380
Build 35269: arc lint + arc unit