[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] OpenVPN and chkconfig


  • Subject: Re: [Openvpn-users] OpenVPN and chkconfig
  • From: "Dick St.Peters" <stpeters@xxxxxxxxxxxxx>
  • Date: Fri, 1 Oct 2004 11:09:12 -0400

James Yonan writes:
> Someone on a sourceforge forum suggested that the init script chkconfig 
> ordering parameters should be changed to put OpenVPN ahead of NFS:
> 
> # diff openvpn.orig openvpn
> 6c6
> < # chkconfig: 345 80 30
> ---
> > # chkconfig: 345 24 76
> 
> Does this make sense?  Are there any objective guidelines for setting the 
> chkconfig parms?

It's just a matter of "if A depends on B, a boot should start B before
trying to start A" - i.e., common sense.

The best order can depend on the installation - if NFS is run over an
OpenVPN tunnel, you want OpenVPN first, but if the OpenVPN config
references an NFS-mounted file, you want NFS first.

The latter seems unlikely (and is just asking for trouble).  NFS
across a tunnel is probably much more likely, so having OpenVPN start
first is probably the better default.

I use both OpenVPN and NFS a lot, including NFS across an OpenVPN
tunnel, but I would not make an NFS mount across any kind of tunnel
part of my boot procedure, so I don't worry about the boot order.  My
home and office systems use automount to mount each other.

--
Dick St.Peters, stpeters@xxxxxxxxxxxxx 
Gatekeeper, NetHeaven, Saratoga Springs, NY