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 2022702 - cmsfs-fuse: Could not initialize conversion table CP1047->UTF-8
Summary: cmsfs-fuse: Could not initialize conversion table CP1047->UTF-8
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: s390utils
Version: 9.0
Hardware: s390x
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 9.0
Assignee: Dan Horák
QA Contact: Vilém Maršík
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-12 11:17 UTC by Jan Stodola
Modified: 2022-05-17 16:32 UTC (History)
2 users (show)

Fixed In Version: s390utils-2.19.0-1.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2022652
Environment:
Last Closed: 2022-05-17 15:59:55 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-102599 0 None None None 2021-11-12 11:18:49 UTC
Red Hat Product Errata RHBA-2022:4005 0 None None None 2022-05-17 16:00:11 UTC

Description Jan Stodola 2021-11-12 11:17:37 UTC
Also on RHEL-9 with s390utils-cmsfs-fuse-2.17.0-4.el9.

+++ This bug was initially created as a clone of Bug #2022652 +++

Description of problem:
cmsfs-fuse fails to mount a CMS disk when the --ascii option is used and the glibc-gconv-extra package is not installed:

[root@rtt6 ~]# rpm -q glibc-gconv-extra
package glibc-gconv-extra is not installed
[root@rtt6 ~]# cmsfs-fuse --ascii /dev/disk/by-path/ccw-0.0.0191 /mnt/cms/
cmsfs-fuse: Could not initialize conversion table CP1047->ISO-8859-1.
[root@rtt6 ~]# echo $?
1
[root@rtt6 ~]# yum install glibc-gconv-extra
.
.
.
[root@rtt6 ~]# cmsfs-fuse --ascii /dev/disk/by-path/ccw-0.0.0191 /mnt/cms/
[root@rtt6 ~]# echo $?
0
[root@rtt6 ~]#


Version-Release number of selected component (if applicable):
s390utils-cmsfs-fuse-2.18.0-2.fc36.s390x

How reproducible:
always

Steps to Reproduce:
1. see above

Actual results:
Failed to mount the disk.

Expected results:
s390utils-cmsfs-fuse requires glibc-gconv-extra if it needs it.
The disk is mounted successfully.

--- Additional comment from Dan Horák on 2021-11-12 11:18:22 CET ---

glibc-gconv-extra is only Recommended by main glibc package, let's make it a full dep for the cmsfs-fuse subpackage

Comment 2 Vilém Maršík 2021-12-02 15:53:03 UTC
Could not reproduce on RHEL-9.0.0-20211201.1, and don't know much about this type of device. Can you give me a hint?

# ls /dev/disk/by-path/
ccw-0.0.0120  ccw-0.0.0120-part1  ccw-0.0.0120-part2
# cmsfs-fuse --ascii /dev/disk/by-path/ccw-0.0.0120 /mnt/cms/
cmsfs-fuse: Unsupported disk
# cmsfs-fuse --ascii /dev/disk/by-path/ccw-0.0.0120-part1 /mnt/cms/
cmsfs-fuse: Unsupported disk
# cmsfs-fuse --ascii /dev/disk/by-path/ccw-0.0.0120-part2 /mnt/cms/
cmsfs-fuse: Unsupported disk
# virt-what
ibm_systemz
ibm_systemz-zvm

Comment 3 Dan Horák 2021-12-03 09:17:59 UTC
you need the CMS "home" disk to be made available in Linux first, the following steps should do it
- cio_ignore -r 191
- chccwdev -e 191
- lsdasd (will show the 191 disk as online in addition to the regular "data" disks 120,121,...)

then run the reproducer

Comment 4 Vilém Maršík 2021-12-03 11:30:49 UTC
Looks good in RHEL-9.0.0-20211201.1:

# cio_ignore -r 191
# chccwdev -e 191
Setting device 0.0.0191 online
Done
# lsdasd
Bus-ID    Status    Name      Device  Type         BlkSz  Size      Blocks
================================================================================
0.0.0120  active    dasda     94:0    ECKD         4096   39128MB   10017000
0.0.0191  active    dasdb     94:4    FBA          512    0MB       1000
# cmsfs-fuse --ascii /dev/disk/by-path/ccw-0.0.0191 /mnt/
cmsfs-fuse: Could not initialize conversion table CP1047->ISO-8859-1.
# rpm -qa | grep s390utils
s390utils-core-2.17.0-4.el9.s390x
s390utils-base-2.17.0-4.el9.s390x
s390utils-cmsfs-fuse-2.17.0-4.el9.s390x

# dnf upgrade s390utils-base-2.19.0-1.el9.s390x.rpm s390utils-core-2.19.0-1.el9.s390x.rpm s390utils-cmsfs-fuse-2.19.0-1.el9.s390x.rpm
(...)
Upgraded:
  s390utils-base-2:2.19.0-1.el9.s390x
  s390utils-cmsfs-fuse-2:2.19.0-1.el9.s390x
  s390utils-core-2:2.19.0-1.el9.s390x
Installed:
  glibc-gconv-extra-2.34-8.el9.s390x

Complete!
[root@ibm-z-533 ~]# cmsfs-fuse --ascii /dev/disk/by-path/ccw-0.0.0191
fuse: missing mountpoint parameter
[root@ibm-z-533 ~]# cmsfs-fuse --ascii /dev/disk/by-path/ccw-0.0.0191 /mnt/
cms/          scratchspace/ testarea/     tests/
[root@ibm-z-533 ~]# cmsfs-fuse --ascii /dev/disk/by-path/ccw-0.0.0191 /mnt/cms/
[root@ibm-z-533 ~]# echo $?
0

Comment 8 Vilém Maršík 2021-12-17 01:04:12 UTC
Good on RHEL-9.0.0-20211214.2:
# cio_ignore -r 191
# chccwdev -e 191
Setting device 0.0.0191 online
Done
# lsdasd
Bus-ID    Status    Name      Device  Type         BlkSz  Size      Blocks
================================================================================
0.0.0120  active    dasda     94:0    ECKD         4096   39128MB   10017000
0.0.0191  active    dasdb     94:4    FBA          512    0MB       1000
# cmsfs-fuse --ascii /dev/disk/by-path/ccw-0.0.0191 /mount
# ls /mount
PROFILE.EXEC  PROFILEO.EXEC  ZPXE.CONF

Comment 10 errata-xmlrpc 2022-05-17 15:59:55 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 (new packages: s390utils), and where to find the updated
files, follow the link below.

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

https://access.redhat.com/errata/RHBA-2022:4005


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