| Summary: | when systemid file is removed, yum still reports RHEL channels as available | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Jan Hutař <jhutar> |
| Component: | yum-rhn-plugin | Assignee: | Michael Mráka <mmraka> |
| Status: | CLOSED ERRATA | QA Contact: | Martin Minar <mminar> |
| Severity: | medium | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 6.1 | CC: | cww, jwest, mkoci, mmello, mminar, mmraka |
| Target Milestone: | rc | Keywords: | ZStream |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | yum-rhn-plugin-0.9.1-30-el6 | Doc Type: | Bug Fix |
| Doc Text: |
Due to an error in rhnplugin, running the "yum repolist" command may have incorrectly reported previously cached channels as available. This update adapts rhnplugin to use the list of cached channels only when the user explicitly requests it (for example, by using the "--cacheonly" command line option).
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-12-06 16:49:17 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 735137 | ||
|
Description
Jan Hutař
2011-04-21 06:46:32 UTC
The issue has been resolved by changes in
commit 1e91575113158e0059ddb64a005bd61bacd8f60a
call conduit.getConf() only once
commit c6dab60fd63054381097162c82aefa0522786d5d
691283 - create persistdir in _repos_persistdir instead of PWD
commit 45311f1c552c060081fd8ceead8db301cc4a77cc
fix variable typo
commit 435ceb5915b3afb87601071bb6198067044ea6f4
add repo name in case you have old format of rhnplugin.repos
commit 84ca6d54fcf2e96b60ee3678a79cc27475b18278
684342 - beside repo.id, cache even repo.name
commit 7948d023fe2382c718b5a862ff33119bfd2d72fd
disable network in cache only mode
commit 854bc69edcb98c9f9cbf7d42f79756070543a288
cache list of last seen channels so we can correctly clean them
commit e3534352c2f6387a427d76a8303b24dfcffa392b
627525 - disable network communication with certain commands/options
commit cf81c95def90dc3f0930a59310fc5fe84a346a3d
Revert "627525 - moved communication with satellite server from init_hook
to prerepo
commit 1cdb0b3fd1e7d4551c347ca8b4f9bcf4a624025a
Revert "cache list of rhn channels so we can correctly clean our stuff"
commit 089c7323b1038ef479ae451b4f09b6459fddd1c9
Revert "switch off network communication in cache only mode"
commit 62bdd32ce454a75356f4d2612f18afdbf2e65ab7
Revert "repopulate package sack after initial setup"
commit a6a76ad7b605ecf02fee8bf91acdc43047798022
Revert "684342 - beside repo.id, cache even repo.name"
commit b0ea86928698700420162d73f790551678e6af35
Revert "690234 - do not re-create repo if it exist and is type of RhnRepo"
commit cab9f7a2a45ee90bc52582e833fafe0269c35786
Revert "688870 - resolve --enablerepo/--disablerepo for RHN repos"
commit b88fabfef186dee5535dce32ac205387cd931f02
Revert "there not opts when called from rhn_check"
commit fee9b40bbd9b697eeb9db3fe4ce41351f456ced6
Revert "690190 - yumdownloader set callbacks soon, save it to new repo"
commit 171468f5b6051af3ba7fcc16177601f69e4a963a
Revert "691283 - create persistdir in _repos_persistdir instead of PWD"
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
yum-rhn-plugin wrongly reported previously cached channels as available.
After the fix it uses list of cached channels only in --cacheonly or clean mode.
*** Bug 732355 has been marked as a duplicate of this bug. ***
Technical note updated. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
Diffed Contents:
@@ -1,3 +1 @@
-yum-rhn-plugin wrongly reported previously cached channels as available.
+Due to an error in rhnplugin, running the "yum repolist" command may have incorrectly reported previously cached channels as available. This update adapts rhnplugin to use the list of cached channels only when the user explicitly requests it (for example, by using the "--cacheonly" command line option).-
-After the fix it uses list of cached channels only in --cacheonly or clean mode.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2011-1664.html |