[Spacewalk-list] Re : Re: spacewalk 2.6 - ubuntu integration trouble

user_cco at laposte.net user_cco at laposte.net
Wed Mar 29 06:17:22 UTC 2017


Morning,

i have updated my spacewalk installation with latest rpm available ( mean march 10th for *backend* with version -2.6.77-1.el ),

i have vérified that the DEB_CHECKSUM_TYPE is set to 'sha256' into /usr/lib/python2.7/site-packages/spacewalk/common/rhn_deb.py file
 
and the error during channel linking is always present.

maybe there are other modifications to do to have native spacewalk ubuntu integration working ?


----- Mail d'origine -----De: Christian Schilling <Christian.Schilling at o-s.de>À: spacewalk-list at redhat.comEnvoyé: Thu, 16 Mar 2017 17:21:34 +0100 (CET)Objet: Re: [Spacewalk-list] spacewalk 2.6 - ubuntu integration trouble


Hey,
 
I had some trouble with Ubuntu 16.04 and spacewalk, too.
 
After some researches and developing, I finally got it working.
Spacewalk-repo-sync is working out of the box, so there is no more need to gebianSync.py anymore, but many other things still have to be changed handy.
It would be nice, if especially the bugs in some files could be fixed fastly.
 
https://bugzilla.redhat.com/attachment.cgi?id=999613&action=diff&context=patch&collapsed=&headers=1&format=raw   ---   /usr/lib/python2.7/site-packages/spacewalk/server/rhnRepository.py @ Spacewalk
https://bugzilla.redhat.com/attachment.cgi?id=999612&action=diff&context=patch&collapsed=&headers=1&format=raw   ---   /usr/lib/apt/methods/spacewalk @ Ubuntu 16.04
https://bugzilla.redhat.com/attachment.cgi?id=999611&action=diff&context=patch&collapsed=&headers=1&format=raw   ---   /usr/lib/apt-spacewalk/pre_invoke.py @ Ubuntu 16.04

In /usr/lib/python2.7/site-packages/spacewalk/common/rhn_deb.py the checksum_type has to be changed:
 
sed -i "s#DEB_CHECKSUM_TYPE = 'md5'#DEB_CHECKSUM_TYPE = 'sha256'#g" /usr/lib/python2.7/site-packages/spacewalk/common/rhn_deb.py
 
Furthermore, spacewalk still does not create Release-files.
So I had to 
 
gpg --gen-key      ( auf anderer ssh Session  rngd -r /dev/urandom )
gpg --export-secret-keys --armor email at address.com > spacewalk.gpg.privkey
gpg --list-keys
gpg --armor --export email at address.com > spacewalk.gpg.pubkey
 
With following script, you can create the files:
 
https://github.com/DeadRabb1t/spacewalk-scripts/blob/master/secureApt.sh
 
I’d like to make some of these changes, but I don’t know where
Greetings,
 
Christian
 [...]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20170329/7ba296f9/attachment.htm>


More information about the Spacewalk-list mailing list