X

News, tips, partners, and perspectives for the Oracle Linux operating system and upstream Linux kernel work

ULN Integration for Spacewalk

Avi Miller
Director of Product Management, Oracle Linux

We've just updated the Oracle version of Spacewalk on the Oracle Linux yum server to include a ULN plug-in for the spacewalk-repo-sync tool. The plug-in enables you to synchronize ULN content directly into Spacewalk channels without registering the Spacewalk server with ULN, but an active ULN account is still required. This allows you to register your Spacewalk server to Spacewalk itself while still receiving updates from ULN.

The ULN plug-in was not included with the initial release of Spacewalk from Oracle. Depending on the configuration of your Spacewalk server, you might need to update the Spacewalk packages, specifically the spacewalk-config and spacewalk-backend-* packages.

To configure the ULN plug-in, edit the /etc/rhn/spacewalk-repo-sync/uln.conf file and add login credentials for ULN. By default, this file is read-only by root.

[main] 
username = <ULN SSO username> 
password = <ULN SSO password>

After you edit the configuration file, change the file permissions on the file to make it read-only (0400) by root or the user that will run the spacewalk-repo-sync tool. This is an important security step to protect the ULN credentials. By default, this script is run as the root user by the Spacewalk scheduling engine, but if you chose to run the script interactively via the command-line, you will need to ensure at least read-access to this file.

Once the ULN plug-in is configured, you create the Spacewalk software channels and repositories in the normal way using the Spacewalk web interface. When you specify the URL for a ULN repository, use a URL in the following format:

uln:///<ULN channel label>

 

For example:
uln:///ol6_x86_64_latest

 

You can get a list of available ULN channel labels by logging in to ULN (https://linux.oracle.com) and selecting the Channels tab. 

Additional updates

We've also updated Spacewalk to allow installation with the latest version of the Oracle 11gR2 Instant Client (11.2.0.4) available on ULN and OTN. 

Further reading

You can find more information about Spacewalk, including installation and configuration details, on the Spacewalk 2.0 for Oracle Linux 6 Release Notes. Spacewalk for Oracle Linux is free to download and use from yum.oracle.com and Spacewalk support is included with Oracle Linux Basic and Premier support subscriptions.

Join the discussion

Comments ( 3 )
  • Daniel Schindler Thursday, May 15, 2014

    This is great news! Can't wait to try it out. Thank you and the ULN-team for all your efforts.

    I hope you are contributing the changes to the upstream project?!


  • Avi Miller Thursday, May 15, 2014

    Hey Daniel,

    Yes, the changes were submitted upstream via this pull request on Github: https://github.com/spacewalkproject/spacewalk/pull/58

    I'm unsure whether the pull request will be accepted, though as it does include a less-than-graceful hack to the underlying reposync.py script to overcome some limitations in the Java UI.


  • Avi Miller Friday, May 16, 2014

    This has been merged by the upstream Spacewalk project, so you'll be able to sync directly with ULN using the upstream Spacewalk builds once 2.2 is released.


Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.