Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A union mount of a directory onto the same directory causes havoc #36

Open
ghost opened this issue Jun 20, 2014 · 0 comments
Open

A union mount of a directory onto the same directory causes havoc #36

ghost opened this issue Jun 20, 2014 · 0 comments
Labels

Comments

@ghost
Copy link

ghost commented Jun 20, 2014

Metadata

Description


    A union mount from one directory onto the same directory causes the system to pretty much
    lock up.  For A while, I can ps etc, but any disk activity causes it to look up.  The mount
    process (or any other locked process) cannot be killed.  Generally the entire system
    completely locks up pretty quickly.  No special priveledges are required - any directory
    that the user owns can be used.

How to repeat


    mount_union somedir somedir

Fix


    No sure.  Definantly a kernel problem.  I've temporarily disabled the mount_union
    command, but that doesn't stop users from compiling their own program that attempts a 
    union mount.

Audit trail


State-Changed-From-To: open->feedback 
State-Changed-By: hwr 
State-Changed-When: Sat May 8 02:42:23 PDT 1999 
State-Changed-Why:  
Could you try, is this still happens with actual code? It might be that 
this went away with Lite2 merger. (yes, I know that your PR is 2 years old *sigh*) 

From: Rick Byers <rickb@iaw.on.ca>
To: gnats-bugs@netbsd.org
Cc:  Subject: kern/3645
Date: Sun, 23 May 1999 17:22:15 -0400

 The mount_union binary will no longer do this, but the kernel will.  A
 modified binary can still easily crash the system when the UNIONFS is in
 the kernel.
State-Changed-From-To: feedback->open 
State-Changed-By: hwr 
State-Changed-When: Sun Jun 6 23:41:42 PDT 1999 
State-Changed-Why:  
This is still a problem. 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

0 participants