Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* OSF1 3.X automounter with -hosts and netgroups
@ 1996-05-30  4:00 Brian C Hill
  1996-06-03  4:00 ` Eric Werme
  0 siblings, 1 reply; 2+ messages in thread
From: Brian C Hill @ 1996-05-30  4:00 UTC (permalink / raw)



	It appears that if you export file systems via a netgroup from
any system (SunOS, OSF1, Irix, etc.) to an OSF1 3.X system and expect
to be able to access any of those systems from the OSF 3.X via the
-hosts map of the automounter, you have to have the netgroup on the OSF
3.X system as well! No other vendor's automounter requires this.  It is
obviously not a problem if the "other" system and OSF1 3.X system are
in the same NIS domain, but if they aren't (i.e. both hosts are managed
by totally separate groups), it is a real pain. Here is the specific
problem I ran into and fixed by forcing the other system manager to
create a mirror of the same netgroup that I am exporting the file
systems to:

	I have a netgroup that contains a list of OSF1 3.2D hosts and I
export SunOS 5.4 filesystems to that netgroup, but I could get to the
SunOS 5.4 system from the OSF1 3.2D systems via the OSF1 3.2D
autmounter and the -hosts map.

	I did some snoops (SunOS 5.X's incarnation of tcpdump).  The
OSF1 automounter requests a lists of exports from the SunOS mountd and
gets it. The list that is returned is a list of filesystems and the
netgroups and/or hostnames they are exported to. Note that the
netgroups are not expdanded!  My guess is that, at this point, the OSF1
automounter sees that its own hostname does not appear in the list and
_assumes_ that it can therefore not mount any of the SunOS 5.X
filesystems.  I am guessing that the OSF1 automounter doesn't take into
account the possibility that its own hostname may be hidden in a
netgroup.

	I also tried the reverse (SunOS 5.4 -> OSF1 3.2D). When a SunOS
5.X automounter tries to mount filesystems via -hosts, it attempts to
mount all filesystems returned even though its own hostname doesn't
appear with any of the filesystems (presumably dispensing with all host
name and netgroup name info).

	Is this correct? If so, does Digital see this as a bug in its
automounter? Is it known? Will it be fixed?

Thanks for any info.

   ____________________________________________________________________
  / Brian C. Hill                   bchill@ucdavis.edu  (916) 753-0358 \ 
  | Systems Programmer              University of California, Davis    |
  | Graduate School of Management & GIS Center                         |



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: OSF1 3.X automounter with -hosts and netgroups
  1996-05-30  4:00 OSF1 3.X automounter with -hosts and netgroups Brian C Hill
@ 1996-06-03  4:00 ` Eric Werme
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Werme @ 1996-06-03  4:00 UTC (permalink / raw)



bchill@gis.ucdavis. (Brian C Hill) writes:

>	It appears that if you export file systems via a netgroup from
>any system (SunOS, OSF1, Irix, etc.) to an OSF1 3.X system and expect
>to be able to access any of those systems from the OSF 3.X via the
>-hosts map of the automounter, you have to have the netgroup on the OSF
>3.X system as well!

>	Is this correct? If so, does Digital see this as a bug in its
>automounter? Is it known? Will it be fixed?

From a quick look at the code, I'd say your analysis completely correct
and I guess I'd call it a bug.  However, I don't see it getting fixed
any time soon.  In our environment, we have many large servers that
export several file systems only to the other production machines via
a netgroup.  I assume the intent of that code (I don't know if
we wrote it of if it came from Sun) is to reduce the amount of time
automount needs to mount everything from server.  As long as we keep
using automount, there's a lot to be said for reducing its workload,
at least for the automounts that run on the production machines.
-- 
Eric (Ric) Werme         |  werme@zk3.dec.com
Digital Equipment Corp.  |  This space intentionally left blank.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-06-03  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-05-30  4:00 OSF1 3.X automounter with -hosts and netgroups Brian C Hill
1996-06-03  4:00 ` Eric Werme

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox