From owner-freebsd-current@freebsd.org Thu Nov 16 13:49:28 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 61A2EDDE60D; Thu, 16 Nov 2017 13:49:28 +0000 (UTC) (envelope-from matpockuh@gmail.com) Received: from mail-io0-x22f.google.com (mail-io0-x22f.google.com [IPv6:2607:f8b0:4001:c06::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 254857B89F; Thu, 16 Nov 2017 13:49:28 +0000 (UTC) (envelope-from matpockuh@gmail.com) Received: by mail-io0-x22f.google.com with SMTP id t11so5262200iof.13; Thu, 16 Nov 2017 05:49:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=QxX1IWEo34Bi6Y3stIKVfla02/evWPtJlT3BqgXvYmY=; b=EB21a3P11WFnbdCnyfuM3JeuVaRv21zr1cVbeSZvJskrbRIx+lxtrZC70nhDyI/PXQ k6d0qLAGOZo3nyLyYQxlx8tz6W7VKZzXT2EnIwag0klplWa3/uugzENh+MDQLUPW0del XphAL+Wuaml1Ob+/CPWdFjSU+CMrh3RdmqrQJyA3Xi9fp04HoVW3qIx8ndzbhPNavV59 LU4OGY0zl/ko0qe5irCUS4XgMChGOqTHZYyBQZAUSsfRg5hHSg8ALIxRB3OMRzWD88+X 8bDdvMBYzHzoFCJTEEWdRLWjAC1CBLnxUFqqDOe7J1uXs7QBQIkysE4bHs9g0VaYfbiH bQvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=QxX1IWEo34Bi6Y3stIKVfla02/evWPtJlT3BqgXvYmY=; b=ky1I7tSzHQ0b+lE0kUq9/eZkMalytiAeLQTi1wYswth8pmVtG/+D8VW3qqy1BXWmFb xDB32PMoU+Do5V+t38wGzsSFhnrWIopV7Xo2xMAr373KbaKDIYgjpUnUthcQm0fXmTtg gcXHnBx4gZnPLj6MRxN1MBaBGHedSt/KExT+Jqmozgd/rJNY9lCAa9Ix9uobTkKF0x/Z mF0SaQzeeYIk09KX34VujsBnxhKOBJwCIEGUucpZMtgXp4wmw96re66Fi1+Uf+ryyrOt hgjCzrVkNlaPZPRsVANvSvlaJOs5LhZ8mnhPcigNQ+7iEwYxXugHJPkRdaJW1Em85+9D VuvA== X-Gm-Message-State: AJaThX6k1MxL1D48Gjtdsdg6fiRCPfifcjEmyQnp+0VzSvmIEQjHpgvS HlEMKRIjXqyxsjhFbfRYVNVmm+fAicpOv7ZwNF7LKA== X-Google-Smtp-Source: AGs4zMayzQc+xwn0I+/5dgP6yLYhlzB0aKWdRYPuSlq7gqZnLVp+h53V1vfX5k5Un+5gLqsu5rYvDEYjD2ESRQpcfZs= X-Received: by 10.107.8.32 with SMTP id 32mr1721134ioi.200.1510840166934; Thu, 16 Nov 2017 05:49:26 -0800 (PST) MIME-Version: 1.0 Received: by 10.2.73.26 with HTTP; Thu, 16 Nov 2017 05:49:26 -0800 (PST) In-Reply-To: <02259035-2DA5-49CF-AEC0-15CC123E9FD4@sigsegv.be> References: <20171009072547.jauim6tlfennydf5@hal9000.meka.no-ip.org> <6D37D4AC-9DF4-4D55-8614-43CFC6BDD45E@sigsegv.be> <20171011192826.xkscmrovch3g7gni@thinker.meka.no-ip.org> <02259035-2DA5-49CF-AEC0-15CC123E9FD4@sigsegv.be> From: KOT MATPOCKuH Date: Thu, 16 Nov 2017 16:49:26 +0300 Message-ID: Subject: Re: VNET jail and dhclient To: Kristof Provost Cc: =?UTF-8?B?R29yYW4gTWVracSH?= , Oleg Ginzburg , FreeBSD Current , freebsd-jail@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Nov 2017 13:49:28 -0000 dhclient called very simple: jail# dhclient epair71b.71 chroot exiting. jail# echo $? 1 I'm running 12.0-CURRENT r325051 and: # sysctl kern.chroot_allow_open_directories kern.chroot_allow_open_directories: 1 And I found some another workaround: # dhclient -p /var/empty/pid epair71b.71 Cannot open or create pidfile: Operation not permitted DHCPDISCOVER on epair71b.71 to 255.255.255.255 port 67 interval 6 2017-11-16 16:07 GMT+03:00 Kristof Provost : > On 16 Nov 2017, at 14:04, KOT MATPOCKuH wrote: > > Hello, all! > > I'm got same problem... > > Can you show how you call dhclient? What FreeBSD version are you running? > > What=E2=80=99s the output of sysctl kern.chroot_allow_open_directories? > > Regards, > Kristof > --=20 MATPOCKuH