RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 657502 - virt-inspector depends on EPEL package perl-String-ShellQuote but does not require it
Summary: virt-inspector depends on EPEL package perl-String-ShellQuote but does not re...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libguestfs
Version: 6.1
Hardware: x86_64
OS: Linux
medium
high
Target Milestone: rc
: ---
Assignee: Richard W.M. Jones
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-26 09:45 UTC by Jinxin Zheng
Modified: 2015-09-28 02:24 UTC (History)
2 users (show)

Fixed In Version: libguestfs-1.7.17-3.el6
Doc Type: Bug Fix
Doc Text:
The virt-inspector package had an unnecessary dependency on the <package>perl-String-ShellQuote</package> package. This superfluous dependency has been removed. Note that this bug was reported and corrected during development. It was not seen in production systems in the field.
Clone Of:
Environment:
Last Closed: 2011-05-19 11:44:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:0586 0 normal SHIPPED_LIVE Low: libguestfs security, bug fix, and enhancement update 2011-05-19 11:44:03 UTC

Description Jinxin Zheng 2010-11-26 09:45:41 UTC
Description of problem:
virt-inspector needs (but does not require) perl-String-ShellQuote which is only found in EPEL.

Version-Release number of selected component (if applicable):
libguestfs-tools-1.6.2-4.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1. erase perl-String-ShellQuote if you have it installed, and then install libguestfs-tools.

2.
$ virt-inspector --help
Can't locate String/ShellQuote.pm in @INC (@INC contains: /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 /usr/bin/virt-inspector line 30.
BEGIN failed--compilation aborted at /usr/bin/virt-inspector line 30.


Additional info:
virt-inspector2 does not have such problem.

Comment 1 Jinxin Zheng 2010-11-26 09:51:02 UTC
I can only find the perl-String-ShellQuote file in EPEL:

http://download.fedora.redhat.com/pub/epel/beta/6/x86_64/repoview/perl-String-ShellQuote.html

So please add it to RHEL or eliminate the need of it.

Comment 2 Richard W.M. Jones 2010-11-26 10:08:33 UTC
Yes, this is a bug too.

I fixed this for virt-make-fs, but forgot that virt-inspector
(old version) was also using String::ShellQuote.

Comment 3 Richard W.M. Jones 2010-11-30 18:47:30 UTC
https://brewweb.devel.redhat.com/buildinfo?buildID=150467

Comment 4 Jinxin Zheng 2011-01-06 03:25:37 UTC
$ rpm -q libguestfs-tools
libguestfs-tools-1.7.17-4.el6.x86_64

$ virt-inspector
virt-inspector: no image or VM names given
Usage:
     virt-inspector [--connect URI] domname

     virt-inspector guest.img [guest.img ...]

So we have VERIFIED that the String::ShellQuote problem is no longer present.

Comment 9 Laura Bailey 2011-04-20 04:40:52 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
The virt-inspector package had an unnecessary dependency on the <package>perl-String-ShellQuote</package> package. This superfluous dependency has been removed.

Note that this bug was reported and corrected during development. It was not seen in production systems in the field.

Comment 10 errata-xmlrpc 2011-05-19 11:44:46 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0586.html

Comment 11 errata-xmlrpc 2011-05-19 13:10:46 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0586.html


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