tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Moving rc.d scripts to base.tgz



Am 14.04.11 14:40, schrieb Julio Merino:
> Hello,
> 
> Every time I run etcupdate and notice differences in the rc.d scripts,
> I can't stop wondering why these binaries are part of etc.tgz (other
> than them being in /etc/).
> 
> The rationale:
> * All the rc.d scripts (with the exception of rc.local) are binaries that 
> should
>   not be changed manually: rc.conf and rc.conf.d exist for a reason.
> * If the scripts must be edited to implement some reasonable configuration
>   change, then we have got a shortcoming in our configuration system that
>   should be addressed.
> * If the scripts do not address someone's preferences, and these cannot be
>   justified as configuration variables... well, this is no different than, 
> say,
>   /etc/cp not fulfilling someone's desires that require local patching of the
>   source tree.
> 
> The proposal: move the rc.d scripts (which include /etc/rc.d/*,
> /etc/rc, /etc/rc.subr and /etc/rc.shutdown, but NOT rc.local) from
> etc.tgz to base.tgz?  The path locations would remain the same.
> 
> Comments?
> 
> Let the bikeshed start.

Make sure that scripts that are not part of NetBSD itself (e.g. startup
scripts for my own apps) are not wiped out during the process.



Home | Main Index | Thread Index | Old Index