From owner-freebsd-hackers@freebsd.org Thu Sep 7 06:54:53 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 1BEC6E0BC75 for ; Thu, 7 Sep 2017 06:54:53 +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 A381B80078 for ; Thu, 7 Sep 2017 06:54:52 +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 B6ABE9C945 for ; Thu, 7 Sep 2017 06:55:38 +0000 (UTC) Received: from [192.168.43.173] (localhost [127.0.0.1]) (Authenticated sender: auryn@zirakzigil.org) by mx1.etoilesoft.fr (Postfix) with ESMTPA id 7E9C39C944 for ; Thu, 7 Sep 2017 06:55:38 +0000 (UTC) Subject: Re: devd in jail To: freebsd-hackers@freebsd.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> From: Giulio Ferro Message-ID: Date: Thu, 7 Sep 2017 08:54:45 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20170906221947.Horde.RITHvdc1wVE9v0-3nBavR0Z@webmail.leidinger.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: fr 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: Thu, 07 Sep 2017 06:54:53 -0000 On 06/09/2017 22:19, Alexander Leidinger wrote: > > Quoting Giulio Ferro (from Wed, 6 Sep 2017 > 14:13:52 +0200): > >> Hi Alexander, >> >> I've installed everything after my custom kernel was installed. And >> as I said, it differs from GENERIC only for the addition of VIMAGE >> and bridge. >> >> What I can try to do is installing your patches so to remove the devd >> issue, and see if it starts like this. >> >> Can you point me to patches for 11.1 stable? > > Attached, patch against releng-11.1. Beware, this is not even > compile-tested. And you need the modifications described in a previous > mail for /etc/devfs.rules. > > Bye, > Alexander. > Hi Alexander, I've applied the patch, compiled and install the new kernel. Here's my jail.conf ------------------------------------------------------------ exec.start = "/bin/sh /etc/rc"; exec.stop = "/bin/sh /etc/rc.shutdown"; exec.clean; mount.devfs; devfs_ruleset=1; allow.kmem_access; path = "/usr/home/jails/$name"; xx { host.hostname = "xx.xx.xx"; vnet; vnet.interface = epair0b, epair1b; persist; } ------------------------------------------------------------ But the problem now is that the jail doesn't start, if fact it seems it 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 section, but same result. Should I put it somewhere else?