On Fri, Apr 27, 2012 at 2:22 PM,  <no-re...@cfengine.com> wrote:
> Forum: CFEngine Help
> Subject: System booting without networking, cfengine hangs
> Author: MauriceMiller
> Link to topic: https://cfengine.com/forum/read.php?3,25740,25740#msg-25740
>
> Is there a way to tell cfengine not to start if there is no networking up 
> without hacking startup script?


What are you trying to solve?

You can configure your boot system to only start CFEngine in run level
3, and not any
earlier.  You can configure your boot system (init.d) to bring up CFEngine AFTER
network services are started.

You can also configure CFEngine to abort under certain conditions
(such as "/etc/init.d/network status" returns "stopped").

When I don't have networking up but still want to play with CFEngine,
I make sure
to set hosts in /etc/nsswitch.conf to files only, so CFEngine won't
waste my time
trying to do DNS lookups.

Does any of that help?

If not, could you tell us more about what you are trying to do?

Best,
-at
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to