Control: tag -1 document that HOST-up scrips stop tinc while running
Control: severity -1 minor

Hi Guus,

Am Mittwoch, den 14.05.2014, 14:29 +0200 schrieb Guus Sliepen:
> On Wed, May 14, 2014 at 12:57:22PM +0200, Joachim Breitner wrote:
> 
> > I think I might have found my issue. In /etc/tinc/NETNAME/hosts/HOST-up
> > I have "exim4 -qff" to send out possibly queued mail. Until 1.0.23, that
> > never caused problems.
> > 
> > It seems that in 1.0.24, the HOST-up script is run before the network is
> > actually available and fully set up. This means that exim4 tries to
> > connect the server in vain and waits for rather long timeouts. Only when
> > I "killall exim4" (and the HOST-up script finishes) the tinc tunnel
> > suddenly becomes available.
> 
> All the scripts are run synchronously by tinc, i.e. tinc stops doing
> anything until the script is finished. So if you put anything in the
> scripts that need to access the VPN, you need to make sure those
> commands are run in the background (add an &). This has always been the
> case, I'm not sure why you didn't have problems before.

interesting, and good question why it did not cause problems before.

So while HOST-up scripts are running, tinc does not even transmit data
over the VPN? That is quite different from, say, /etc/network/eth0/up
and should probably at least be documented in the manpage.

Thanks,
Joachim

-- 
Joachim "nomeata" Breitner
Debian Developer
  [email protected] | ICQ# 74513189 | GPG-Keyid: F0FBF51F
  JID: [email protected] | http://people.debian.org/~nomeata

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to