[Spacewalk-list] bootstrap.sh, centos 4, hashlib....
andre at vandervlies.xs4all.nl
andre at vandervlies.xs4all.nl
Fri Apr 9 10:09:47 UTC 2010
Hi,
I've recentely started with spacewalk and I'm slowly rolling...
I've registered some clients the 'hard way' just to get acquainted with
the system.
Trying the 'bootstrap.sh' script I stumbled over:
"ImportError: No module named spacewalk.common.fileutils"
This list (and other sources) told me I was missing some stuff which I
installed:
"yum install rhn-setup yum-rhnplugin python-dmidecode \
spacewalk-backend-libs python-crypto"
However, the third time I decided to have a look at
'client_config_update.py'...
Suprised I observed the line:
"from spacewalk.common.fileutils import cleanupAbsPath, make_temp_file"
So, all this trouble for 'just' two functions???
I copied them from 'spacewalk.common.fileutils' (three actually, see att.)
and the script performs nicely....
also on Centos 4...
osad won't start because of a missing 'python-hashlib' (not for Centos 4,
python-2.4). So I installed it from source
(http://code.krypto.org/python/hashlib/).
I never see an OSA status, however....
Ideas??? Anyone...
--
Andre van der Vlies <andre at vandervlies.xs4all.nl>
Certifiable Linux/UNIX engineer (CLUE)
Sip: (+31)878751928
Homepage: http://vandervlies.xs4all.nl/~andre
Books: http://www.lulu.com/andre14
Key fingerprint = 397C 7479 67DB 9306 23DC B423 7B58 CD5A 6EFF 5CF8
--
"Programming isn't a craft, it's an art."
() ascii ribbon campaign - against html e-mail
/\ - against microsoft attachments
^[^#]
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: client_config_update.diff
Type: text/x-patch
Size: 2494 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20100409/52140a00/attachment.bin>
More information about the Spacewalk-list
mailing list