Subject: Re: kern/27802: on disk full, last-edited file opened instead of binary
To: Manuel Bouyer <>
From: David Krinsky <>
List: netbsd-bugs
Date: 11/05/2004 09:39:53
On Wed, Nov 03, 2004 at 09:09:10PM +0100, Manuel Bouyer ( wrote:
> On Tue, Nov 02, 2004 at 03:44:22PM -0500, 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:

Yes, that does sound likely.

> 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 ?

Correct.  I have neither quotas nor NFS active at all on this system.