Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Oct 1998 03:10:42 -0700 (PDT)
From:      Wolfram Schneider <wosch@bento.freebsd.org>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   conf/8330: modload usage in etc/etc.i386/rc.i386
Message-ID:  <199810151010.DAA09356@bento.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         8330
>Category:       conf
>Synopsis:       modload usage in etc/etc.i386/rc.i386
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 15 03:20:00 PDT 1998
>Last-Modified:
>Originator:     Wolfram Schneider
>Organization:
>Release:        FreeBSD 3.0-BETA i386
>Environment:

>Description:

Modload should not temp write files with a uniq name
into the public writable directory /tmp


>How-To-Repeat:
>Fix:
	

Index: rc.i386
===================================================================
RCS file: /home/ncvs/src/etc/etc.i386/rc.i386,v
retrieving revision 1.35
diff -u -r1.35 rc.i386
--- rc.i386	1998/07/22 05:38:58	1.35
+++ rc.i386	1998/10/15 10:03:47
@@ -95,7 +95,7 @@
 if [ "X${saver}" != X"NO" ] ; then
 	echo -n ' screensaver'
 	modstat | grep -q _saver || \
-		modload -u -o /tmp/saver_mod -q /lkm/${saver}_saver_mod.o
+		modload -u -o /var/run/saver_mod -q /lkm/${saver}_saver_mod.o
 fi
 
 # mouse daemon
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810151010.DAA09356>