opnsense-src/libexec/rc
Mark Johnston da89500adb rc_subr_test: Bump some sleep timeouts
The test verifies that the rc framework will OOM-protect a process
spawned by rc.  It just wraps a 5-second /bin/sleep invocation as part
of this test.

The rc framework uses procctl to set the OOM-protect bit after the
process has started, i.e., it uses procctl -p.  So, with a 5 second
timeout, it's possible for the process to exit before procctl actually
runs, if the system is heavily loaded.  (I see this failure occasionally
with KMSAN configured and many tests running in parallel.)

Bump the timeout to reduce the risk of this happening.  The timeout
value is arbitrary since the test will stop the rc process, i.e., we
don't have to wait for 60 seconds to elapse before the test passes.

MFC after:	1 week
2025-07-13 18:24:36 +00:00
..
rc.d rc: Use check_jail to check values of security.jail MIBs 2025-07-12 18:20:32 +02:00
tests rc_subr_test: Bump some sleep timeouts 2025-07-13 18:24:36 +00:00
debug.sh Update libexec/rc/debug.sh and hooks.sh 2024-12-31 10:47:06 -08:00
hooks.sh Update libexec/rc/debug.sh and hooks.sh 2024-12-31 10:47:06 -08:00
Makefile debug.sh take advantage of hooks.sh 2024-09-10 12:04:15 -07:00
netstart libexec: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
network.subr network.subr: correct return code in case of bad call to ifisup() 2025-07-01 21:33:19 +07:00
pccard_ether libexec/rc: improve performance of pccard_ether script 2025-07-01 21:13:10 +07:00
rc rc: Use check_jail to check values of security.jail MIBs 2025-07-12 18:20:32 +02:00
rc.bsdextended Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
rc.conf rc.d: Add MIT KRB5 krb5kdc support 2025-06-15 19:49:37 -07:00
rc.firewall Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
rc.initdiskless Update rc.initdiskless, fix error handling of remount_optional 2025-01-24 12:40:33 -07:00
rc.resume Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
rc.shutdown rc: Use check_jail to check values of security.jail MIBs 2025-07-12 18:20:32 +02:00
rc.subr rc.subr: Fix a typo in check_jail()'s description 2025-07-12 18:23:03 +02:00
rc.suspend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
safe_eval.sh safe_eval allow : and + in values 2025-05-25 20:06:47 -07:00