From owner-freebsd-questions@freebsd.org Wed Sep 20 05:51:58 2017 Return-Path: Delivered-To: freebsd-questions@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 D42F5E24501 for ; Wed, 20 Sep 2017 05:51:58 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id B017480F18 for ; Wed, 20 Sep 2017 05:51:58 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id AF26BE24500; Wed, 20 Sep 2017 05:51:58 +0000 (UTC) Delivered-To: questions@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 AEAC0E244FF for ; Wed, 20 Sep 2017 05:51:58 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-io0-x232.google.com (mail-io0-x232.google.com [IPv6:2607:f8b0:4001:c06::232]) (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 72C7880F17 for ; Wed, 20 Sep 2017 05:51:58 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mail-io0-x232.google.com with SMTP id n69so3086633ioi.5 for ; Tue, 19 Sep 2017 22:51:58 -0700 (PDT) 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=KF2kQRMh8sjqQYwZi5QlSCKHE3PZOOyPZOuOXrX5VJM=; b=EF9w2Wf0/YZCr/TVLeCXSXH5YoBcaop31nLAr8wq27x9l8u4rZN7mjAT/fVypi6Jcz eW+8N++dmzTGbgoF4XTqk8B7NyxzkQlaeUq9k/9rExl7tr25byPdmbd01s2cS9xol5qP OXOTnWw/bbKFt1oWClyW9uMBML0p89y81AraW+zOCXCAYrKNhX6RxnkXWoaeY8uIKjga T4XNrBGN8ZiVDfz6BZkwvnhWQLNqOpOXOW4edxrdu6JOCs+8Bc8il0a4ro1PJ8+l+bmW TWS77gTsdBCMgmhm9boXMqcsZrabEXbg+Dt9dqzPh1WCmj0iuhcxFKxnp4nRuU4gtUjn P+sQ== 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=KF2kQRMh8sjqQYwZi5QlSCKHE3PZOOyPZOuOXrX5VJM=; b=gdGWBpa6HXEynSB3+TUWdqKOCF6J2WJ3ApKeTZdEndJF75hAjPugCh3fcFLJ0Fz9LL w/rNSk2GBxjhpDKM0troVOx9gWEpa4pCyYe9ta3RqXRSpa5K7Xlg7cABw85mG8puvpWI cc5tpn0weZmZX4qCgMmT76+dXiG0XP+esolquxtjjwGz5nhIlrpjak2tIpEiBleGC0LW 4gv+/crgJiR895xL2vyQv4OppbHhuJbJe1wWeg694IHAReJ7L4tyJrJjVRdLaJ6fUsGq 9IQz9eVCHOcvUFub/Z2pg5uCBVkhm8AlBsvYsay+LTLkRYeASY1esW0CBdOmb0Hfgn+G KdWg== X-Gm-Message-State: AHPjjUg7juPh7wvbzPO5/RtiAzhW+wUOzvrvloIYCvQME38EwmBUfEIz yZmczL3rnoeVAczwHNsWAfzQLGVTSpjG3UHJNQg= X-Google-Smtp-Source: AOwi7QDsjfH7vOkOQbHjcAnxnLZaOZsgFpytaJzJF5q/hgZob8EUoOjEYaPDAE6lDiHtnFcNiicRiuCfdvL2cGND/HY= X-Received: by 10.107.68.1 with SMTP id r1mr5246222ioa.16.1505886717686; Tue, 19 Sep 2017 22:51:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.145.141 with HTTP; Tue, 19 Sep 2017 22:51:56 -0700 (PDT) In-Reply-To: References: From: Adam Vande More Date: Wed, 20 Sep 2017 00:51:56 -0500 Message-ID: Subject: Re: Mount devfs in a chroot'd environment at boot To: Olivier Cc: Olivier , FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Sep 2017 05:51:58 -0000 On Wed, Sep 20, 2017 at 12:24 AM, Olivier wrote: > Hi, > > I am using FreeRadius as provided in the ports. It has an option to be > chroot'd, but this option is not implemented in the default ports. > > In order to have FreeRadius staring, I need to mount devfs in the > chroot'd environment, at boot, before FreeRadius is started. > > I would prefer to avoid mo0difying /usr/local/etc/rc.d/radiusd (because > any upgrade of the port will overwrite my modifications), so how can I > make something in /etc/rc.conf or /etc/rc.local that will mount devfs > *before* radiusd is started? > man devfs.conf -- Adam