Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Mar 2001 15:38:39 +0400 (MSD)
From:      Дмитрий Сиваченко <dima@Chg.RU>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   conf/26215: Incorrect way to start SVR4 emulation on boot
Message-ID:  <200103301138.PAA65237@chg.ru>

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

>Number:         26215
>Category:       conf
>Synopsis:       Incorrect way to start SVR4 emulation on boot
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 30 03:40:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Sivachenko
>Release:        FreeBSD 3.3-RELEASE i386
>Organization:
>Environment:

Recent FreeBSD-STABLE

>Description:

svr4.ko requires streams.ko to be loaded.
/usr/sbin/svr4 takes care of this.
/usr/sbin/svr4 should be used in /etc/rc instead of 'kldload svr4'.

>How-To-Repeat:

Add svr4_enable="YES" in /etc/rc.conf and reboot.
An error occurs while loading svr4.ko.

>Fix:
	
--- rc.orig	Fri Mar 30 15:31:35 2001
+++ rc	Fri Mar 30 15:31:46 2001
@@ -622,7 +622,7 @@
 #
 case ${svr4_enable} in
 [Yy][Ee][Ss])
-	echo -n ' svr4';	kldload svr4 > /dev/null 2>&1
+	echo -n ' svr4';	svr4 > /dev/null 2>&1
 	;;
 esac
 
>Release-Note:
>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?200103301138.PAA65237>