Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jul 1999 14:40:32 +0200 (MET DST)
From:      Nick Hibma <nick.hibma@jrc.it>
To:        FreeBSD current mailing list <freebsd-current@freebsd.org>
Subject:   PR with patch, any takers?
Message-ID:  <Pine.GSO.3.95q.990713143738.6764B-100000@elect8>

next in thread | raw e-mail | index | archive | help

[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 majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.95q.990713143738.6764B-100000>