Dependency reciprocity : real world problem with httpd and httpd-suexec

Michael Schwendt fedora at wir-sind-cool.org
Thu Sep 9 08:47:01 UTC 2004


On Wed, 8 Sep 2004 09:07:07 +0100, Joe Orton wrote:

> On Wed, Sep 08, 2004 at 12:24:21AM +0300, Ville Skyttä wrote:
> > If PreReq does not "exist" in the sense it used to any more, one such
> > "tool" which supposedly nowadays at least partially replaces/provides
> > that functionality are "context markers" (ie. Requires(pre) and friends
> > if I've understood _that_ correctly).
> > 
> > [1] https://lists.dulug.duke.edu/pipermail/rpm-metadata/2003-October/000095.html
> 
> I thought Requires(pre) and friends are just for dependencies of the
> scripts?

Yes, but since the scriptlets are contained within the same package,
Requires(pre) is the earliest you can get for specifying pre-install
dependencies of the entire package.
 
> Can anyone state definitively (and preferably in plain English), if I
> have in the httpd-suexec subpackage:
> 
> PreReq: httpd
> 
> the files contained in said package will be installed only after the
> %pre script of the httpd package has run?

Whatever package contains above line will be installed after httpd
has been installed. httpd becomes a pre-install requirement.

-- 
Fedora Core release 2 (Tettnang) - Linux 2.6.8-1.521
loadavg: 2.43 2.18 2.26





More information about the fedora-devel-list mailing list