Description of problem: When attempting to create a new base channel with a name starting with 'Red Hat', Spacewalk advises that channel names must not start with 'red hat' and does not create the channel. Version-Release number of selected component (if applicable): 2.3 How reproducible: Always Steps to Reproduce: 1. From the UI select Channels -> Manage Software Channels -> Create New Channel 2. Create channel name such as 'Red Hat Source RPMs' Actual results: Spacewalk returns the error "Channels names must not start with 'red hat'" Expected results: Channel created without error. Additional info: The offending regex is here: https://github.com/spacewalkproject/spacewalk/blob/master/java/code/src/com/redhat/rhn/manager/channel/CreateChannelCommand.java#L53 Which also restricts channels from starting with 'RHN'. I discovered this issue when attempting to add Red Hat source RPMs to a Spacewalk server in a package development/build environment. Is this some form of license enforcement? I haven't seen anything specifically forbidding users from hosting Red Hat content locally (please clarify?). I understand the RHN capabilities have been removed from Spacewalk, but I am interested to know why this regex enforcement still exists. Is it a hang over from Satellite, or specifically added to Spacewalk?
This constraint prevents the user to get into issues, for cases when he would create a custom channel like 'Red Hat Enterprise Linux Server (v. 7 for 64-bit x86_64)' and then would like to sync Red Hat channel of the same name (through the satellite-sync). Even if this is probably not used too often, it's a valid scenario. This behavior is expected and not planned to be removed. I'm closing the BZ as WONTFIX.
Tomas, The scenario you propose is only an issue in Satellite as satellite-sync for Red Hat channels from RHN is removed from the OS Spacewalk release. Is there a way to have this channel name restriction removed from the OS Spacewalk build?
There was no such thing removed from Spacewalk. If you activate Spacewalk using a Satellite certificate, you're able to satellite-sync Red Hat content like in Red Hat Satellite 5. There're users, who make use of it. As I wrote, there are no plans to change this behavior.
This BZ closed some time during 2.5, 2.6 or 2.7. Adding to 2.7 tracking bug.