You have been subscribed to a public bug:

When using growpart with french locale, one encounters the following error:
"/usr/bin/growpart: 242: /usr/bin/growpart: Illegal number"
The reason is that, at lines 215 and 241, the script parses the output of 
sfdisk:
215: rqe sfd_list sfdisk --list --unit=S "$DISK" >"$tmp"
241: read _x _x _x _x disk_size _x sector_num _x < "$tmp"
But, with french locale, this output contains non-breaking spaces, so the 
parsing is wrong.
A workaround is to use "LC_ALL=C growpart", but this should not be necessary.

** Affects: cloud-utils (Ubuntu)
     Importance: Medium
     Assignee: Paride Legovini (paride)
         Status: Fix Committed

-- 
Wrong parsing of sfdisk output in french locale
https://bugs.launchpad.net/bugs/1860479
You received this bug notification because you are a member of Ubuntu Bugs, 
which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to