Subject: Re: kern/27802: on disk full, last-edited file opened instead of binary
To: None <krinsky+netbsd@bantha.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-bugs
Date: 11/03/2004 21:09:10
On Tue, Nov 02, 2004 at 03:44:22PM -0500, krinsky+netbsd@bantha.org wrote:
> >Description:
> 	Unbeknownst to me at the time, /var had just filled up due to
> 	a user's mail loop.
> 
> 	I edited /etc/inetd.conf and kill -HUP'ed inetd in a root 
> 	shell.  In a concurrent, non-root shell, I attempted to invoke
> 	telnet to check my work.  Instead of exec'ing telnet, my shell (zsh)
> 	attempted to execute /etc/inetd.conf:

[...]

I've seen other forms of these file-mixing phenomenoms, which is probably
the same underlying bug:
http://mail-index.netbsd.org/tech-kern/2003/09/05/0002.html

It has also been seen by someone else on completely different harware, which
rules out a driver or machdep issue. He also had a file system full condition
just before the problem. On my server I didn't have this, but I have quotas,
and the effect it probably the same at the filesystem level when a user is
overquota. Both of us have NFS in the game, but I guess in your case
/ and /usr are not NFS exported ?

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--