From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,bef1953c88e11e X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-07-12 06:35:39 PST Newsgroups: comp.unix.osf.osf1 Path: gmd.de!xlink.net!howland.reston.ans.net!darwin.sura.net!haven.umd.edu!uunet!pipex!warwick!uknet!doc.ic.ac.uk!cc.ic.ac.uk!news.cc.ic.ac.uk!luchini From: luchini@ic.ac.uk (Dr Marco Luchini) Subject: Re: Exporting /usr Message-ID: In-reply-to: norm@godel.une.edu.au's message of 10 Jul 93 08:09:30 GMT Nntp-Posting-Host: femto.ma Organization: Department of Mathematics, Imperial College, London, SW7 2BZ, UK References: <1293@grivel.une.edu.au> Date: 12 Jul 93 12:40:08 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 -------------------------------------------------------------------------