Subject: Re: ^C in fsck (segue from tech-kern)
To: Geert Hendrickx <ghen@telenet.be>
From: None <tlaronde@polynum.com>
List: tech-userlevel
Date: 04/05/2007 12:53:18
On Thu, Apr 05, 2007 at 12:41:53PM +0200, Geert Hendrickx wrote:
> On Thu, Apr 05, 2007 at 12:34:01PM +0200, tlaronde@polynum.com wrote:
> > To depend on anything critical that is actually used on the system
> > (testing if name == YES or not, at least for system [NetBSD provided]
> > services). And this would mean probably another variable in rc.conf to
> > list the critical services and ensure that whenever the admin changes
> > the services, or add other ones, this is not a forgotten adjustment.
> 
> The following scheme may be simpler:
> 
> postfix=YES
> ntpd=YES
> fsch=CRITICAL
> ...

Problem: how do you handle the defaults in /etc/defaults/rc.conf? Since
a service is whether launched or not, the CRITICAL keyword will not do
for a service that is not launched by default (but may be critical if
used: example ipsec).
-- 
Thierry Laronde (Alceste) <tlaronde +AT+ polynum +dot+ com>
                 http://www.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C