Your message dated Sat, 14 Sep 2019 02:02:44 +0200
with message-id <[email protected]>
and subject line closing
has caused the Debian Bug report #933641,
regarding growpart doesn't work if sfdisk output is in french
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
933641: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=933641
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: cloud-utils
Version: 0.29-1

Dear maintainers,

When I invoke 'growpart /dev/sda 1' from un ordinary shell, I get the error: 
'/usr/bin/growpart: 235: /usr/bin/growpart: Illegal number: 48318382080 octets,'

growpart use sfidk and try to extract information from the first line of the 
command:
root@test-debian:~# sfdisk --list --unit=S /dev/sda
Disque /dev/sda : 45 GiB, 48318382080 octets, 94371840 secteurs
[...]

As we can see, it failed to parse it and save "48318382080 octets," instead of 
"48318382080".

If I put the output of sfdisk in english, I don't have the issue:

root@test-debian:~# export LC_ALL=C
root@test-debian:~# sfdisk --list --unit=S /dev/sda
Disk /dev/sda: 45 GiB, 48318382080 bytes, 94371840 sectors
[...]
root@test-debian:~# /usr/bin/growpart /dev/sda 1
48318382080 / 94371840
CHANGED: partition=1 start=2048 old: size=10481664 end=10483712 new: 
size=94369759,end=94371807

Maybe it can be a good idea to just add something like "export LC_ALL=C" at the 
beggining of growpart or to work on the parsing fonction to work with more 
languages?

I'm using a fresh install of Debian Buster (10.0) to do this test.

Regards 
Romain

--- End Message ---
--- Begin Message ---
closing

--- End Message ---

Reply via email to