hall and autofs

John (J5) Palmieri johnp at redhat.com
Thu Apr 27 15:01:43 PDT 2006


Was this already cc'ed to hal list. :-) I'm sorry.  I saw FC5 and
thought it was on a Fedora list.  Excuse me for temporally being away
from my mind ;-)

On Thu, 2006-04-27 at 23:47 +0200, Kay Sievers wrote:
> On Thu, Apr 27, 2006 at 05:38:10PM -0400, John (J5) Palmieri wrote:
> > On Thu, 2006-04-27 at 21:51 +0800, Ian Kent wrote:
> > > I look after autofs and I've had a couple of reports about file systems
> > > being immediately remounted after they have expired and stopping the HAL
> > > daemon stops it from happening. Apparently it has started recently,
> > > Fedora Core 5. It contains version 0.5.7.
> > > 
> > > Anyone able to direct me to the right place in the code base or offer
> > > any suggestion as to how to resolve this problem?
> 
> > gnome-volume-manager (or similar tools under KDE and other desktops)
> > handle the policy for mounting on the desktop.  For gnome there is a
> > program under System|Preferences|Removable Drives and Media where users
> > can click off the mount options.  Alternatively I bet autofs can set
> > flags in HAL which disallow the drive from being auto-mounted.  Ask on
> > the hal list (subscribe at http://lists.freedesktop.org). 
> 
> The problem may not be that we mount the shares, more that we stat() the
> related mountpoints which causes autofs to remount the share cause, it's
> accessed. We may need to add logic to HAL to skip such mountpoints if
> possible. Ian, what is the content of /proc/mounts?
> 
> Thanks,
> Kay
-- 



More information about the hal mailing list