NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/47040: renaming mount point panics in namei

>Number:         47040
>Category:       kern
>Synopsis:       renaming mount point panics in namei
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 05 14:00:08 +0000 2012
>Originator:     Taylor R Campbell <>
>Release:        NetBSD 6.99.11
Architecture: amd64
Machine: amd64

        I had a directory /foo/bar/, and I wanted to rename
        it to /foo/, so I ran

                % mv bar/ .

        from /foo, forgetting that /foo/bar/ had a file
        system mounted.  This immediately triggered a panic in namei:

                panic: leaf `' should be empty

        I am not sure which instance of the panic this is -- whether
        it's the one in lookup_once or the one in relookup -- because I
        can't read a kernel core dump on this machine.


        Rename a mount point.


        Yes, please!

        (Real fix: rewrite namei...)

Home | Main Index | Thread Index | Old Index