misc/85363: syntaxerror in /etc/rc.d/devfs

Peter Much peter at citylink.dinoex.sub.org
Sat Aug 27 22:20:19 GMT 2005


>Number:         85363
>Category:       misc
>Synopsis:       syntaxerror in /etc/rc.d/devfs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 27 22:20:17 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Peter Much
>Release:        FreeBSD 5.3-RELEASE-p20 i386
>Organization:
none
>Environment:
System: FreeBSD edge.oper.dinoex.org 5.3-RELEASE-p20 FreeBSD 5.3-RELEASE-p20 #1: Sun Aug 7 19:29:25 CEST 2005 root at edge.oper.dinoex.org:/usr/src/sys/i386/compile/E1R53V1 i386

>Description:

	devfs_system_ruleset="99"       
in /etc/rc.conf does not work.

>How-To-Repeat:

	not applicable

>Fix:

	in /etc/rc.d/devfs:devfs_start()

                devfs_set_ruleset $devfs_system_ruleset /dev
                devfs_apply_ruleset $devfs_system_ruleset /dev

	the $ signs must be removed. Similar problem a couple of lines lower:

                                devfs_set_ruleset $_set $_dir
                                devfs_apply_ruleset $_set $_dir

	But maybe its better to change the devfs functions in rc.subr.
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list