Subject: misc/24106: missing rcvar in /etc/rc.d/veriexec
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <njoly@pasteur.fr>
List: netbsd-bugs
Date: 01/15/2004 12:12:42
>Number:         24106
>Category:       misc
>Synopsis:       missing rcvar in /etc/rc.d/veriexec
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 15 11:13:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Nicolas Joly
>Release:        NetBSD 1.6ZH (-current 20040115)
>Organization:
	Institut Pasteur
>Environment:
System: NetBSD calimero.sis.pasteur.fr 1.6ZH NetBSD 1.6ZH (GENERIC.MP) #20: Thu Jan 15 10:24:16 CET 2004 njoly@calimero.sis.pasteur.fr:/local/src/NetBSD/obj/amd64/sys/arch/amd64/compile/GENERIC.MP amd64
Architecture: x86_64
Machine: amd64
>Description:
/etc/rc.d/veriexec is always executed at startup because of a missing `rcvar'
variable. And, if `/dev/veriexec' does not exists, generate an error message.

[...]
Checking quotas: done.
Loading fingerprints...Dev open failed
 done.
Starting virecover.
[...]

>How-To-Repeat:
Boot a recent -current 20040115 machine.
>Fix:
Index: etc/rc.d/veriexec
===================================================================
RCS file: /cvsroot/src/etc/rc.d/veriexec,v
retrieving revision 1.1
diff -u -r1.1 veriexec
--- etc/rc.d/veriexec	2004/01/14 06:53:50	1.1
+++ etc/rc.d/veriexec	2004/01/15 11:03:52
@@ -10,6 +10,7 @@
 . /etc/rc.subr
 
 name="veriexec"
+rcvar=$name
 start_cmd="veriexec_start"
 
 veriexec_start()
>Release-Note:
>Audit-Trail:
>Unformatted: