From owner-freebsd-hackers@freebsd.org Sat Sep 9 13:03:50 2017 Return-Path: Delivered-To: freebsd-hackers@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 B5382E15778 for ; Sat, 9 Sep 2017 13:03:50 +0000 (UTC) (envelope-from Alexander@leidinger.net) Received: from mailgate.Leidinger.net (mailgate.leidinger.net [IPv6:2a00:1828:2000:375::1:5]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4B8C86870F for ; Sat, 9 Sep 2017 13:03:50 +0000 (UTC) (envelope-from Alexander@leidinger.net) Date: Sat, 09 Sep 2017 15:03:35 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=leidinger.net; s=outgoing-alex; t=1504962226; bh=A6OInNNtKjhiwksNoxJNRPvSuMyYIoiTCoZnLxU2p84=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=Ywgwc1r+6TogaRLrpwmjx/mSctTZ5SFHsH67y92oiRN2YjJoCq6nPNbfi6FJP6T88 Geenwh2GSHTLLR2fPtcbWkmVY3zQiqNPJLNLqEBRfL8vfUAgBanbBoUCWThodhBXGD qWODnzIybuOShWb/niz2ohCQ5EsfYOtYlRLWNVmdu0/3G9uxMyNag2vvyLXUrcuRGk zHccY9ycxptGEJL/KepkveRO5Dc9WtlugB38epT8a26yw0/Nk8YFREBwX2DUp5EyIf F9vNcpeDjuiA00DGual1IfAvujF3ADBwmkvq4ME34v7P1R1Jk7i0Jq/kcUnOdn3xG4 YXSx8kc1Skg9w== Message-ID: <20170909150335.Horde.wBLIPwBuhV3lyQlBxKud39f@webmail.leidinger.net> From: Alexander Leidinger To: Giulio Ferro Cc: freebsd-hackers@freebsd.org Subject: Re: devd in jail References: <20170810225439.Horde.1s8Qi_dlNtxgEigsNKbdrer@webmail.leidinger.net> <4a1a99a5-35ea-19c9-7ac8-77875ac6f71f@zirakzigil.org> <20170905151537.Horde.10cHNOX1OVri7mGaUcDeX1l@webmail.leidinger.net> <7ca865ee-b613-2f0c-daf0-d828884b5e74@zirakzigil.org> <1C181EF2-B8B1-4F42-BF80-ABEA0593DD43@dsl-only.net> <20170906122556.Horde.5OdDwtii7HXPNArY77YUyBi@webmail.leidinger.net> <20170906221947.Horde.RITHvdc1wVE9v0-3nBavR0Z@webmail.leidinger.net> In-Reply-To: User-Agent: Horde Application Framework 5 Content-Type: multipart/signed; boundary="=_14Pv1yrjtMyG8jTArdSSw8E"; protocol="application/pgp-signature"; micalg=pgp-sha1 MIME-Version: 1.0 X-Mailman-Approved-At: Sat, 09 Sep 2017 14:57:01 +0000 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Sep 2017 13:03:50 -0000 This message is in MIME format and has been PGP signed. --=_14Pv1yrjtMyG8jTArdSSw8E Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoting Giulio Ferro (from Thu, 7 Sep 2017=20=20 08:54:45=20+0200): > I've applied the patch, compiled and install the new kernel. > > > Here's my jail.conf [jail.conf] > But the problem now is that the jail doesn't start, if fact it seems=20= =20 >=20it doesn't recognise the parameter: > > > # /etc/rc.d/jail start > Starting jails:jail: wsj: unknown parameter: allow.kmem_access > > > I've tried both putting it in the general section and in the xx jail=20= =20 >=20section, but same result. > > > Should I put it somewhere else? I don't use jail.conf, I use ezjail or iocage. From my reading of the=20=20 jail-command=20source code, it looks like it should work there if it is=20= =20 OK=20in the kernel (no modification to the source of the jail-command=20=20 necessary).=20This suggests it is not really OK in the kernel. Please run this: strings /boot/kernel/kernel| grep allow.kmem If it doesn't print out "allow.kmem_access", then your kernel doesn't=20=20 contain=20the patch. Bye, Alexander. --=20 http://www.Leidinger.net=20Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF --=_14Pv1yrjtMyG8jTArdSSw8E Content-Type: application/pgp-signature Content-Description: Digitale PGP-Signatur Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJZs+anAAoJEKrxQhqFIICEddoQALdH17E/1rC71z47mAa4wPUc M3+ITKyLRxxtsj3Ncw29KL2lOCeNqWVWW8cDEEd0lgLICrjPc8ph8tlx2D0qob/k Aqvk4R6RdBDjAVKCgQazpUbjeB/H03xdIPPCOj8FOF1qguZZyHrbbAkY1dqyFlr9 i3hXCYiM27FvGyELkxM/HuwqAMDUwbVgOUcv25WDKpD4NMbAwngIXOKpK6qlEihJ uffCUJB+5wsAj6yc8mzF2Xtd/ThwIx3wZcQJpnhRcPadibkSB3Ts6oTAEvv7PxBr B32AzssewhbpOVQ0EDAxSzZjUbkxh7lPjvDMW/jIcEpBtjj4YN4aWDc60T23rN52 WbnkP7NheOu/UIT8QxwfqmB9e2luR6hpR9SATfi01394LTm4UBN++lfxojGjsBdH B8AaZLazXqGGZPJpnsy7FSHWxf51wdibVclJ2O5HeG+bRTj+0iHjYeN+phHCJkKa FbVShwn0zE1Pk4tPhGQzwdkKmuN47ld+rKqYx/J5S+d+0pf3QVpHhuxBBvPTdL0B lVcD5dVYyIcB1z3A6VwRUiqS+OnyJzB+cNu41/pw1gN6QAcb0BEOHvPSoeOYG22d TyIBVZslJWPK2kAU66Y6veINJSKo9xIML0oVKZCFXF1xzdRPrPmP4SIz61rZZTNB /Gxvc33gLPp8K7u68fXq =73Ri -----END PGP SIGNATURE----- --=_14Pv1yrjtMyG8jTArdSSw8E--