Red Hat Bugzilla – Bug 144044
up2date should have source repository directory
Last modified: 2007-11-30 17:10:57 EST
Description of problem:
One of the marvelous changes starting in FC3 is that the YUM
utility added /etc/yum.repos.d/. This allows third-party packages
to add their own update scripts without disturbing the "official"
set of update procedures.
This not only allows repositories to be added. It allows the
repository owner to create an upgradeable RPM that can be used
to re-point the repository location. This is done by creating
a RPM that replaces the file describing the repository location.
Sadly, adding a comparable repository source in up2date requires
relatively dirty editing in place of the rhn/sources file. The
RFE is to fix this by modifying up2date to behave in a fashion
comparable to the yum enhancement.
Version-Release number of selected component (if applicable):
All current releases
Modify the reader code that reads the rhn/sources file (in both
up2date and the rhn update applet) to proceed as follows:
First, read the (existing) sources file
Then: read the content of all files found in
in unspecified order.
The resulting behavior of up2date should be as though the contents
of every file in /etc/sysconfig/rhn/sources.d/ were appended to
/etc/sysconfig/rhn/sources in unspecified order.
This is actually valuable enough that I'ld be willing to do the work
to produce a patch. What would be really helpful from the
up2date/rhn-applet maintainer is feedback telling me which files in
the respective application contain the know-how about how to go about
reading the sources file.
Default install of Fedora Core 4 uses repositories from /etc/yum.repos.d/
Fedora Core 3 is now maintained by the Fedora Legacy project for security
updates only. If this problem is a security issue, please reopen and
reassign to the Fedora Legacy product. If it is not a security issue and
hasn't been resolved in the current FC5 updates or in the FC6 test
release, reopen and change the version to match.
Closing per lack of response to previous comment. If this still occurs on FC3
or FC4 and is a security issue, please assign to Fedora Legacy and the
appropriate version. The bug could also be filed against RHEL if it is relevant
up2date has been replaced by pirut and pup in FC5 and FC6, the still fully
supported versions of Fedora Core, so this bug will not be fixed unless it is a