From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DD0B11381F3 for ; Fri, 12 Apr 2013 19:55:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 12A1FE09F8; Fri, 12 Apr 2013 19:55:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1F387E08F4 for ; Fri, 12 Apr 2013 19:55:10 +0000 (UTC) Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 4ED6E33DB86 for ; Fri, 12 Apr 2013 19:55:09 +0000 (UTC) From: Mike Frysinger Organization: wh0rd.org To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] glibc: pt_chown setuid going away by default Date: Fri, 12 Apr 2013 15:56:39 -0400 User-Agent: KMail/1.13.7 (Linux/3.8.3; KDE/4.6.5; x86_64; ; ) References: <201304100115.53431.vapier@gentoo.org> <201304121222.36527.vapier@gentoo.org> In-Reply-To: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4323622.WznFmcV9jJ"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201304121556.40416.vapier@gentoo.org> X-Archives-Salt: 399e12cb-4a11-432c-ac50-d73f448d3b5e X-Archives-Hash: 1eeeb1217b8a6428e5ef3b5bed89b1f4 --nextPart4323622.WznFmcV9jJ Content-Type: Text/Plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable On Friday 12 April 2013 13:20:11 Maxim Kammerer wrote: > On Fri, Apr 12, 2013 at 7:22 PM, Mike Frysinger 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. >=20 > 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 =97 what's the point of dying in pkg_preinst? unless you have a good reason for having the host devpts being mounted wron= g,=20 i'm not inclined to support this. every major distro that matters that i k= now=20 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 tha= t's=20 just a bonus. =2Dmike --nextPart4323622.WznFmcV9jJ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iQIcBAABAgAGBQJRaGb4AAoJEEFjO5/oN/WBVgIP/3XcW6dZYpt2ysYkI6FjSM3v 8N+nRrKpV4d4VwnwOYXYmnM29j3ApZq9Hp4CyFcX9r9zJrXFYXu/5pNFCvBz9+42 wkumtNgF0jggvPBXHsv29mX4ZJUmlck2w3WVVghRi54nQL3QOiwaC4zUkijwQvaL k8bxGA4d7wgTqyDfCjYLNY21VubVA7LnXu93LFK8wy4f6WmVsBvgssaLnQ+JEq7c yoNcItw3+0YYS9sRKId73ROGf4jVHWeAhC7uSVSirTRvKg3/qFEQZd0tfU2E9ljF XddVFxyEleQXbXWiC03xXPsC4nj9XMsmpuEKyDOQl/B/21a+BzbwPtn+731JbRIf jsHfTjKffQbYX6Vdg5Ksu95y9z1SzTFSPJsbtiwJfIWZkvj3b8ExeJBjg05XFtia nTukW3Dz0n5fZ71BCaCWFA+LYl3XuLXQhMq0c6lTa2qRBJ/sGJ7y2XLQ+VCXIr3A T8/HJ/aonG7QD5iA7DN6w9maMR9l1Z0BEuRe5tJ4ki8DRCzV1TXLjfolXD+cUrS+ Q1Vduhx6YiWO2tPGWbu6jLvyFzq3jAFMfu7MTQR6zMIvKMN049lj7nAXpYBDhhls HklUeyqHy2tDlH22FAzd0uydpxEa6s8v9sDr64IhPK09lEHX5Pz6VhDe4krHKj5V 7YEpgSzBjXnB45H4MJiX =YnFf -----END PGP SIGNATURE----- --nextPart4323622.WznFmcV9jJ--