Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/etc



Module Name:    src
Committed By:   apb
Date:           Sun Jul 27 07:46:46 UTC 2014

Modified Files:
        src/etc: rc rc.subr

Log Message:
In rc.subr, add _have_rc_postprocessor function and use it instead of
inline tests like [ -n "${_rc_postprocessor_fd}" ]. The new function
performs a few new tests, including verifying that /etc/rc is still
running (using a new _rc_pid variable set by /etc/rc).

This is intended to deal with the case that a script run from /etc/rc
spawns a background process, then /etc/rc exits, but the background
process still has environment variables inherited from /etc/rc.

Fixes PR 46546.


To generate a diff of this commit:
cvs rdiff -u -r1.168 -r1.169 src/etc/rc
cvs rdiff -u -r1.93 -r1.94 src/etc/rc.subr

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index