*BSD News Article 53786


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!usenet.eel.ufl.edu!eng.ufl.edu!usenet.ufl.edu!jfh
From: jfh@cis.ufl.edu (James F. Hranicky)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Cannot export a filesystem to a netgroup
Date: 30 Oct 1995 22:54:47 GMT
Organization: University of Florida, Computer Science Department
Lines: 31
Distribution: world
Message-ID: <473l3n$1f0@no-names.nerdc.ufl.edu>
NNTP-Posting-Host: aviator.cis.ufl.edu
Keywords: nis/yp, netgroups, exports, mountd, nfs
Originator: jfh@aviator.cis.ufl.edu


Howdy,

I have the following line in my /etc/exports file:

/mydir -maproot=nobody cismach

cismach is the netgroup I'm trying to export to, but when I 
start or hup mountd I get:

Oct 30 18:45:24 bounce-bsd mountd[20565]: Gethostbyname failed
Oct 30 18:45:24 bounce-bsd mountd[20565]: Bad netgroup cismach
Oct 30 18:45:24 bounce-bsd mountd[20565]: Bad exports list line /local -maproot
Oct 30 18:45:24 bounce-bsd mountd[20565]: Can't open /var/db/mountdtab

If I have a hostname instead, all seems well. I put a + in 
/etc/netgroup as per the man page, but it still doesn't seem
to like my netgroups (this isn't the only one it does this on).

Any ideas?

uname info:

FreeBSD bounce-bsd.cis.ufl.edu 2.1.0-950928-SNAP

-------------------------------------------------------------------------------
|                       Jim Hranicky, Systems Administrator                   |
|  Computer & Information Sciences & Engineering Department, Univ of Florida  |
| E314E CSE Building             jfh@cis.ufl.edu         Phone (904) 392-1057 |
|                          http://www.cis.ufl.edu/~jfh                        |
-------------------------------------------------------------------------------