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

system/2193: Wrong variable name in /etc/rc




>Number:         2193
>Category:       system
>Synopsis:       Wrong variable name in /etc/rc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 22 08:10:01 MST 2001
>Last-Modified:
>Originator:     Jedi/Sector One
>Organization:
net
>Release:        OpenBSD 3.0
>Environment:
	System      : OpenBSD 3.0
	Architecture: OpenBSD.i386
	Machine     : i386
>Description:

Here's an extract of /etc/rc , that starts the system logger :

echo 'starting system logger'
rm -f /dev/log
if [ "X${named_flags}" != X"NO" -a "X${named_chroot}" != "X" ]; then
	rm -f ${named_chroot}/dev/log
	syslogd_flags="${syslogd_flags} -a ${named_chroot}/dev/log"
fi
syslogd ${syslogd_flags}

Shouldn't ${named_flags} be replaced with ${syslogd_flags} and
${named_chroot} with ${syslogd_chroot} ?

>How-To-Repeat:

-

>Fix:

See above.

>Audit-Trail:
>Unformatted: