Bug 154648 - sys-apps/hal-0.5.7.x - autofs mounts loop
Bug#: 154648 Product:  Gentoo Linux Version: 2006.1 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: gentopia@gentoo.org Reported By: sukiyazov@mail.ru
Component: Core system
URL: 
Summary: sys-apps/hal-0.5.7.x - autofs mounts loop
Keywords:  
Status Whiteboard: 
Opened: 2006-11-10 02:02 0000
Description:   Opened: 2006-11-10 02:02 0000
On mounts managed by autofs (fstype == 'autofs') or submount (fstype ==
'subfs') accessing 
files below the mount point cause the mount point to be remounted after an
unmount.HAL daemon
try check for the .created-by-hal file on mounts under autofs mount points,
then autofs (or
submount) mount filesystem again - we have dead loop.

------- Comment #1 From Jakub Moc (RETIRED) 2006-11-10 02:05:26 0000 -------

*** This bug has been marked as a duplicate of 154647 ***

------- Comment #2 From Sergey A. Sukiyazov 2006-11-10 02:05:34 0000 -------
Created an attachment (id=101589) [details]
Patch (origin by John (J5) Palmieri <johnp@redhat.com>, added support 'subfs')
solves this 
problem.

Patch (origin by John (J5) Palmieri <johnp@redhat.com>, added support 'subfs')
solves this problem. In hal >= 0.5.8.x this problem alredy solved.

Keep list of autofs (subfs) filesystem so we do not check for the
.created-by-hal file on mounts under autofs mount points

------- Comment #3 From Jakub Moc (RETIRED) 2006-11-10 02:06:45 0000 -------
Don't restrict bugs without any reason. Just leave the checkboxes alone if you
have no clue what are they used for. Also fix your browser refresh.

------- Comment #4 From Jakub Moc (RETIRED) 2006-11-10 02:07:06 0000 -------
*** Bug 154647 has been marked as a duplicate of this bug. ***

------- Comment #5 From Peter Volkov 2007-01-30 12:16:41 0000 -------
Any progress here? BTW. Does anybody knows why hal-0.5.8.1 is not in portage?

------- Comment #6 From Peter Volkov 2007-01-30 12:22:15 0000 -------
Remi already answered me, why new hal version is not in portage (in bug
#160377).

------- Comment #7 From Doug Goldstein 2007-01-30 16:35:32 0000 -------
pva: Quit being a ricer. hal 0.5.8.1 is broken. It's not going in the tree. You
sound like a whiny user... not a dev..

On a related note, this will be in hal-0.5.7.1-r4

------- Comment #8 From realw98@gmail.com 2007-02-09 06:27:07 0000 -------
sys-apps/hal-0.5.7.1-r4 still has the same problem with autofs, although patch
exists and applied successfully.

------- Comment #9 From Sergey A. Sukiyazov 2007-02-09 07:49:39 0000 -------
Created an attachment (id=109602) [details]
Sample configuration for using autofs and hal in gentoo

It is my configuration for use hal and autofs, to access removable media
without calling mount command (tarball packed relative root directory). When
media inserted, hal create directory '/mnt/autfs/<media name>' and symlink
'auto' to path '/var/lib/autofs/hal/<device udi>'. When media removed, hal also
remove directory '/mnt/autfs/<media name>'

------- Comment #10 From Sergey A. Sukiyazov 2007-02-09 07:57:59 0000 -------
(In reply to comment #8)
> sys-apps/hal-0.5.7.1-r4 still has the same problem with autofs, although patch
> exists and applied successfully.
> 

You use KDE and konquerror as filemanager with treeview for directory
structure?
If not, please send your configuration (hals *.fdi, autofs files and etc.)

------- Comment #11 From Sergey A. Sukiyazov 2007-02-09 08:02:38 0000 -------
At me (with sys-apps/hal-0.5.7.1-r4) this problem does not occured. Try
configuration from attachment #2 [details].