From: luchini@ic.ac.uk (Dr Marco Luchini)
Subject: Re: Exporting /usr
Date: 12 Jul 93 12:40:08 [thread overview]
Message-ID: <LUCHINI.93Jul12124008@femto.ic.ac.uk> (raw)
In-Reply-To: norm@godel.une.edu.au's message of 10 Jul 93 08:09:30 GMT
In article <1293@grivel.une.edu.au> norm@godel.une.edu.au (Norman Gaywood) writes:
> Subject: Exporting /usr
> Date: 10 Jul 93 08:09:30 GMT
> Sender: usenet@grivel.une.edu.au
>
> DEC do not supply DMS with OSF so I thought I would do some mutilations
> to (mostly) the startup scripts to allow /usr to mounted across the net.
> Here are the steps I took:
[omitted]
I had to do this too, but took the simpler hack of copying all that the
startups require to a local /usr and then overmounting it. Norman's
solution is much more elegant.
However I prefer to mount /usr read-only so I also had to:
1) Move /usr/lib/X11/xdm/* to /var/lib/X11/xdm/* and edit S95xdm to
reflect this change (CONFIGFILE and xdm-pid location). Then modify
xdm-config.fs and xdm-config to reflect the change in path. Also add
the resource DisplayManager.authDir to reflect the new location. Make
sure the GID of /var/lib/X11/xdm is bin everywhere (use tar to copy it
across) otherwise xdm will not be able to write the authorization file
for the server, since I mount /usr ro.
2) Make sure that you have your lmf directory in /var/adm/lmf rather
than the default /usr/var. Remember to add "-d /var/adm/lmf" to
/sbin/init.d/startlmf so that you get the correct reset. Otherwise you
lose the licenses after a boot.
Because of the different approach I also had to
3) Move /sbin/rc3.d/S26sia to /sbin/rc3.d/S09siaS26 or similar number.
This used to be necesary under BL10 and may have gone away since the
upgrade to BL12 but I didn't bother checking it since we should be
getting OSF1.3 soon with a DEC-approved dataless setup.
Presumably Norman's setup cause problems with xdm's PID getting
overwritten.
As a side issue, what is really required is not the ability to run
dataless but the ability to run with the so-called "mandatory" subsets
on the local disk and the extra ones (or a suitable subset thereof) off
the net. This is easy to do for man pages (just mount /usr/share) but a
mess for most other things. Since things like fuse already install
mostly in /var/kits it would be nice if there were a supported
configuration which involved getting them off the net. I appreciate I
can do this myself in a piecemeal way but since setld already exists it
should not be too hard to make it figure out what should be installed
locally and what should be got from a mount point. All this will become
more important as more people (us included) upgrade from DECstation5000s
with small disks (RZ26) to AXPs. The whole of OSF doesn't install on an
RZ26.
Or is there a neat solution for this out there of which I am unaware?
Ciao, Marco
--
-------------------------------------------------------------------------
Marco Luchini Internet : luchini@ic.ac.uk
Department of Mathematics Telephone: +44 71 589 5111 x5765
Imperial College Fax: +44 71 225 8361
London SW7 2BZ, UK
-------------------------------------------------------------------------
next prev parent reply other threads:[~1993-07-12 16:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-07-10 8:09 Exporting /usr Norman Gaywood
1993-07-12 16:40 ` Dr Marco Luchini [this message]
1993-07-13 1:18 ` Norman Gaywood
1993-07-13 2:22 ` Norman Gaywood
1993-07-13 15:38 ` Dr Marco Luchini
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox