Gentoo Archives: gentoo-dev

From: Maxim Kammerer <mk@×××.su>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] glibc: pt_chown setuid going away by default
Date: Fri, 12 Apr 2013 17:20:49
Message-Id: CAHsXYDAUg4X86nA9Ht28O0wsK=V8TVTsk7BjNXLq9DxzFuoLxQ@mail.gmail.com
In Reply to: Re: [gentoo-dev] glibc: pt_chown setuid going away by default by Mike Frysinger
1 On Fri, Apr 12, 2013 at 7:22 PM, Mike Frysinger <vapier@g.o> wrote:
2 > i don't know what you mean. if the ebuild detects devpts being mounted and
3 > the mount is incorrect, it will die. if you don't have devpts mounted at all,
4 > then it assumes you know what you're doing.
5
6 What I am saying is that you make no distinction between build
7 environment and deployment environment. Quite a few users build their
8 Gentoo systems in a chroot. In that case, whole /dev, or its portions
9 (including /dev/pts) can be bind-mounts from the host filesystem, and
10 /dev/pts does not need to have the correct permissions. However, you
11 *would* see such a bind-mount as a devpts mount in /proc/mounts. So
12 why not print a warning — what's the point of dying in pkg_preinst?
13
14 --
15 Maxim Kammerer
16 Liberté Linux: http://dee.su/liberte

Replies