opnsense-src/libexec/rc
Cy Schubert 94f4140860 Revert "ntpd: Use the ntpd -u option in preference to the rc su plumbing"
Using the ntpd -u option to set the credentials ntpd is to run under
while still using rc(8) to invoke causes some FreeBSD installs to fail
to load mac_ntp. The fact that that can_run_nonroot() does not
indicate why failures occur leaves people on the mailing lists
guessing as to why there are failures. Let's revert back to using
the rc(8) provided su. The ntpd rc script will be rewritten when
the ntpd chroot will be implemented.

Reported on:	freebsd-stable@

This reverts commit 521f66715afb312b356afafc68cbc044a436a753.

(cherry picked from commit 5ca7754519e8c618968d8acbf54d653b6e968829)
2025-03-11 10:59:10 -07:00
..
rc.d Revert "ntpd: Use the ntpd -u option in preference to the rc su plumbing" 2025-03-11 10:59:10 -07:00
tests rc/tests: Skip oomprotect tests in a jail 2024-10-21 11:59:16 +02:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
netstart Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
network.subr rc: network.subr update consitency with older change (v6/v4 order) 2024-09-28 10:35:11 +00:00
pccard_ether Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
rc Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
rc.bsdextended Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
rc.conf rc: Document rtadvd_flags 2025-01-14 14:14:24 +00:00
rc.firewall Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
rc.initdiskless rc.initdiskless: Disable soft-updates in mdmfs (again) 2024-03-29 09:53:54 -04:00
rc.resume Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
rc.shutdown Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
rc.subr rc.subr: Consistently use an absolute path for sysrc 2024-10-02 11:27:00 +02:00
rc.suspend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00