Date: Tue, 4 Jun 2019 08:54:03 -0700 (PDT) From: "Rodney W. Grimes" <freebsd-rwg@gndrsh.dnsmgr.net> To: Matthew Seaman <matthew@freebsd.org> Cc: freebsd-current@freebsd.org Subject: Re: pkg: Cannot open /dev/null:No such file or directory Message-ID: <201906041554.x54Fs3wt048523@gndrsh.dnsmgr.net> In-Reply-To: <6438ffc1-437b-e177-475d-fed8fb12d9c9@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 04/06/2019 06:32, O. Hartmann wrote: > > As far as I know,, the package installation is performed via "chroot'ed" > > environment and somehow /dev/null is out of a sudden not accessible anymore > > while pkg tries to delegate some output to /dev/null. > > Assuming you're chroot'd to /chroot, then: > > mount -t devfs devfs /chroot/dev Perhaps it is time to update the documentation in chroot(8) to at least provide a pointer to the fact you now need to do either the above, or somehow populate a /chroot/dev directory? Can you even still statically create device nodes and have that work, or is that now totally imposible with the full conversion to devfs? > should allow pkg(8) to work as usual. > > Cheers, > > Matthew -- Rod Grimes rgrimes@freebsd.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906041554.x54Fs3wt048523>