NetBSD Problem Report #9860

Received: (qmail 19249 invoked from network); 12 Apr 2000 00:57:58 -0000
Message-Id: <200004120057.RAA15342@nbwww.isc.org>
Date: Tue, 11 Apr 2000 17:57:58 -0700 (PDT)
From: sysadmin@terc.edu
Reply-To: sysadmin@terc.edu
To: gnats-bugs@gnats.netbsd.org
Subject: installed 1.4.2 GENERIC kernel isn't.
X-Send-Pr-Version: www-1.0

>Number:         9860
>Category:       install
>Synopsis:       installed 1.4.2 GENERIC kernel isn't.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    install-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 12 00:59:00 +0000 2000
>Closed-Date:    Sun Jun 11 14:09:54 +0000 2000
>Last-Modified:  Sun Jun 11 14:09:54 +0000 2000
>Originator:     Robby Griffin
>Release:        1.4.2
>Organization:
TERC
>Environment:
NetBSD khwarizmi 1.4.2 NetBSD 1.4.2 (GENERIC) #3: Wed Mar 15 23:41:54 PST 2000     toddpw@vader.toddpw.net:/usr/src/sys/arch/i386/compile/GENERIC i386


>Description:
Using the installed GENERIC kernel described above, I have a problem
with mounting union filesystems which goes away when I build my own
copy of the GENERIC kernel. Thus the installed kernel can't really be
GENERIC, and I can't peek at toddpw's src tree to see how it broke
union filesystems.

Using his kernel, I get the following behavior:

>How-To-Repeat:
(install NetBSD 1.4.2)
# mkdir /tmp/lower
# mkdir /tmp/upper
# mount -t union /tmp/upper /tmp/lower
mount_union: /tmp/upper on /tmp/lower: Operation not supported by device

>Fix:
Rebuild GENERIC kernel, reboot, and watch the union mount work.
The distributed version should perhaps get fixed too.

>Release-Note:
>Audit-Trail:

From: Todd Whitesel <toddpw@best.com>
To: sysadmin@terc.edu
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: install/9860: installed 1.4.2 GENERIC kernel isn't.
Date: Thu, 13 Apr 2000 03:29:12 -0700 (PDT)

 > Using the installed GENERIC kernel described above, I have a problem
 > with mounting union filesystems which goes away when I build my own
 > copy of the GENERIC kernel. Thus the installed kernel can't really be
 > GENERIC, and I can't peek at toddpw's src tree to see how it broke
 > union filesystems.

 According to the 1.4.2 README:


         5. file-system UNION disabled in GENERIC kernel for security reasons.

         Due to concerns about known security exploits using the UNION file
         system, it has been disabled in the shipping kernel.


         The LAST_MINUTE file contains diffs for #2, #3, #4, and #5.


 Todd Whitesel
 toddpw @ best.com

From: Frederick Bruckman <fb@enteract.com>
To: sysadmin@terc.edu
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: install/9860: installed 1.4.2 GENERIC kernel isn't.
Date: Sat, 15 Apr 2000 07:38:50 -0500 (CDT)

 On Tue, 11 Apr 2000 sysadmin@terc.edu wrote:

 > Using the installed GENERIC kernel described above, I have a problem
 > with mounting union filesystems which goes away when I build my own
 > copy of the GENERIC kernel. Thus the installed kernel can't really be
 > GENERIC, and I can't peek at toddpw's src tree to see how it broke
 > union filesystems.

 The union fs was deliberately disabled on all platforms. See note (2)
 in the LAST_MINUTE file.

 There are at least 20 open PR's concerning the union filesystem,
 though there's some question as to whether all still apply (which is
 why it's not disabled in GENERIC, yet). Of special concern were those
 involving an ordinary user's ability to produce a "panic on demand":
 PR's kern/4597, kern/2423 and kern/2426. Can you verify whether this
 situation still exists (so that we can comment out the union
 file-system in GENERIC), or not?


State-Changed-From-To: open->closed 
State-Changed-By: fredb 
State-Changed-When: Sun Jun 11 09:05:01 CDT 2000 
State-Changed-Why:  
No help with the union fs problems, but at least it's now disabled in 
the cvs controlled "GENERIC" file for the netbsd-1-4 branch. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.