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 908255 - error message didn't translate to user language
Summary: error message didn't translate to user language
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libguestfs
Version: 6.4
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Richard W.M. Jones
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 908321 908322 958183
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-06 09:22 UTC by Mohua Li
Modified: 2013-11-21 04:42 UTC (History)
3 users (show)

Fixed In Version: libguestfs-1.20.9-5.el6
Doc Type: Bug Fix
Doc Text:
Cause: Trying to download a file which is in fact a directory, using the guestfs_download API / guestfish 'download' command. Consequence: Downloading a directory using the guestfs_download API or guestfish 'download' command is an error. However libguestfs would get confused and the lose protocol synchronization instead. Fix: Test if the source of the download is a directory and return an error if so. Result: Trying to download a directory will print an error instead of getting confused.
Clone Of:
: 908321 908322 (view as bug list)
Environment:
Last Closed: 2013-11-21 04:42:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2013:1536 0 normal SHIPPED_LIVE Moderate: libguestfs security, bug fix, and enhancement update 2013-11-21 00:40:55 UTC

Description Mohua Li 2013-02-06 09:22:33 UTC
Description of problem:

the error message didn't translate to user language, when try to view a folder by virt-cat, like below, 


[root@hp-z220-01 images]# virt-cat  RHEL-Server-6.0-32-hvm.raw /etc                                                    
libguestfs: error: file receive cancelled by daemon
libguestfs: error: /dev/stdout: error in chunked encoding



[root@hp-z220-01 images]# virt-tar -x rhel6.32bit /boot/gurb grub.tar
                                                  ^^^^^^^^^^^ 
grub.tar: error in chunked encoding at /usr/bin/virt-tar line 272.




Version-Release number of selected component (if applicable):
libguestfs-tools-c-1.16.34-2.el6.x86_64

Comment 7 Richard W.M. Jones 2013-06-28 11:10:47 UTC
Fixed by the rebase (bug 958183).

Comment 12 bfan 2013-09-17 06:16:48 UTC
Verified with libguestfs-1.20.11-1.el6.x86_64

# virt-cat RHEL-Server-6.0-32-hvm.raw /etc
libguestfs: error: download: /etc: is a directory

# virt-tar -x RHEL-Server-6.0-32-hvm.raw /boot/gurb grub.tar
tar_out: stat: /boot/gurb: No such file or directory at /usr/bin/virt-tar line 272.

Error message are already translated, so change the status to verified

Comment 14 errata-xmlrpc 2013-11-21 04:42:46 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2013-1536.html


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