Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
set-label fails to set some unicode characters as the NTFS filesystem label. This works well on rhel7.2
Version-Release number of selected component (if applicable):
libguestfs-1.20.11-16.el6.x86_64
libguestfs-winsupport-1.0-7.el6.x86_64
How reproducible:
Always
Steps to Reproduce:
1. # guestfish -a test.raw
><fs> list-filesystems
/dev/sda1: ntfs
2. Set the label as "水"
><fs> set-label /dev/sda1 "水"
><fs>
3. Get the label
><fs> vfs-label /dev/sda1><fs>
Actual results:
In step 3, nothing returned.
Expected results:
In step 2, the label should be set successfully.
In step 3, the character "水" should be returned.
Additional info:
Comment 1Richard W.M. Jones
2016-01-04 15:31:42 UTC
One line reproducer:
guestfish -N fs:ntfs set-label /dev/sda1 水 : vfs-label /dev/sda1
Upstream: works OK
RHEL 7.2: works OK
RHEL 6.8: fails as described in the bug
I'm inclined to say this is a real bug, but one which we're not
really interested in fixing in RHEL 6. However I'll leave it up
to Pino to comment.
Moving to libguestfs-winsupport, which is the package providing the support for NTFS filesystem.
Also, closing this bug as WONTFIX, since:
- it is not a regression, but simply a bug in the old libntfs
- it is not a problem in libguestfs-winsupport for RHEL 7, since libntfs-3g there is more recent and supports this case better
- it is a corner case, usually ASCII characters are used for labels of filesystems