On Friday 12 April 2013 13:20:11 Maxim Kammerer wrote: > 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?
unless you have a good reason for having the host devpts being mounted wrong, i'm not inclined to support this. every major distro that matters that i know of does it this way and has for a long time: Debian, Ubuntu, Fedora, Gentoo. if it encourages people to fix their host distro to also not suck, well that's just a bonus. -mike
signature.asc
Description: This is a digitally signed message part.