Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Sep 2016 16:00:50 +0200
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        Cy Schubert <Cy.Schubert@komquats.com>
Cc:        Cy Schubert <cy@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r422481 - in head/net/vtun: . files
Message-ID:  <9588cc9e-e251-0b11-41b6-79834f4fc10f@FreeBSD.org>
In-Reply-To: <201609231341.u8NDfMNw032591@slippy.cwsent.com>
References:  <201609231341.u8NDfMNw032591@slippy.cwsent.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--qhTSI8vI8x0ePpTJP573ktgl3DoXd5hA7
Content-Type: multipart/mixed; boundary="qHNXMIWv2UB1ICWkQ5wS3jcvUM3goOgXH";
 protected-headers="v1"
From: Mathieu Arnold <mat@FreeBSD.org>
To: Cy Schubert <Cy.Schubert@komquats.com>
Cc: Cy Schubert <cy@FreeBSD.org>, ports-committers@freebsd.org,
 svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Message-ID: <9588cc9e-e251-0b11-41b6-79834f4fc10f@FreeBSD.org>
Subject: Re: svn commit: r422481 - in head/net/vtun: . files
References: <201609231341.u8NDfMNw032591@slippy.cwsent.com>
In-Reply-To: <201609231341.u8NDfMNw032591@slippy.cwsent.com>

--qHNXMIWv2UB1ICWkQ5wS3jcvUM3goOgXH
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Le 23/09/2016 =C3=A0 15:41, Cy Schubert a =C3=A9crit :
> In message <ac54e402-804a-3e23-f634-405af30334a4@FreeBSD.org>, Mathieu =

> Arnold w
> rites:
>> This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
>> --c7grfdndpMfPcMHIt3UsSR9LbJUgMXd9P
>> Content-Type: multipart/mixed; boundary=3D"6J0IIvC3PBLPDsPOGHxj6RaLkid=
e0TXcs";
>>  protected-headers=3D"v1"
>> From: Mathieu Arnold <mat@FreeBSD.org>
>> To: Cy Schubert <cy@FreeBSD.org>, ports-committers@freebsd.org,
>>  svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
>> Message-ID: <ac54e402-804a-3e23-f634-405af30334a4@FreeBSD.org>
>> Subject: Re: svn commit: r422481 - in head/net/vtun: . files
>> References: <201609200340.u8K3ejdV095689@repo.freebsd.org>
>> In-Reply-To: <201609200340.u8K3ejdV095689@repo.freebsd.org>
>>
>> --6J0IIvC3PBLPDsPOGHxj6RaLkide0TXcs
>> Content-Type: text/plain; charset=3Dutf-8
>> Content-Transfer-Encoding: quoted-printable
>>
>> Le 20/09/2016 =3DC3=3DA0 05:40, Cy Schubert a =3DC3=3DA9crit :
>>> Author: cy
>>> Date: Tue Sep 20 03:40:45 2016
>>> New Revision: 422481
>>> URL: https://svnweb.freebsd.org/changeset/ports/422481
>>>
>>> Log:
>>>   Document the previous -z and the new -e command line options.
>>>
>> I don't know which of this commit broke vtund, but now, when I start i=
t,
>> I get a:
>>
>> Sep 23 15:06:35 gw vtund[45465]: VTun client ver 3.X 09/21/2016 starte=
d
>> Sep 23 15:06:35 gw vtund[45465]: Connecting to 1.2.3.4
>> Sep 23 15:06:35 gw vtund[45465]: Remote Server sends <TuL5KE1> .
>> Sep 23 15:06:35 gw vtund[45465]: Session name[1.2.3.4] opened
>> Sep 23 15:06:35 gw vtund[45465]: Couldn't run up commands: fork() not
>> available
>> Sep 23 15:06:35 gw vtund[45465]: LZO compression[level 5] initialized
>> Sep 23 15:06:35 gw vtund[45465]: Blowfish-128-ECB encryption initializ=
ed
>>
>>
>> see the fork() not available thing ?
>>
>>
>> So, it stops there, and does not establish a tunnel.
> Just had a quick look at it before heading off to $JOB. It appears to=20
> detect that FreeBD doesn't have a working fork(). Can you try the attac=
hed=20
> patch?
>
> I know the upline maintainer personally, he used to work at HP with me.=
=20
> I'll pass this on to him.

Mmmm, it doesn't work with HAVE_WORKING_VFORK, but it does with
HAVE_WORKING_FORK.  It seems vfork is only used for daemonizing itself,
and not for the few other needs to fork vtun has.

It is strange, the configure script does not try to see if fork or vfork
works, it seems the fact that it is working has to be provided
manually.  It is a problem because it won't run any script or daemonize
itself if it can't fork...

--=20
Mathieu Arnold



--qHNXMIWv2UB1ICWkQ5wS3jcvUM3goOgXH--

--qhTSI8vI8x0ePpTJP573ktgl3DoXd5hA7
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQJ8BAEBCgBmBQJX5TWTXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzQUI2OTc4OUQyRUQxMjEwNjQ0MEJBNUIz
QTQ1MTZGMzUxODNDRTQ4AAoJEDpFFvNRg85I6+kP/0ycq4BDcWGiDrTBTAJUP31H
+j+FIfvJblUfzC0T4PhZMX2PpJ+ObmPvfwc6Mi/MwFDpwz2WhP3UQwmhrWRHoRoP
rX3RaeBGoib02QGi0Kea08vGx74mBvTOKlbJcb0iN31C+kVRvSq8Ii/G7cMzxXgN
KAcHZoJ5dK+X1570L8/4Yv3Q5uJM6+i8yW6RYKRT3rlehujHKdldxv5V5Dr5y1W7
lV4l61g9w+41LPMJTtsD+OyvGAkru/3MiL3oFU1uRHwqg19AEGCxD+fXqi77d2S/
0f5g4xuiigMyWOCLrwKMeHiDq/bcGlt1UQWgmEPE2KZ9K315lJmD3UMhgR94kTMw
7Yg5jHWsmydfMY3L/7yeqMpHamQ5MAAt8wWTd4bVnDN+U0riKIQHAfmxt6kkF49i
zcjEkJhjkRqnEJIddvnYYoJ2C0ffDR7t1Rkvb9GsvEqEKIVDIWvccDX7JyLnVdJi
ZC7LlqIZv8D4yLmUAsbco2PBWoS/o9kqF5j3fYm/y4G/aW5aVAm8MNn/VJp/aC8E
9J6RF83/5XrcwKp6eorxhXtWCoi9kkwLKmQ/FYQvcIZDl6ExuBAMhQd7BPUpWt2g
eeqVqNch235iBFTDq02sv9yUNkrq0t1BVfmmois6YplutXXV/gyLiHA/wzdzribI
VypdthHr7TUZd6vDEGM9
=vQOl
-----END PGP SIGNATURE-----

--qhTSI8vI8x0ePpTJP573ktgl3DoXd5hA7--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9588cc9e-e251-0b11-41b6-79834f4fc10f>