pkg: Cannot open /dev/null:No such file or directory
Rodney W. Grimes
freebsd-rwg at gndrsh.dnsmgr.net
Tue Jun 4 15:54:07 UTC 2019
> 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 at freebsd.org
More information about the freebsd-current
mailing list