1 |
On Friday 12 April 2013 13:20:11 Maxim Kammerer wrote: |
2 |
> On Fri, Apr 12, 2013 at 7:22 PM, Mike Frysinger <vapier@g.o> wrote: |
3 |
> > i don't know what you mean. if the ebuild detects devpts being mounted |
4 |
> > and the mount is incorrect, it will die. if you don't have devpts |
5 |
> > mounted at all, then it assumes you know what you're doing. |
6 |
> |
7 |
> What I am saying is that you make no distinction between build |
8 |
> environment and deployment environment. Quite a few users build their |
9 |
> Gentoo systems in a chroot. In that case, whole /dev, or its portions |
10 |
> (including /dev/pts) can be bind-mounts from the host filesystem, and |
11 |
> /dev/pts does not need to have the correct permissions. However, you |
12 |
> *would* see such a bind-mount as a devpts mount in /proc/mounts. So |
13 |
> why not print a warning — what's the point of dying in pkg_preinst? |
14 |
|
15 |
unless you have a good reason for having the host devpts being mounted wrong, |
16 |
i'm not inclined to support this. every major distro that matters that i know |
17 |
of does it this way and has for a long time: Debian, Ubuntu, Fedora, Gentoo. |
18 |
|
19 |
if it encourages people to fix their host distro to also not suck, well that's |
20 |
just a bonus. |
21 |
-mike |