Current-Users archive

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

Re: panic: relookup: lookup on dot-dot



On Thu Mar 27 2008 at 02:57:38 +0000, Jonathan A. Kollasch wrote:
> Hi,
> 
> 4.99.58 checked out and built for amd64 today does this:
> 
> # mv /foo/qux/.* /bar/qux/
> mv: panic: relookup: lookup on dot-dot
> Stopped in pid 580.1 (mv) at    netbsd:breakpoint+0x5:  leave
> db{0}> bt
> breakpoint() at netbsd:breakpoint+0x5
> panic() at netbsd:panic+0x25b
> relookup() at netbsd:relookup+0xcd
> do_sys_rename() at netbsd:do_sys_rename+0x182
> syscall() at netbsd:syscall+0xa6
> db{0}>
> 
> ISTR doing this before and not having a panic.

This is known b0rkedness since the rename locking patches.

Don't do it ;)

-- 
Antti Kantee <pooka%iki.fi@localhost>                     Of course he runs 
NetBSD
http://www.iki.fi/pooka/                          http://www.NetBSD.org/
    "la qualité la plus indispensable du cuisinier est l'exactitude"


Home | Main Index | Thread Index | Old Index