[Spacewalk-list] Problem to resign certificate

Nilton Moura redhat at nmoura.eti.br
Thu Jan 12 14:49:47 UTC 2012


Hi all.

I'm trying to resign the spacewalk-public.cert with a new owner name, but
I'm having a problem (the same happens with the template.cert). I
successfully did this same process with Spacewalk 1.5 on CentOS 5.7, but
now in Spacewalk 1.6 on a RHEL6.2 I receive this:

# perl gen-oss-sat-cert.pl --signer XXXXXXXX --resign
/usr/share/spacewalk/setup/spacewalk-public.cert
Passphrase:
Can't connect to data source '' because I can't work out what driver to use
(it doesn't seem to contain a 'dbi:driver:' prefix and the DBI_DRIVER env
var is not set) at /usr/share/perl5/vendor_perl/RHN/DB/DataSource.pm line 70

Comparing the DataSource.pm of 1.6 with the same file shipped with 1.5 I
found just one little diff:

# diff /usr/share/perl5/vendor_perl/RHN/DB/DataSource.pm
/tmp/oldDataSource.pm
2c2
< # Copyright (c) 2008--2011 Red Hat, Inc.
---
> # Copyright (c) 2008--2010 Red Hat, Inc.
47c47
<     my $query_body = sprintf $original_body, join(", ", map { ":$_" }
sort keys %param_map);
---
>     my $query_body = sprintf $original_body, join(", ", map { ":$_" }
keys %param_map);

Searching on the web I found this
https://bugzilla.redhat.com/show_bug.cgi?id=529371, but I guess that isn't
the same cause. Does anybody is having the same issue?

Thanks in advance,
Nilton Moura.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20120112/6720cb30/attachment.htm>


More information about the Spacewalk-list mailing list