Bug 1219538 - Can't locate RHN/DataSource/Channel.pm in @INC when executing gen-oss-sat-cert.pl
Summary: Can't locate RHN/DataSource/Channel.pm in @INC when executing gen-oss-sat-cer...
Keywords:
Status: CLOSED DUPLICATE of bug 1218580
Alias: None
Product: Spacewalk
Classification: Community
Component: Installation
Version: 2.3
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Tomáš Kašpárek
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space27
TreeView+ depends on / blocked
 
Reported: 2015-05-07 14:29 UTC by Hugh McMillan
Modified: 2017-09-28 18:08 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-07 14:32:16 UTC
Embargoed:


Attachments (Terms of Use)

Description Hugh McMillan 2015-05-07 14:29:20 UTC
Description of problem:

I've followed a procedure I wrote and documented quite thoroughly for 2.2 after altering it to meet the needs of 2.3 where I could. Everything for the gpg elements worked fine, up until I tried to run this script. It then claimed things couldn't be located in the expected directories.

Version-Release number of selected component (if applicable):


How reproducible:

It re-occurs at the moment whenever I run the script. If I followed the guide again I'd imagine I'd run into the same blocker. After speaking to ggainey on IRC, he thought it may be to do with the perl stack being largely removed in the conversation to Java in the 2.3 version.

Steps to Reproduce:

Following the "CertCreation" guide on https://fedorahosted.org/spacewalk/wiki/CertCreation that involves the use of gen-oss-sat-cert.pl guide, and then try execute the following on the relevant file:

perl /tmp/gen-oss-sat-cert.pl --signer XXXXXXXX --resign /usr/share/spacewalk/setup/spacewalk-public.cert

Using the script located here:

https://github.com/colloquium/spacewalk/blob/master/scripts/gen-oss-sat-cert.pl


Actual results:

perl /tmp/gen-oss-sat-cert.pl --signer 4744ACB9 --resign /usr/share/spacewalk/setup/spacewalk-public.cert
Can't locate RHN/DataSource/Channel.pm in @INC (@INC contains: /var/www/lib /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /tmp/gen-oss-sat-cert.pl line 10.

BEGIN failed--compilation aborted at /tmp/gen-oss-sat-cert.pl line 10.


Expected results:

Successfully re-sign.

Additional info:

When searching for the .pm file, the output from the 'Find' command produced no results when searching for the string "Channel.pm"

Comment 1 Grant Gainey 2015-05-07 14:32:16 UTC
Having asked you to open this, I'm going to close it as a dup of the older one - that way we can all track it in one place.

*** This bug has been marked as a duplicate of bug 1218580 ***

Comment 2 Eric Herget 2017-09-28 18:08:29 UTC
This BZ closed some time during 2.5, 2.6 or 2.7.  Adding to 2.7 tracking bug.


Note You need to log in before you can comment on or make changes to this bug.