tags 297043 + unreproducible
thanks

On Sun, Feb 27, 2005 at 09:50:14AM +0100, Eduard Bloch wrote:
>> Are you implying that "/etc/init.d/autofs stop" (which is called in prerm)
>> does not update mtab properly? (AFAIK, it runs umount.) I'm not able to
>> reproduce this...
> Exactly. After a manual cleanup (sync of mounts -> mtab, umounting) it
> seems to work again.

senere:~# grep home/cassarossa /etc/mtab 
automount(pid5249) /home/cassarossa autofs 
rw,fd=4,pgrp=5249,minproto=2,maxproto=4 0 0
cassarossa:/export/cassarossa/itk /home/cassarossa/itk nfs 
rw,nosuid,nodev,intr,addr=129.241.93.19 0 0
senere:~# /etc/init.d/autofs stop
Stopping automounter: done.
senere:~# grep home/cassarossa /etc/mtab 
senere:~# 

Also note that all umounting in autofs is done via PATH_UMOUNT, ie.
"/sbin/umount". In other words, under normal conditions autofs does not touch
mtab at all. There is, however, code in do_umount_autofs() that checks that
/etc/mtab is actually cleaned, and tries to fix it if it wasn't.

In short, I'm completely unable to reproduce your bug nor find a reasonable
reason why it would happen, so I'm afraid you'll have to supply more
information somewhere.

/* Steinar */
-- 
Homepage: http://www.sesse.net/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to