RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 873784 - Multiple values must end with semicolon in config file /etc/sysconfig/rhn/up2date
Summary: Multiple values must end with semicolon in config file /etc/sysconfig/rhn/up2...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: rhn-client-tools
Version: 6.3
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: rc
: ---
Assignee: Milan Zázrivec
QA Contact: Dimitar Yordanov
URL:
Whiteboard:
: 888005 1112188 (view as bug list)
Depends On:
Blocks: 1056252
TreeView+ depends on / blocked
 
Reported: 2012-11-06 17:16 UTC by Pavel Studeník
Modified: 2018-12-09 16:52 UTC (History)
8 users (show)

Fixed In Version: rhn-client-tools-1.0.0.1-17-el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-10-14 07:28:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1537 0 normal SHIPPED_LIVE rhn-client-tools bug fix update 2014-10-14 01:21:45 UTC

Description Pavel Studeník 2012-11-06 17:16:44 UTC
Description of problem:
If I used multiple values in config file /etc/sysconfig/rhn/up2date, that string must end with character semicolon ";". Otherwise last value doesn't used.

Version-Release number of selected component (if applicable):
always


How reproducible:
Set multiple serverUrl value without character semicolon in end of string.


Steps to Reproduce:
0. primary server doesn't exists
1. set serverURL=http://< primary server >/XMLRPC;http://< secondary server >/XMLRPC in file /etc/sysconfig/rhn/up2date
  
Actual results:
It is used only first value. 

Expected results:
Use all values in configuration and program works correctly (used secondary server if primary doesn't exist).

Additional info:
Fix is something as:

diff /usr/share/rhn/up2date_client/config.py{,.my}
126c126,127
<                     value = [val.strip() for val in values[:-1]]
---
>                     value = [val.strip() for val in values if val.strip() ]
214a216

Comment 3 RHEL Program Management 2012-12-14 08:15:12 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 7 Dimitar Yordanov 2013-06-27 11:16:38 UTC
*** Bug 888005 has been marked as a duplicate of this bug. ***

Comment 9 David O'Brien 2013-07-03 14:44:13 UTC
CC'ing doc to make sure it gets updated in the next guide.

Comment 13 Michael Mráka 2014-06-05 09:27:41 UTC
Fixed in spacewalk master by
commit 40fd73721aeb447991d46a6f1bfb9290b509cb5f
    873784 - Multiple serverURL values could  not end with semicolon

Comment 15 Michael Mráka 2014-06-16 08:05:43 UTC
Backported to RHEL6 as
commit 84eb2836209a772a42fa8dc566fa008b4d76e473
    873784 - Multiple serverURL values could  not end with semicolon

Comment 17 Michael Mráka 2014-08-07 10:21:28 UTC
*** Bug 1112188 has been marked as a duplicate of this bug. ***

Comment 20 errata-xmlrpc 2014-10-14 07:28:37 UTC
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-2014-1537.html


Note You need to log in before you can comment on or make changes to this bug.