[PATCH] mountd(8) can apply flags to wrong filesystem
[Includes a patch, patch looks like it applies to mountd.c from current]
Description
When mountd(8) receives a HUP signal, it stops all NFS exporting of
filesystems, and then passes the export rules from /etc/exports via a
number of mount(2) invocations. In order to handle cases where the
path listed in /etc/exports is not the real mount point, mountd
repeatedly removes the last path component until the mount call
succeeds.
Due to insuffient error checking, mountd can miss the real mount
point, and apply the flags from a mounted filesystem to the
underlying one. In the case we have seen, a forgotten entry in
/etc/exports resulted in mountd setting the nodev flag on / every
time mountd was sent a HUP signal.
Any takers for it?
http://www.freebsd.org/cgi/query-pr.cgi?pr=7872
Cheers,
Nick
--
ISIS/STA, T.P.270, Joint Research Centre, 21020 Ispra, Italy
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message