Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Feb 2010 17:44:37 +0200
From:      George Mamalakis <mamalos@eng.auth.gr>
To:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   mountd segfaults in NFSv4 if -alldirs is present in exports
Message-ID:  <4B7EB1E5.3080907@eng.auth.gr>

next in thread | raw e-mail | index | archive | help
Hi all,

the title explains it all...

But ok, let's be a bit more extensive.

If I have one line in /etc/exports reading:

V4:  /  -alldirs

and try to start mountd, it segfaults with signal 11. From the manpage I 
read that -alldirs is the "second method" used to export a filesystem 
and V4 is the "third", maybe implying that they are mutually exclusive. 
Nevertheless, I suppose that mountd shouldn't segfault in my case, it 
could just refuse to start giving an error message or something. I've 
tried a different /etc/exports containing a dummy option -dummy instead 
of -alldirs and mountd won't segfault, hence there's no problem with its 
parser.

-- 
George Mamalakis

IT Officer
Electrical and Computer Engineer (Aristotle Un. of Thessaloniki),
MSc (Imperial College of London)

Department of Electrical and Computer Engineering
Faculty of Engineering
Aristotle University of Thessaloniki

phone number : +30 (2310) 994379




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B7EB1E5.3080907>