| Summary: | /etc/rc.sendmail not appropriate configuration file evaluation | ||
|---|---|---|---|
| Product: | Base System | Reporter: | yuu-w <yuu-w> |
| Component: | conf | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Unspecified | ||
| Hardware: | Any | ||
| OS: | Any | ||
yuu-w> /etc/rc.sendmail evaluates configuraiton file, but this program yuu-w> evaluate only one file. this is not appropriate, I think. Wrong assumption. See source_rc_confs() in /etc/defaults/rc.conf. This PR can be closed. -- - Makoto `MAR' Matsushita State Changed From-To: open->closed As was pointed out to you, the source_rc_confs function includes all defined rc.conf files. |
/etc/rc.sendmail evaluates configuraiton file, but this program evaluate only one file. this is not appropriate, I think. Fix: # diff -c -r1.1 rc.sendmail *** rc.sendmail 2002/06/25 04:29:32 1.1 --- rc.sendmail 2002/06/25 04:30:08 *************** --- 43,51 ---- if [ -r /etc/defaults/rc.conf ]; then . /etc/defaults/rc.conf source_rc_confs ! fi ! #elif [ -r /etc/rc.conf ]; then ! if [ -r /etc/rc.conf ]; then . /etc/rc.conf fi--GCCFJPDTum0CxM8ct0CqTLdgOlfsmau5hCsC5O1NI6LrpYgu Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" *** 43,49 **** if [ -r /etc/defaults/rc.conf ]; then . /etc/defaults/rc.conf source_rc_confs ! elif [ -r /etc/rc.conf ]; then . /etc/rc.conf fi