On Fri, Apr 12, 2013 at 7:22 PM, Mike Frysinger <vap...@gentoo.org> wrote:
> i don't know what you mean.  if the ebuild detects devpts being mounted and
> the mount is incorrect, it will die.  if you don't have devpts mounted at all,
> then it assumes you know what you're doing.

What I am saying is that you make no distinction between build
environment and deployment environment. Quite a few users build their
Gentoo systems in a chroot. In that case, whole /dev, or its portions
(including /dev/pts) can be bind-mounts from the host filesystem, and
/dev/pts does not need to have the correct permissions. However, you
*would* see such a bind-mount as a devpts mount in /proc/mounts. So
why not print a warning — what's the point of dying in pkg_preinst?

--
Maxim Kammerer
Liberté Linux: http://dee.su/liberte

Reply via email to