From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SZT6f-0007iL-58 for garchives@archives.gentoo.org; Tue, 29 May 2012 20:33:29 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9E80DE086A; Tue, 29 May 2012 20:33:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 67A51E04F2 for ; Tue, 29 May 2012 20:32:30 +0000 (UTC) Received: from [192.168.26.5] (ip98-164-193-252.oc.oc.cox.net [98.164.193.252]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: zmedico) by smtp.gentoo.org (Postfix) with ESMTPSA id D8D5E1B4060 for ; Tue, 29 May 2012 20:32:29 +0000 (UTC) Message-ID: <4FC5325D.10609@gentoo.org> Date: Tue, 29 May 2012 13:32:29 -0700 From: Zac Medico User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:12.0) Gecko/20120506 Thunderbird/12.0.1 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 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] RFC: Enable FEATURES="userpriv usersandbox" by default? References: <4FC3EF5E.90900@gentoo.org> <2427126.RJoLmidFFQ@devil> <4FC49144.7010605@gentoo.org> <20120529161123.772e18af@pomiocik.lan> In-Reply-To: <20120529161123.772e18af@pomiocik.lan> X-Enigmail-Version: 1.5pre Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 5d6973ad-e7c9-4c36-b6fb-c2a988374733 X-Archives-Hash: a9653e5d5d5eced6b99f22af14c66402 On 05/29/2012 07:11 AM, Micha=C5=82 G=C3=B3rny wrote: > On Tue, 29 May 2012 02:05:08 -0700 > Zac Medico wrote: >=20 >> On 05/29/2012 01:43 AM, Agostino Sarubbo wrote: >>> I'm using usersync since a long time, how about add it too? >> >> Yeah, I think that would be a good default too. I guess the portage >> ebuild can do a recursive adjustment of $PORTDIR permissions in >> pkg_postinst, in order to solve bug #277970 [1]. >=20 > Wouldn't that break users who sync using a regular user? No, because the "usersync" feature causes the rsync process to inherit the UID and GID of the PORTDIR directory (obtained using the stat functio= n). > And then break > again, and again every time portage is merged? No, I would not want to trigger an relatively expensive operation like this more that once. So, it would only be triggered in pkg_postinst if the replaced version of portage did not have usersync enabled by default. --=20 Thanks, Zac