hur hur. fusexmp (userspace fs) + autofs + mount --rbind equals BLURP
anybody scared of ugly usage of linux kernel modules should look away, _right_ now :)
... that having been said, this is quite a problem for mount --rbind.
repro setup:
1) install fuse.
2) install autofs.
3) write an /etc/autofs.media with a mountpoint /media/floppy
4) mkdir /mnt/test and run fusexmp /mnt/test &
5) mkdir /home/yourhome/media and mount --rbind /media /home/yourhome/media
6) attempt to access /mnt/test/home/yourhome/media/floppy
... and watch the little bits of kernel segfaults go _flying_ by...
this is with 2.6.8[.1-selinux1].
some clues as to there-might-be-a-problem-with-rbind are that the problem does _not_ occur if you access /home/yourhome/media/floppy, and a second clue is that if there are any subdirectories in /media prior to running autofs, with a bit of dickering about with the order of the above repro setup it's possible to _see_ those subdirectories _even_ though you've done a mount --rbind.
i think i saw this occur when i swapped stages 4) and 5) above.
l.
Signature · 7 lines
-- Truth, honesty and respect are rare commodities that all spring from the same well: Love. If you love yourself and everyone and everything around you, funnily and coincidentally enough, life gets a lot better. -- <a href="http://lkcl.net"> lkcl.net </a> <br /> <a href="mailto:[email protected]"> [email protected] </a> <br />