opnsense-src/libexec
Lexi Winter 06c41801af svcj: correctly handle kernels without INET or INET6
If either INET or INET6 is not enabled in the kernel, then the jail(8)
options ip4=<new|inherit> resp. ip6=<new|inherit> are not available.
Detect this case and don't try to provide those options, otherwise
svcjs will not start.

Do this automatically (without a warning) so that net_basic, which
includes both netv4 and netv6, continues to work as expected.

If _svcj_ipaddrs is explicitly configured with an address for an IP
version not supported by the kernel, issue a warning but continue to
start the service.  This can result in the service being started with
fewer addresses than expected, but never more.

Reviewed by:	netchild, des
Approved by:	des (mentor)
Differential Revision:	https://reviews.freebsd.org/D49976
2025-05-28 02:16:30 +01:00
..
atf atf: Switch from std::auto_ptr<> to std::unique_ptr<> 2025-04-16 10:10:35 -04:00
atrun Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
blacklistd-helper Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
bootpd bootptest: Fix a typo in a source code comment 2025-01-26 13:06:55 +01:00
comsat comsat: move uid/gid setting earlier 2024-12-02 14:57:13 -05:00
dma Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
fingerd Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
flua flua: add posix.unistd.execp 2025-05-12 14:27:57 -04:00
ftpd ftpd.8: Fix manual syntax 2025-05-04 16:43:34 -06:00
getty Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
hyperv Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
kgdb crashinfo: Print stack traces for all on-CPU threads 2024-01-15 16:36:40 -05:00
mail.local Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
makewhatis.local Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
mknetid Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
nuageinit nuageinit: implement chpasswd 2025-04-30 09:32:06 +02:00
phttpget Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
pppoed Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
rbootd Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
rc svcj: correctly handle kernels without INET or INET6 2025-05-28 02:16:30 +01:00
revnetgroup Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
rpc.rquotad Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
rpc.rstatd move the SunOS r-commands into the rcmds package 2025-05-05 16:39:25 +01:00
rpc.rusersd move the SunOS r-commands into the rcmds package 2025-05-05 16:39:25 +01:00
rpc.rwalld move the SunOS r-commands into the rcmds package 2025-05-05 16:39:25 +01:00
rpc.sprayd Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
rtld-elf rtld: get syscall implementations from libsys 2025-05-24 00:37:17 +01:00
rtld-elf32 Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
save-entropy Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
smrsh Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
talkd Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
tcpd tcp_wrappers: Use default C standard version 2025-01-09 13:07:51 -05:00
tests Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
tftp-proxy tftp-proxy: move to the pf package 2025-05-05 16:39:25 +01:00
tftpd src: Use gnu17 as the default C standard for userland instead of gnu99 2025-02-11 09:16:25 -05:00
ulog-helper Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
ypxfr Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
Makefile atf: Guard libexec/atf with WITH_TESTS_SUPPORT 2024-11-18 18:36:46 +00:00
Makefile.inc Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00