Bug#822861: killall: option --older-than breaks with german locale
Hi, it looks likee problemrchitecture dependent. I cannot reproduce the problem on my system running amd64 either. When using i386 userland, it breaks. # dpkg --print-architecture i386 # uname -r 3.16.0-4-amd64 # sleep 5 & LC_ALL=de_DE.UTF-8 killall --older-than 1h sleep [1] 18467 [1]+ Beendet sleep 5 # dpkg --print-architecture i386 # uname -r 3.16.0-4-686-pae # sleep 5 & LC_ALL=de_DE.UTF-8 killall --older-than 1h sleep [1] 19541 [1]+ Beendet sleep 5 HTH. -- Mit freundlichen Grüßen, Mario Lipinski IServ GmbH Bültenweg 73 38106 Braunschweig Telefon: 0531-2243666-0 Fax: 0531-2243666-9 E-Mail:i...@iserv.eu Internet: iserv.eu USt-IdNr. DE265149425 | Amtsgericht Braunschweig | HRB 201822 Geschäftsführer: Benjamin Heindl, Jörg Ludwig
Bug#822861: killall: option --older-than breaks with german locale
tag 822861 unreproducible thankyou Works ok here: $ sleep 5 & LC_ALL=de_DE.UTF-8 killall --older-than 1h sleep [1] 20927 sleep: Kein Prozess gefunden Normally a locale problem would be a strtol related issue and those options use that function, but its often related to decimal point versus comma. It's also strange its not even throwing an error if it didn't understand the parsing. Does it do that for other units such as minute? On Thu, Apr 28, 2016 at 11:03 PM Jörg Ludwigwrote: > Package: psmisc > Version: 22.21-2 > Severity: normal > > Dear Maintainer, > > we wanted to kill stale programs with "killall --older-than". > > This works just fine with locale "C": > > # sleep 5 & LC_ALL=C killall --older-than 1h sleep > [1] 10858 > sleep: no process found > > But with our locale "de_DE.UTF-8" it also kills newly created processes: > > # sleep 5 & LC_ALL=de_DE.UTF-8 killall --older-than 1h sleep > [1] 10711 > [1]+ Beendet sleep 5 > > We would expect killall to work regardless of the used locale. > > -- System Information: > Debian Release: 8.4 >APT prefers stable-updates >APT policy: (500, 'stable-updates'), (500, 'stable') > Architecture: i386 (x86_64) > Foreign Architectures: amd64 > > Kernel: Linux 3.14-0.bpo.2-amd64 (SMP w/8 CPU cores) > Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > Init: unable to detect > > Versions of packages psmisc depends on: > ii libc6 2.19-18+deb8u4 > ii libtinfo5 5.9+20140913-1+b1 > > psmisc recommends no packages. > > psmisc suggests no packages. > > -- no debconf information > > -- > Mit freundlichen Grüßen, > > Jörg Ludwig > > IServ GmbH > Bültenweg 73 > 38106 Braunschweig > > Telefon: 0531-2243666-0 > Fax: 0531-2243666-9 > Mobil: 0179-9101055 > E-Mail: joerg.lud...@iserv.eu > Internet:www.iserv.eu > USt.-IdNr.: DE265149425 > -- Craig Small (@smallsees) http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint:5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5
Bug#822861: killall: option --older-than breaks with german locale
Package: psmisc Version: 22.21-2 Severity: normal Dear Maintainer, we wanted to kill stale programs with "killall --older-than". This works just fine with locale "C": # sleep 5 & LC_ALL=C killall --older-than 1h sleep [1] 10858 sleep: no process found But with our locale "de_DE.UTF-8" it also kills newly created processes: # sleep 5 & LC_ALL=de_DE.UTF-8 killall --older-than 1h sleep [1] 10711 [1]+ Beendet sleep 5 We would expect killall to work regardless of the used locale. -- System Information: Debian Release: 8.4 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: i386 (x86_64) Foreign Architectures: amd64 Kernel: Linux 3.14-0.bpo.2-amd64 (SMP w/8 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: unable to detect Versions of packages psmisc depends on: ii libc6 2.19-18+deb8u4 ii libtinfo5 5.9+20140913-1+b1 psmisc recommends no packages. psmisc suggests no packages. -- no debconf information -- Mit freundlichen Grüßen, Jörg Ludwig IServ GmbH Bültenweg 73 38106 Braunschweig Telefon: 0531-2243666-0 Fax: 0531-2243666-9 Mobil: 0179-9101055 E-Mail: joerg.lud...@iserv.eu Internet:www.iserv.eu USt.-IdNr.: DE265149425