NetBSD-Bugs archive

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

PR/46546 CVS commit: src/etc



The following reply was made to PR misc/46546; it has been noted by GNATS.

From: "Alan Barrett" <apb%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/46546 CVS commit: src/etc
Date: Sun, 27 Jul 2014 07:46:46 +0000

 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