[Spacewalk-list] Problems Syncing SLES Channels in Spacewalk 2.6

Flores, Javier (D4\INF\IT ID) Javier.Flores at gmz.migros.ch
Fri Dec 9 07:34:15 UTC 2016


Hello,

I just updated my test server to Spacewalk 2.6 and now I have problems syncing Suse channels. The problem seems to be that spacewalk-repo-sync changed the way it is naming the cache directories.

What used to be /var/cache/rhn/reposync/sle-module-adv-systems-management-12 is now  /var/cache/rhn/reposync/SUSE_Products_SLE-Module-Adv-Systems-Management_12_x86_64_product_(225-character-long-suse-token)

I checked on Spacewalk 2.4 and there the directory name is the same as the channel name, with Spacewalk 2.6 however, the directory name is generated from the repository URL. With a filename limit of 255 characters on a ext4 filesystem the 225 character long Suse token doesn't leave much space for the rest.

The error message is:
ERROR: Error making cache directory: /var/cache/rhn/reposync/SUSE_Products_SLE-Module-Adv-Systems-Management_12_x86_64_product_(225-character-long-suse-token) error was: [Errno 36] File name too long

Is there a way to tell spacewalk-repo-sync not to generate the directory name from the url of the repository but to take the repository label instead?

Regards,
Javier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20161209/2195acf5/attachment.htm>


More information about the Spacewalk-list mailing list