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
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to