From owner-freebsd-stable@freebsd.org Tue Apr 24 10:49:48 2018 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 00806F891C7 for ; Tue, 24 Apr 2018 10:49:48 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-it0-x22a.google.com (mail-it0-x22a.google.com [IPv6:2607:f8b0:4001:c0b::22a]) (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 7F21881BE4; Tue, 24 Apr 2018 10:49:47 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: by mail-it0-x22a.google.com with SMTP id x144-v6so12024631itc.0; Tue, 24 Apr 2018 03:49:47 -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=0hKwrOqDAtgIZdD5c0XLIEhdFs+AnVZSIu6jhU4NU80=; b=kdZo0t6ZzDkz6bCTrc71LtmvxrM8FoHqdUMrhY5eaiMRzBlouNrOI02dFa3Kym323Q YS2Jt9mKVYIA4BzzWAYCF7+cbz7nvIYDLXlnaCCY4aQVjwJ51Nbn7TNFODMWoYI+S+2N etFDYsgtC2/7wgkitnnt8u0k9QPvyS/0TlHl8+qMWsPV99+yVzoBNxtkQRbGH7zJvY/O g3PyIochEiuJkMKygfFXSeAMALR9+3xgFNCMJxtLurxHQcnRbzoJDPA6e73aABnnCVbE itHASOM+Ewi1wMl+C4aTtaw0/9H1JwT8nQApcrQvdUi3Pr2waoNOrdnUzri8XL4fmXaJ vWyw== 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=0hKwrOqDAtgIZdD5c0XLIEhdFs+AnVZSIu6jhU4NU80=; b=qu1wfYoNYT2SM5f56501E2TJkFjI72w1J8vHD0aiQTmUMV8aAiBrlUKty8NwQAJQu+ yVYV/Da+qfnYT5QH0b2PNr0uO++H8O6vocuG9lkq1a07jDxyc6mcn2xnvhhtr0eetrYS H1LUOhPsWsWTKgOI/8ZBq+oTmWXlPQ3Cl8bVRZFU/tMYFuby7636e19F1krV9EbGb/+D uHu6ZdlHyKL2ppnMurB5udzN1I3z9FbdC2KqKt1mq9wHAFQNSSLrK72DnGIYROzcehPa UX7t+NljvvVnrfTXLpyo2PMoXfulOuonoq0QpQZmX1Iht4bq+Bgb5LYgPwZbRwS7zVkI TgNg== X-Gm-Message-State: ALQs6tCmq4z4/MYzQTWptiNz882S+K0Uj06Kz7eP9mOg+LlcR1eXIEU+ t5mbVr+9+ItUkQOHH6gleOdabbKw06WxcwHAbSI= X-Google-Smtp-Source: AIpwx4/c3B05Z7ZAVUENLtydeveU2HrYthoyEm4rg4Kch3Ktnl/4skrygehzTcDvbALlBakjKHjF+Pk4q2VDwujFkZs= X-Received: by 2002:a24:245:: with SMTP id 66-v6mr16421041itu.14.1524566986728; Tue, 24 Apr 2018 03:49:46 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a02:6f5e:0:0:0:0:0 with HTTP; Tue, 24 Apr 2018 03:49:46 -0700 (PDT) In-Reply-To: References: <201804232228.w3NMS6UW042861@kx.openedu.org> <20180423224408.GC56778@FreeBSD.org> From: krad Date: Tue, 24 Apr 2018 11:49:46 +0100 Message-ID: Subject: Re: What should do in chrooted environment? To: "O'Connor, Daniel" Cc: Glen Barber , KIRIYAMA Kazuhiko , freebsd-stable Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Apr 2018 10:49:48 -0000 wouldn't it just be easier to do this in a jail, and then all of these little bits would be taken care of? On 24 April 2018 at 01:48, O'Connor, Daniel wrote: > > > > On 24 Apr 2018, at 08:14, Glen Barber wrote: > > I think you might not have the devfs mount in the image. With the paths > > provided above, I think this should fix it: > > > > # mount -t devfs devfs /mnt/dev > > I wonder if it's worth doing a basic sanity check that /dev/null and > /dev/zero look like device nodes. > > I've made this mistake too and it produces some very confusing error > messages :( > > -- > Daniel O'Connor > "The nice thing about standards is that there > are so many of them to choose from." > -- Andrew Tanenbaum > GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >