Bug 2022652

Summary: cmsfs-fuse: Could not initialize conversion table CP1047->UTF-8
Product: [Fedora] Fedora Reporter: Jan Stodola <jstodola>
Component: s390utilsAssignee: Dan Horák <dan>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 36CC: dan
Target Milestone: ---   
Target Release: ---   
Hardware: s390x   
OS: Unspecified   
Whiteboard:
Fixed In Version: s390utils-2.19.0-1.fc36 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2022702 (view as bug list) Environment:
Last Closed: 2022-02-11 16:26:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Stodola 2021-11-12 09:56:16 UTC
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.

Comment 1 Dan Horák 2021-11-12 10:18:22 UTC
glibc-gconv-extra is only Recommended by main glibc package, let's make it a full dep for the cmsfs-fuse subpackage

Comment 2 Ben Cotton 2022-02-08 21:28:17 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle.
Changing version to 36.