Re: 2.2.0p6: autofs bug! unmountable filesystem

Matthew Kirkwood (weejock@ferret.lmh.ox.ac.uk)
Mon, 11 Jan 1999 14:41:31 +0000 (GMT)


On Mon, 11 Jan 1999, Chris Evans wrote:

> > > I can reproduce a autofs bug whereby the autofs filesystem cannot be
> > > unmounted.
> >
> > Probably not. Try kill -9'ing the automount process for that filesystem
> > and then umount /misc
>
> Will have another look, but the failed umount was at system _shutdown_ -
> not too many processes left by then I hope.

I think RedHat's init scripts are maybe a little unreliable - I used to
get no end of troubles when I had an autofs directory from /home (on its
own fs). Now they're all mounted from / and things seem a little better.

> > > Now, /misc cannot be unmounted, it is permanently reported as busy. Not
> > > good.
> >
> > "Oh no, root can break my system.."
>
> Oh come on. We've been through this. There is a difference between
>
> 1) root maliciously breaking system with cat /dev/random > /dev/mem etc.
> and
> 2) the system responding poorly to commands root might legitimately issue
>
> Unmounting filesystems, no matter what they are and what order I umount
> them in, falls into category 2)

Whatever. Anyway, I can reliably unmount my autofs'ed zip drive with
"eject -uf /dev/sda" under 2.2.0p6. I don't use the CD drive much, but it
has worked in the past.

Matthew.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/