From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-dev+bounces-59611-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9A8861381F3 for <garchives@archives.gentoo.org>; Fri, 12 Apr 2013 17:20:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A44C3E0B41; Fri, 12 Apr 2013 17:20:43 +0000 (UTC) Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 92A00E0B3A for <gentoo-dev@lists.gentoo.org>; Fri, 12 Apr 2013 17:20:42 +0000 (UTC) Received: by mail-wi0-f176.google.com with SMTP id hm14so1824834wib.15 for <gentoo-dev@lists.gentoo.org>; Fri, 12 Apr 2013 10:20:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dee.su; s=google; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type:content-transfer-encoding; bh=9qZ1yPFh3lb8Ytk2UbvRcF26XbDZLMwK1/T7I+3yymE=; b=ZQmuXgSSLYFBuRIDUmUPSnX2sB/F0vpnx0AXGxkDZhN+Oj4dvkeT09TiflMtpPMEqH 3bc0VeAguk7dlyHpD1wpEHXBNXFC2z/0B4O2J/SHKjj0Rw99fmnjc+LxEpxD+Ky6OsAn wfzoMFYPTJUO1RCVn2YuFZpVOPSuIy+Lmx8uA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type:content-transfer-encoding :x-gm-message-state; bh=9qZ1yPFh3lb8Ytk2UbvRcF26XbDZLMwK1/T7I+3yymE=; b=c1RiYlnkEVdT2NWgELKUKs3jXMdpcfAjcZaGPUOI30L7kiDHIAEbCJuNkBX1d3BP+f SobR4CyoBECG8qhrgtupJgZDKmSS2vDoz/CySpDZVxMsZvap3BtmD5ndCwca759N0uAY NWgBBGY7hwElUb+Kt70jynr8djfCvVukGjm4O2Kjw9496VdOSfzpDTW6CRC5GJIHuxVw 4OOeEV0VYjbi8QZpQDV6xHUUhQuzdfg+MiRVnkOBzL/9gx/ipcH3veIRwUGxxmImOEfb x0N/CB2nJ7+Law9Acwnr1hgC0Yq+RQ1qySMxtKj6/TrQT9WkeCXmQ69kU9vFQVBmHz9S CyKA== X-Received: by 10.194.5.196 with SMTP id u4mr19047039wju.54.1365787241189; Fri, 12 Apr 2013 10:20:41 -0700 (PDT) Precedence: bulk List-Post: <mailto:gentoo-dev@lists.gentoo.org> List-Help: <mailto:gentoo-dev+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org> X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Received: by 10.216.114.134 with HTTP; Fri, 12 Apr 2013 10:20:11 -0700 (PDT) In-Reply-To: <201304121222.36527.vapier@gentoo.org> References: <201304100115.53431.vapier@gentoo.org> <CAHsXYDBxFFPemBKVFsn5_zYd=+prKh0u2hger_FZQnoiZ6L7rQ@mail.gmail.com> <201304121222.36527.vapier@gentoo.org> From: Maxim Kammerer <mk@dee.su> Date: Fri, 12 Apr 2013 20:20:11 +0300 Message-ID: <CAHsXYDAUg4X86nA9Ht28O0wsK=V8TVTsk7BjNXLq9DxzFuoLxQ@mail.gmail.com> Subject: Re: [gentoo-dev] glibc: pt_chown setuid going away by default To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQkPQZBJBgiY1hUg/54E0qnZWcA/rAUcM9bQeweQmj6pqkwFs74RjC1bPhbMB0uii3Txji1c X-Archives-Salt: 60a481f6-5011-4521-a7a1-b5cf1d2adfc7 X-Archives-Hash: 0f8fce5bae8b5f43acc67a543f257565 On Fri, Apr 12, 2013 at 7:22 PM, Mike Frysinger <vapier@gentoo.org> wrote: > i don't know what you mean. if the ebuild detects devpts being mounted a= nd > 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 =97 what's the point of dying in pkg_preinst? -- Maxim Kammerer Libert=E9 Linux: http://dee.su/liberte