[Pkg-puppet-devel] Bug#724332: Problems with LC_ALL set to other than C

Klaus Ethgen Klaus at Ethgen.de
Mon Sep 23 19:32:59 UTC 2013

Package: facter
Version: 1.7.2-1
Severity: normal

On one system I have the locales set to de_DE; even for root. With that
settings I get the following from facter:
~> facter ipaddress
   eth0      Link encap:Ethernet  Hardware Adresse xx:xx:xx:xx:xx:xx
	     inet Adresse:xxx.xx.1.1  Bcast:xxx.xx.1.255  Maske:
	     inet6-Adresse: fe80::xxxx:xxff:fexx:xxxx/64 Gültigkeitsbereich:Verbindung
	     RX packets:3381852 errors:0 dropped:72557 overruns:0 frame:0
	     TX packets:2139666 errors:0 dropped:0 overruns:0 carrier:0
	     Kollisionen:0 Sendewarteschlangenlänge:1000
	     RX bytes:3092954832 (2.8 GiB)  TX bytes:298711674 (284.8 MiB)
	     Interrupt:20 Speicher:d4700000-d4720000

   lo        Link encap:Lokale Schleife
	     inet Adresse:  Maske:
	     inet6-Adresse: ::1/128 Gültigkeitsbereich:Maschine
	     UP LOOPBACK RUNNING  MTU:65536  Metrik:1
	     RX packets:196835 errors:0 dropped:0 overruns:0 frame:0
	     TX packets:196835 errors:0 dropped:0 overruns:0 carrier:0
	     Kollisionen:0 Sendewarteschlangenlänge:0
	     RX bytes:13036012 (12.4 MiB)  TX bytes:13036012 (12.4 MiB)

   tun0      Link encap:UNSPEC  Hardware Adresse 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
	     inet Adresse:192.168.xx.xx  P-z-P:192.168.xx.xx  Maske:
	     RX packets:93334 errors:0 dropped:0 overruns:0 frame:0
	     TX packets:111285 errors:0 dropped:0 overruns:0 carrier:0
	     Kollisionen:0 Sendewarteschlangenlänge:100
	     RX bytes:25497972 (24.3 MiB)  TX bytes:51608834 (49.2 MiB)

Setting it to C gives the following:
   ~> LC_ALL=C facter ipaddress

This is a regression as the version before didn't has this bug.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.7.5 (SMP w/4 CPU cores)
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1) (ignored: LC_ALL set to de_DE)
Shell: /bin/sh linked to /bin/dash

Versions of packages facter depends on:
ii  bind9-host [host]             1:9.9.3.dfsg.P2-4
ii  net-tools                     1.60-25
ii  ruby                          1:1.9.3
ii  ruby-json                     1.8.0-1
ii  ruby1.8 [ruby-interpreter]
ii  ruby1.9.1 [ruby-interpreter]

Versions of packages facter recommends:
ii  dmidecode  2.12-2
ii  pciutils   1:3.2.0-3
pn  virt-what  <none>

facter suggests no packages.

-- no debconf information

Klaus Ethgen                              http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16   Klaus Ethgen <Klaus at Ethgen.de>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C

More information about the Pkg-puppet-devel mailing list