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, Sep 19, 1:43 PM
Unknown Object (File)
Sun, Sep 8, 7:38 PM
Unknown Object (File)
Sun, Sep 8, 6:47 AM
Unknown Object (File)
Thu, Sep 5, 3:39 AM
Unknown Object (File)
Wed, Sep 4, 10:37 PM
Unknown Object (File)
Tue, Sep 3, 11:35 PM
Unknown Object (File)
Aug 19 2024, 7:31 AM
Unknown Object (File)
Aug 12 2024, 1:32 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