From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078701111778.tru64-unix-managers.marc@archive.invalid> From: Alan Garde Date: Mon, 30 Mar 1998 16:12:14 +0000 To: tru64-unix-managers Subject: Summary: RIS and dupatch'ing (-root option) X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078701111778 Well, I didn't get any answers but I found my own solution... assuming /patches exists on the ris server and the patches have already = been applied to the patch server (so dupatch is properly installed). (i.e. /patches contains /patches/patch_kit) add /patches to the /etc/exports file so it can be mounted /patches -root=3D0 -ro cp /usr/sbin/dupatch /patches/patch_kit/dupatch2 vi /patches/patch_kit/dupatch2 change line 908 /usr/lbin/fitset / < $_TMP1 to /usr/lbin/fitset $_ROOT < $_TMP1 line 3900 from export _ROOT _SMDB to=20 export _ROOT _SMDB _ALTROOT (this is due to a bug in this version of dupatch... it will install the = patches to a filesystem other than / but it checks for the freespace on = /, it also then tries to install on the remote CD-ROM !!!). the postload file should have these lines added to it: mkdir /var/mnt mount -t nfs c381dsv12003:/patches /var/mnt cp /var/mnt/patch_kit/dupatch2 /mnt/usr/sbin /mnt/usr/sbin/dupatch2 -install -kit /var/mnt/patch_kit -name RIS -note = "RIS install" -patch all=20 = -proceed -root /mnt umount /var/mnt (changing the hostname of the RIS server of course) if you do all that it seems to work fine here!!!!! Alan ---------- From: Garde, Alan Sent: 28 March 1998 11:17 To: 'alpha-osf-managers@ornl.gov' Subject: RIS and dupatch'ing (-root option) Has anyone here had any success using the -root option on the dupatch = supplied with DU 4.0B Jumbo Patch #6? I want to specify an alternative = root (/mnt rather than /) so I can apply the patches during the postload = part of a RIS install. The machine is still effectifely in single user = mode (the dupatch script accepts this as being OK). =20 With the -root /mnt option dupatch correctly looks under /mnt and = verifies what patches it can install. Unfortunately it then does a = /usr/lbin/fitset / in line 908, i.e. checking the "real" root for space = to do that patches rather than looking at the root I specified. This is = a problem since under RIS /var is a memory filesystem so isn't big = enuff... if it looked at my specified root there woule be no problem. = Also, once I hacked this out, it tried to copy to the real /usr/.smdb. = rather than the one under /mnt... again bad since /usr is a CDROM...=20 anyone got this working? Anyone have other ways to install the patches = automagically whilst doing a RIS installation? =20 thanks,=20 Alan Airport Systems Group, EDS=20 1-3 Bartley Wood Business Park, Hook, Hampshire, RG27 9XA Tel: 01256 742629, Fax: 01256 742700 email: alan.garde@transport.uk.eds.com