* hur hur. fusexmp (userspace fs) + autofs + mount --rbind equals BLURP
@ 2004-09-22 19:19 Luke Kenneth Casson Leighton
0 siblings, 0 replies; only message in thread
From: Luke Kenneth Casson Leighton @ 2004-09-22 19:19 UTC (permalink / raw)
To: linux-kernel
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.
--
--
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:lkcl@lkcl.net"> lkcl@lkcl.net </a> <br />
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-09-22 19:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-22 19:19 hur hur. fusexmp (userspace fs) + autofs + mount --rbind equals BLURP Luke Kenneth Casson Leighton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.