Date: Tue, 16 Apr 2002 21:20:27 +0200 (CEST) From: Helge Oldach <send-pr@oldach.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: conf/37153: "sysctl compat.linux" versus linux.ko Message-ID: <200204161920.g3GJKRTn045333@sep.oldach.net>
next in thread | raw e-mail | index | archive | help
>Number: 37153 >Category: conf >Synopsis: "sysctl compat.linux" versus linux.ko >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: Tue Apr 16 12:30:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Helge Oldach >Release: FreeBSD 4.5-STABLE i386 >Organization: >Environment: System: FreeBSD sep.oldach.net 4.5-STABLE FreeBSD 4.5-STABLE #0: Tue Apr 16 00:27:21 CEST 2002 toor@sep.oldach.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: Starting box into multi-user with /etc/sysctl.conf containing compat.linux.osname=FreeBSD compat.linux.osrelease=4.5-STABLE (which values probably should be default, BTW :-)). However linux.ko isn't yet loaded, hence rc.sysctl fails: sysctl: unknown oid 'compat.linux.osname' sysctl: unknown oid 'compat.linux.osrelease' >How-To-Repeat: >Fix: Don't know exactly. On one hand it is correct that /etc/rc sets OIDs as soon as possible. On the other hand some OIDs cannot be set right away, but require some dependencies. We probably need two separate sets of rc.sysctl: setting OIDs "just after starting" to go multi-user (i.e. early in /etc/rc), and the other "just before finishing" /etc/rc (i.e. late in /etc/rc). >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?200204161920.g3GJKRTn045333>