Update sysrc(8) manual to coincide with r252797:

Do not inherit $SYSRC_VERBOSE from operating environment. The concern is
that when a user (such as myself) which has SYSRC_VERBOSE=1 in his/her
~/.bash_profile or such that when they are told to execute a command like:

	hostname `sysrc -n hostname`

NOTE: To activate a recently configured hostname.

If $SYSRC_VERBOSE is set, then POLA is violated because the output of sysrc
is indirectly influenced (making for an inconsistent experience).
This commit is contained in:
Devin Teske 2013-07-05 16:45:25 +00:00
parent 09ee63bc6a
commit b2c577b5de
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=252798

View File

@ -99,10 +99,9 @@ Show only variable values, not their names.
Show only variable names, not their values.
.It Fl q
Quiet.
Ignore previous
Ignore previous occurrences of
.Fl v
and/or
.Ev SYSRC_VERBOSE .
flag.
.It Fl R Ar dir
Operate within the root directory
.Pq Sq Ar dir
@ -175,7 +174,7 @@ be called repeatedly).
.Sh ENVIRONMENT
The following environment variables are referenced by
.Nm :
.Bl -tag -width ".Ev SYSRC_VERBOSE"
.Bl -tag -width ".Ev RC_DEFAULTS"
.It Ev RC_CONFS
Override default
.Ql rc_conf_files
@ -184,9 +183,6 @@ Override default
Location of
.Ql /etc/defaults/rc.conf
file.
.It Ev SYSRC_VERBOSE
Default verbosity.
Set to non-NULL to enable.
.El
.Sh DEPENDENCIES
The following standard commands are required by