Proposal: Consolidate yum directory usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi.

I think the current usage of configuration files and directories
for yum has somewhat gotten out of hand.

yum-3.0.1-1 uses one config file (yum.conf), and two configuration
directories (yum.repos.d and yum, which in turn just contains pluginconf.d)
under /etc.

I propose to move all yum configuration files and directories to
/etc/yum (move /etc/yum.conf to /etc/yum/yum.conf, move /etc/yum.repos.d
to /etc/yum/repos.d). This could easily be done by a %post scriptlet
during an RPM transaction. Symlinks ought to be set (yum.conf -> yum/yum.conf
and yum.repos.d -> yum/repos.d) to keep other packages working which
drop files in yum.repos.d. And there are tons of documents which reference
/etc/yum.conf.

Maybe yum ought to show warnings (after FC7, maybe) when it detects
that /etc/yum.conf or /etc/yum.repos.d still exist (even as symlinks)
and advise the user that usage of these files is deprecated.

If there is interest in this I'll produce patches for the spec file
(to migrate the config) and for yum (to find files in the new locations
and to show deprecation warnings)

-- 
"All men are frauds. The only difference between them is that some
admit it. I myself deny it."  -- H.L. Mencken

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux