There is an issue with the default yum repo label with some of the new repositories, particularly the Scientific Linux and Oracle Linux Spacewalk Server/Client repos. The full text expands to greater than 64 chars, which is the limit of the database field that stores the repository name. If you try to add these channels, you get an error because the DB rejects the change.
This patch changes the default prepend text to "External - " which shortens the text sufficiently so that all the channels can be created. The alternative is to specify yum_repo_label for each repository that may go over 64 chars. Not sure which solution you prefer, but this seemed simpler and it would at least be consistent for all repos. --- utils/spacewalk-common-channels.ini | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/utils/spacewalk-common-channels.ini b/utils/spacewalk-common-channels.ini index 7496a43..3f7a901 100644 --- a/utils/spacewalk-common-channels.ini +++ b/utils/spacewalk-common-channels.ini @@ -25,7 +25,7 @@ activationkey = %(label)s gpgkey_url = %(base_channel_gpgkey_url)s gpgkey_id = %(base_channel_gpgkey_id)s gpgkey_fingerprint = %(base_channel_gpgkey_fingerprint)s -yum_repo_label = External yum repo - %(name)s +yum_repo_label = External - %(name)s ## now define some "macros" _x86_archs = i386, x86_64 _centos4_archs = alpha, i386, ia64, s390, s390x, x86_64 -- 1.7.1 -- Oracle <http://www.oracle.com> Avi Miller | Principal Program Manager | +61 (412) 229 687 Oracle Linux and Virtualization 417 St Kilda Road, Melbourne, Victoria 3004 Australia _______________________________________________ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel