undoubtedly a simple question, but a friend asked me about this
yesterday, and threw a wrinkle into it. (i'm running on fedora 30
branched but that should make no difference.)
if i ask for the package dependencies of, say, httpd, among
everything else, i get the line:
config(httpd) = 2.4.38-4.fc30
i've always interpreted that as, "a proper install of httpd requires
all of its corresponding config files installed," and i've known for a
while that one can list the config files of any installed package
with:
$ rpm -qc httpd
/etc/httpd/conf.d/autoindex.conf
/etc/httpd/conf.d/userdir.conf
/etc/httpd/conf.d/welcome.conf
/etc/httpd/conf.modules.d/00-base.conf
/etc/httpd/conf.modules.d/00-dav.conf
/etc/httpd/conf.modules.d/00-lua.conf
/etc/httpd/conf.modules.d/00-mpm.conf
/etc/httpd/conf.modules.d/00-optional.conf
/etc/httpd/conf.modules.d/00-proxy.conf
/etc/httpd/conf.modules.d/00-systemd.conf
/etc/httpd/conf.modules.d/01-cgi.conf
/etc/httpd/conf/httpd.conf
/etc/httpd/conf/magic
/etc/logrotate.d/httpd
/etc/sysconfig/htcacheclean
$
is that what the above dependency refers to? that httpd has, as
dependencies, its own config files as displayed by "rpm -qc"? if it
doesn't, i've been confused all this time, but that's not the wrinkle.
said friend then asked, "can a package have, as a dependency, the
config files of some *other* package?" i had to think about that, and
admitted i wasn't sure, as that sounded like a strange dependency, as
i would think the first package would simply depend on the second
package in its entirety, not just on its config files, but i wasn't
sure.
thoughts? am i thinking about this the right way, or have i been
mistaken all this time?
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter:
http://twitter.com/rpjday
LinkedIn:
http://ca.linkedin.com/in/rpjday
========================================================================