On Thu, Apr 27, 2006 at 10:03:20PM +0200, Lars Madsen wrote: > > First of all we are running RHEL 4 with /home mounted via NFS. > > I applied the patch for lbus_event_handler.sh (Bug 6560) and changed > it a bit to mount in /mnt/mylocaldev
Well, first off, that was added to the page not by me. We use local dev
all the time here, and ALL our home directories are mounted via NFS, and
it works just fine for me, so there's nothing inherently wrong with
mounting fuse filesystems under NFS, so it's probably something
distro-specific, and should be marked as such.
> A little poking around showed a possible bug in the now patched
> lbus_event_handler.sh
>
> In the definition of the function 'remove_all' it says
>
> for mount in `grep ltspfs /proc/mounts | grep "${HOME}" | awk '{print $2}'`
>
> but ltspfs is mounting as '/mnt/mylocaldev/username' and since $HOME
> is '/home/username' that match will not catch any thing.
>
> I changed it to 'grep ${USER}'
Not my patches. So, obviously whoever supplied the patch didn't test it
fully :)
> Now I know that was not such a good idea, because when I removed that
> line and rebooted the terminal, Local devs started working. :-)
Good to hear.
> BTW: how does the lbussd actually get started?
From the lbus-start script.
Scott
--
Scott L. Balneaves | "Looking beyond the embers of bridges glowing behind us
Systems Department | To a glimpse of how green it was on the other side..."
Legal Aid Manitoba | -- Pink Floyd "High Hopes"
signature.asc
Description: Digital signature
