Bug 2184158 - cloud-utils-growpart does not work with FR locale
Summary: cloud-utils-growpart does not work with FR locale
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: cloud-utils
Version: 37
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ondrej Mosnáček
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-03 18:57 UTC by Maxime Coquelin
Modified: 2024-01-16 04:25 UTC (History)
1 user (show)

Fixed In Version: cloud-utils-0.33-3.fc37
Clone Of:
Environment:
Last Closed: 2023-09-17 01:42:43 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Maxime Coquelin 2023-04-03 18:57:14 UTC
Description of problem:

growpart tool from cloud-utils-growpart RPM fails with fr_FR locale, while changing 
to en_US works:

[root@localhost ~]# cat /etc/locale.conf
LANG="fr_FR.UTF-8"
root@localhost ~]# growpart /dev/vda 3
usr/bin/growpart: ligne 242: 42949672960 octets, : erreur de syntaxe : opérateur arithmétique non valable (le symbole erroné est «  octets, »)

Once changed to en_US, it works fine:

[root@localhost ~]# cat /etc/locale.conf
LANG="en_US.UTF-8"
[root@localhost ~]# growpart /dev/vda 3
CHANGED: partition=3 start=2101248 old: size=39839744 end=41940992 new: size=81784799 end=83886047

Version-Release number of selected component (if applicable):
cloud-utils-growpart-0.31-11.fc37.noarch

How reproducible:

100% with fr_FR, not tested with other locales.

Steps to Reproduce:
1.
2.
3.

Actual results:
root@localhost ~]# growpart /dev/vda 3
usr/bin/growpart: ligne 242: 42949672960 octets, : erreur de syntaxe : opérateur arithmétique non valable (le symbole erroné est «  octets, »)

Expected results:
[root@localhost ~]# growpart /dev/vda 3
CHANGED: partition=3 start=2101248 old: size=39839744 end=41940992 new: size=81784799 end=83886047

Additional info:

Comment 1 Fedora Admin user for bugzilla script actions 2023-09-05 00:08:00 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 2 Ondrej Mosnáček 2023-09-05 20:25:52 UTC
Hi, could you please try with the latest rawhide build (https://koji.fedoraproject.org/koji/buildinfo?buildID=2284087)? There have been some changes upstream that look like a fix for this bug.

Comment 3 Fedora Update System 2023-09-08 08:27:50 UTC
FEDORA-2023-cb396eec08 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-cb396eec08

Comment 4 Fedora Update System 2023-09-09 02:34:14 UTC
FEDORA-2023-cb396eec08 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-cb396eec08`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-cb396eec08

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2023-09-17 01:42:43 UTC
FEDORA-2023-cb396eec08 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Red Hat Bugzilla 2024-01-16 04:25:05 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


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