[3034] in testers
Re: sgi [8.0C]: rc scripts, track subscriptionlist
daemon@ATHENA.MIT.EDU (Greg Hudson)
Fri Jul 26 13:35:17 1996
To: John Hawkinson <jhawk@MIT.EDU>
Cc: Jonathon Weiss <jweiss@MIT.EDU>, testers@MIT.EDU
In-Reply-To: Your message of "Fri, 26 Jul 1996 11:39:56 EDT."
<199607261539.LAA05237@planet-zorp.MIT.EDU>
Date: Fri, 26 Jul 1996 13:35:08 EDT
From: Greg Hudson <ghudson@MIT.EDU>
> It's probably a good idea for everything in /etc/rc?.d to be tracked
> local. It makes life easier when you've got the machine in single
> user mode and are trying to do something weird/get something working
> and don't have AFS, etc., etc.
I discussed this with Craig. Tracking the symlinks local would, of
course, turn the services on. What you'd like to do is rename the
files to start with s instead of S (the standard way of turning off
services in /etc/rc?.d). Right now on Solaris, we just put the
undesired symlinks in the exception list for /etc/rc2.d in the
subscription list, so the symlinks aren't copied at all. (rc2.d
itself doesn't appear to be on the exception list for /etc; I'm not
sure how that works out.)
I just realized that we can use track to rename files; we'd have to
add subscription entries like:
/etc/rc2.d/S60lp:/etc/rc2.d/s60lp:::
/etc/rc2.d/S61bsdlpr:/etc/rc2.d/s61bsdlpr:::
Likewise, if we ever go from track to synctree, we can use synctree's
"map" option to rename such files.