svn commit: r422481 - in head/net/vtun: . files

Mathieu Arnold mat at FreeBSD.org
Fri Sep 23 14:00:53 UTC 2016


Le 23/09/2016 à 15:41, Cy Schubert a écrit :
> In message <ac54e402-804a-3e23-f634-405af30334a4 at FreeBSD.org>, Mathieu 
> Arnold w
> rites:
>> This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
>> --c7grfdndpMfPcMHIt3UsSR9LbJUgMXd9P
>> Content-Type: multipart/mixed; boundary="6J0IIvC3PBLPDsPOGHxj6RaLkide0TXcs";
>>  protected-headers="v1"
>> From: Mathieu Arnold <mat at FreeBSD.org>
>> To: Cy Schubert <cy at FreeBSD.org>, ports-committers at freebsd.org,
>>  svn-ports-all at freebsd.org, svn-ports-head at freebsd.org
>> Message-ID: <ac54e402-804a-3e23-f634-405af30334a4 at FreeBSD.org>
>> Subject: Re: svn commit: r422481 - in head/net/vtun: . files
>> References: <201609200340.u8K3ejdV095689 at repo.freebsd.org>
>> In-Reply-To: <201609200340.u8K3ejdV095689 at repo.freebsd.org>
>>
>> --6J0IIvC3PBLPDsPOGHxj6RaLkide0TXcs
>> Content-Type: text/plain; charset=utf-8
>> Content-Transfer-Encoding: quoted-printable
>>
>> Le 20/09/2016 =C3=A0 05:40, Cy Schubert a =C3=A9crit :
>>> 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 it,
>> I get a:
>>
>> Sep 23 15:06:35 gw vtund[45465]: VTun client ver 3.X 09/21/2016 started
>> 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 initialized
>>
>>
>> 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 
> detect that FreeBD doesn't have a working fork(). Can you try the attached 
> patch?
>
> I know the upline maintainer personally, he used to work at HP with me. 
> 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...

-- 
Mathieu Arnold


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-ports-head/attachments/20160923/d55f1fc4/attachment.sig>


More information about the svn-ports-head mailing list