From owner-freebsd-hackers@freebsd.org Tue Sep 12 07:51:03 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 528EDE1FAA8 for ; Tue, 12 Sep 2017 07:51:03 +0000 (UTC) (envelope-from auryn@zirakzigil.org) Received: from mx1.etoilesoft.fr (mx1.etoilesoft.fr [52.57.51.18]) by mx1.freebsd.org (Postfix) with ESMTP id 14019665DF for ; Tue, 12 Sep 2017 07:51:02 +0000 (UTC) (envelope-from auryn@zirakzigil.org) Received: from mx1.etoilesoft.fr (localhost [127.0.0.1]) by mx1.etoilesoft.fr (Postfix) with ESMTP id C2B979C945; Tue, 12 Sep 2017 07:51:55 +0000 (UTC) Received: from [192.168.43.15] (localhost [127.0.0.1]) (Authenticated sender: auryn@zirakzigil.org) by mx1.etoilesoft.fr (Postfix) with ESMTPA id 96EEC9C944; Tue, 12 Sep 2017 07:51:55 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: devd in jail From: Giulio Ferro X-Mailer: iPhone Mail (14G60) In-Reply-To: <20170911161253.Horde.vawLu00EtbbHOVeJRXjp7N0@webmail.leidinger.net> Date: Tue, 12 Sep 2017 09:50:54 +0200 Cc: freebsd-hackers@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <3236AD55-0D14-49A5-B5B9-3147A216D8A5@zirakzigil.org> 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> <20170909150335.Horde.wBLIPwBuhV3lyQlBxKud39f@webmail.leidinger.net> <27e72cfb-54cf-4af8-b569-85fff089c45f@zirakzigil.org> <20170911161253.Horde.vawLu00EtbbHOVeJRXjp7N0@webmail.leidinger.net> To: Alexander Leidinger X-Virus-Scanned: ClamAV using ClamSMTP 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: Tue, 12 Sep 2017 07:51:03 -0000 Hi Alexander, I don't know how to set your parameter in old style jails in rc.conf In there, new parameters are mapped to old style jail_xxx entries, but there= are none for your parameter unless I'm mistaken. Can you please tell me exactly what I should put in rc.conf? I've already mo= ved the jail.conf file Thanks. Giulio=20 > Il giorno 11 set 2017, alle ore 16:12, Alexander Leidinger ha scritto: >=20 > Quoting Giulio Ferro (from Mon, 11 Sep 2017 06:42:0= 1 +0200): >=20 >>> On 09/09/2017 15:03, Alexander Leidinger wrote: >>> Please run this: >>> strings /boot/kernel/kernel| grep allow.kmem >>>=20 >>> If it doesn't print out "allow.kmem_access", then your kernel doesn't co= ntain the patch. >>>=20 >>> Bye, >>> Alexander. >>>=20 >>=20 >> # strings /boot/kernel/kernel | grep allow.kmem >> allow.kmem_access >>=20 >> So it seems the kernel is ok... >>=20 >>=20 >> Maybe I can set this value at boot in /boot/loader.conf? >=20 > No, this is not a loader.conf setting. >=20 > Can you try to use "old style" jail config =3D settings in rc.conf instead= of using jail.conf on a test system? It may be that you need to move away t= he jail.conf temporary, I haven't checked what takes precedence when both (r= c.conf and jail.conf) settings are there. >=20 > Bye, > Alexander. >=20 > --=20 > http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF > http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF