[Spacewalk-list] RHEL6 - Spacewalk - MREPO [SEC=UNOFFICIAL]

Lichtinger, Bernhard Bernhard.Lichtinger at lrz.de
Wed Oct 1 07:07:59 UTC 2014


Hi,

I had to „patch“ /usr/bin/gensystemid on my spacewalk-server to resolve this error.

> [root at xxxxxx ~]# gensystemid --release=6Server /var/mrepo
> gensystemid: Architecture not supplied, using system architecture x86_64
> RHN Username: <username>
> RHN Password:
> Traceback (most recent call last):
>  File "/usr/bin/gensystemid", line 271, in <module>
>    main()
>  File "/usr/bin/gensystemid", line 238, in main
>    except rpclib.Fault, f:
> AttributeError: 'module' object has no attribute 'Fault'

I added the line

   sys.path.insert(0, '/usr/share/mrepo/')

above the line

   from up2date_client import config, rpcServer, up2dateErrors

to make sure, gensystemid uses the rpclib from mrepo and not from the spacewalk installation.

I am on Centos6 with python-2.6.6 and mrepo-0.8.8 


Regards,
Bernhard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20141001/ce7b1163/attachment.sig>


More information about the Spacewalk-list mailing list