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 1RXKI2-0005Eb-CP for garchives@archives.gentoo.org; Sun, 04 Dec 2011 22:12:07 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E04FF21C117; Sun, 4 Dec 2011 22:11:27 +0000 (UTC) Received: from mail-gy0-f181.google.com (mail-gy0-f181.google.com [209.85.160.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 82E1221C119 for ; Sun, 4 Dec 2011 22:10:18 +0000 (UTC) Received: by ghbg18 with SMTP id g18so4805476ghb.40 for ; Sun, 04 Dec 2011 14:10:18 -0800 (PST) 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 Received: by 10.236.85.174 with SMTP id u34mr8004039yhe.28.1323036617924; Sun, 04 Dec 2011 14:10:17 -0800 (PST) Sender: lxnay@sabayonlinux.org Received: by 10.236.111.3 with HTTP; Sun, 4 Dec 2011 14:10:17 -0800 (PST) In-Reply-To: <20111204203550.GA20891@gentoo.org> References: <20111204203550.GA20891@gentoo.org> Date: Sun, 4 Dec 2011 23:10:17 +0100 X-Google-Sender-Auth: 4_nUZxDPf20pbzsz3bjDh4rY5SM Message-ID: Subject: Re: [gentoo-dev] We need *you* for a USE="selinux" dependency From: Fabio Erculiani To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: a7e54169-c429-4fc7-8ba8-012c4cedf4bb X-Archives-Hash: b78870004a54cbbcec4440562b758422 On Sun, Dec 4, 2011 at 9:35 PM, Sven Vermeulen wrote: > [...] > The dependency must be on both levels, because the SELinux module must be > installed before the package is installed (and in theory, RDEPEND could > trigger an installation afterwards): during the installation phase, Porta= ge > labels the files on the system (which would get wrong labels if the modul= e > isn't installed yet[1]). Also, DEPEND isn't sufficient due to binary pack= age > support requirements. > > > Wkr, > =C2=A0 =C2=A0 =C2=A0 =C2=A0Sven Vermeulen > > [1] I am aware that Portage currently installs RDEPEND before the package > =C2=A0 =C2=A0itself, but that might change in the future and other packag= e managers might > =C2=A0 =C2=A0exhibit different behavior. > I haven't really understood what you mean with RDEPENDs being scheduled "af= ter". RDEPEND must be always scheduled before the pkg requiring it, changing this behaviour would have disruptive effects on all the PMS out there (OTOH I think I haven't gotten the point actually?). I guess portage may schedule it in arbitrary order if the RDEPEND dep itself is satisfied already (this would mean that you explicitly pulled it in), and this is the only case I can think of. If you need to schedule a dep install at some point, you should rather use PDEPEND, but if the same is required earlier in the schedule, well, you're flooked. --=20 Fabio Erculiani http://lxnay.com