Bug 633400
Summary: | rhncfg-client lists lower-ranked config channel for file | ||||||
---|---|---|---|---|---|---|---|
Product: | [Community] Spacewalk | Reporter: | Balazs Zachar <balazs.zachar> | ||||
Component: | Clients | Assignee: | Marcelo Moreira de Mello <mmello> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Satellite QA List <satqe-list> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 1.5 | CC: | josh.mullis, jpazdziora, mmello | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Fixed In Version: | spacewalk-backend-1.5.40-1 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 700527 (view as bug list) | Environment: | |||||
Last Closed: | 2011-07-21 14:43:09 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 695242, 700527 | ||||||
Attachments: |
|
Description
Balazs Zachar
2010-09-13 17:38:33 UTC
Mass-moving to space13. We did not have time for this one during Spacewalk 1.4 time frame. Mass moving to Spacewalk 1.5. We did not have time for this one during Spacewalk 1.4 time frame. Mass moving to Spacewalk 1.5. Created attachment 512541 [details]
Patch proposed
Howdy folks,
We created a patch which fix the rhncfg-client to honor the highest
rank for configuration files.
cfg_sfdc-00437809 <--- highest rank
-----------
* /etc/sfdc-00437809/file1 * locally managed
* /etc/sfdc-00437809/file2
* /etc/sfdc-00437809/duplicate
cfg_sfdc-00437809_dup_LOW <--- lowest rank
-----------
* /etc/sfdc-00437809/duplicate
Before applying the patch, rhncfg-client elist does not honor the rank
levels:
# rhncfg-client elist
Mode Owner Group Size Rev Config Channel File
drw-r--r-- root root *0 1 cfg_sfdc-00437809 /etc/sfdc-00437809
-rw-r--r-- root root 81 5 cfg_sfdc-00437809_dup-LOW /etc/sfdc-00437809/duplicate
-rw-r--r-- root root 53 3 1000010002 /etc/sfdc-00437809/file1
-rw-r--r-- root root 61 2 cfg_sfdc-00437809 /etc/sfdc-00437809/file2
After applying the patch and restarting the Spacewalk services, the
issue is solved
# rhncfg-client elist
Mode Owner Group Size Rev Config Channel File
drw-r--r-- root root *0 1 cfg_sfdc-00437809 /etc/sfdc-00437809
-rw-r--r-- root root 81 5 cfg_sfdc-00437809 /etc/sfdc-00437809/duplicate
-rw-r--r-- root root 53 1 1000010002 /etc/sfdc-00437809/file1
-rw-r--r-- root root 61 2 cfg_sfdc-00437809 /etc/sfdc-00437809/file2
Cheers,
Marcelo Moreira de Mello
Patch sent to spacewalk-devel maillist Mail Thread: https://www.redhat.com/archives/spacewalk-devel/2011-July/msg00010.html Cheers, mmello (In reply to comment #5) > Patch sent to spacewalk-devel maillist > > Mail Thread: > https://www.redhat.com/archives/spacewalk-devel/2011-July/msg00010.html > > Cheers, > mmello Committed to Spacewalk master, 46830082e095a9273ef2e5fe6fcd3a91eb14a952. Tagged as spacewalk-backend-1.5.40-1. *** Bug 702127 has been marked as a duplicate of this bug. *** This bugzilla is currently MODIFIED, so we believe the fix is in the Spacewalk nightly yum repository at http://spacewalk.redhat.com/yum/nightly/ Therefore, moving ON_QA. Spacewalk 1.5 was released. |