Ping interval depends on the system's locale

Bug #1904251 reported by Governa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
iputils (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

iputils-ping:
  Installato: 3:20190709-3
  Candidato: 3:20190709-3
  Tabella versione:
 *** 3:20190709-3 500
        500 http://br.archive.ubuntu.com/ubuntu focal/main amd64 Packages
        100 /var/lib/dpkg/status

lsb_release -rd:
Description: Ubuntu 20.04.1 LTS
Release: 20.04

ping is using the current locale to interpret the interval value:

    ping -i 0.3 localhost

fails with "ping: bad timing interval: 0.3"
while this works:

    ping -i 0,3 localhost

This also works:
    LANG=en ping localhost -i .3

It seems similar to a 2015 bug from Fedora:
https://bugzilla.redhat.com/show_bug.cgi?id=1283277

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, the issue was reported upstream in https://github.com/iputils/iputils/issues/273 and fixed in newer version

If you need a fix for the bug in previous versions of Ubuntu, please perform as much as possible of the SRU Procedure [1] to bring the need to a developer's attention.

[1]: https://wiki.ubuntu.com/StableReleaseUpdates#Procedure

Changed in iputils (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.