https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263111
Bug ID: 263111
Summary: Explain *_prepend option in rc.conf(5) man page and in
/etc/defaults/rc.conf file
Product: Base System
Version: 13.1-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: misc
Assignee: [email protected]
Reporter: [email protected]
The *_prepend option is not explained/mentioned in the rc.conf(5) man page
while some FreeBSD WiKi pages refer to it.
For example https://wiki.freebsd.org/AddressSpaceLayoutRandomization mentions
its use to make ntpd(8) work with ASLR enabled:
> ntpd_prepend="/usr/bin/proccontrol -m aslr -s disable"
Please add that information to the rc.conf(5) man page.
Currently only /etc/rc.subr has it:
# grep -r _prepend /etc
/etc/rc.subr:# ${name}_prepend n Command added before ${command}.
/etc/rc.subr: _prepend=\$${name}_prepend
_login_class=\${${name}_login_class:-daemon} \
/etc/rc.subr: if [ -n "$_prepend" ]; then
/etc/rc.subr: _doit="$_prepend $_doit"
Its not even available in the /etc/defaults/rc.conf file - in which IMHO it
should also be mentioned.
Regards.
--
You are receiving this mail because:
You are the assignee for the bug.