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 
<[email protected]>&Agrave;: [email protected]&eacute;: 
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 protected] > spacewalk.gpg.privkey
gpg --list-keys
gpg --armor --export [email protected] > spacewalk.gpg.pubkey
 
With following script, you can create the files:
 
https://github.com/DeadRabb1t/spacewalk-scripts/blob/master/secureApt.sh
 
I&rsquo;d like to make some of these changes, but I don&rsquo;t know where
Greetings,
 
Christian
 [...]
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to