Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Dec 1995 09:12:29 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        rls@kilroy.id.net (Robert Shady)
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Ifconfig fixed/Now MOUNTD! ;)
Message-ID:  <199512010812.JAA22495@uriah.heep.sax.de>
In-Reply-To: <199511302141.QAA00607@server.id.net> from "Robert Shady" at Nov 30, 95 04:41:48 pm

next in thread | previous in thread | raw e-mail | index | archive | help
As Robert Shady wrote:
> 
> Okay, the 'ifconfig' alias problem is now taken care of.  Turns out, you
> *MUST* include a netmask of all 255's in the alias statement or it will
> not work...

Only if your aliases are in the same network mask as the primary
address.  (This seems to be the most (ab)used case now.)

> Nov 30 16:31:29 server mountd[102]: Can't change attributes for /usr/local. 
> Nov 30 16:31:29 server mountd[102]: Bad exports list line /usr/local -maproot


> Here is my /etc/exports file:
> =============================
...
> /archives		-maproot=0 zeus hades
...
> /usr/local		-maproot=0 zeus hades

> /dev/wd0a      756078   601380    94210    86%    /

RTFM exports(5):

BUGS
     The export options are tied to the local mount points in the kernel and
     must be non-contradictory for any exported subdirectory of the local
     server mount point.  [...]

Your /archives and /usr/local are both part of the / file system.
So write it as

/archives /usr/local -maproot=0 zeus hades

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



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