Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Fabio Erculiani <lxnay@g.o>
Subject: Re: We need *you* for a USE="selinux" dependency
Date: Sun, 4 Dec 2011 23:10:17 +0100
On Sun, Dec 4, 2011 at 9:35 PM, Sven Vermeulen <swift@g.o> 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, Portage
> labels the files on the system (which would get wrong labels if the module
> isn't installed yet[1]). Also, DEPEND isn't sufficient due to binary package
> support requirements.
>
>
> Wkr,
>        Sven Vermeulen
>
> [1] I am aware that Portage currently installs RDEPEND before the package
>    itself, but that might change in the future and other package managers might
>    exhibit different behavior.
>

I haven't really understood what you mean with RDEPENDs being scheduled "after".
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.

-- 
Fabio Erculiani
http://lxnay.com


Replies:
Re: We need *you* for a USE="selinux" dependency
-- Rich Freeman
Re: We need *you* for a USE="selinux" dependency
-- Brian Harring
References:
We need *you* for a USE="selinux" dependency
-- Sven Vermeulen
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: We need *you* for a USE="selinux" dependency
Next by thread:
Re: We need *you* for a USE="selinux" dependency
Previous by date:
Re: user management mitigation
Next by date:
Re: We need *you* for a USE="selinux" dependency


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.