r6626 - in glibc-package/branches/glibc-2.21/debian: . patches/hurd-i386

2015-10-08 Thread Samuel Thibault
Author: sthibault
Date: 2015-10-08 07:20:18 + (Thu, 08 Oct 2015)
New Revision: 6626

Modified:
   glibc-package/branches/glibc-2.21/debian/changelog
   glibc-package/branches/glibc-2.21/debian/libc0.3.symbols.hurd-i386
   
glibc-package/branches/glibc-2.21/debian/patches/hurd-i386/unsubmitted-gnumach.defs.diff
Log:
* patches/hurd-i386/unsubmitted-gnumach.defs.diff: Also build
  task_notify.defs stubs.  Drop unneeded change.
* libc0.3.symbols.hurd-i386: Update.


Modified: glibc-package/branches/glibc-2.21/debian/changelog
===
--- glibc-package/branches/glibc-2.21/debian/changelog  2015-10-07 14:28:15 UTC 
(rev 6625)
+++ glibc-package/branches/glibc-2.21/debian/changelog  2015-10-08 07:20:18 UTC 
(rev 6626)
@@ -13,6 +13,9 @@
 including the former, since the latter is what gets installed.
   * patches/hurd-i386/cvs-cache-mach_host_self.diff: New patch to avoid port
 count issue on the host port.
+  * patches/hurd-i386/unsubmitted-gnumach.defs.diff: Also build
+task_notify.defs stubs.  Drop unneeded change.
+  * libc0.3.symbols.hurd-i386: Update.
 
   [ Aurelien Jarno ]
   * rules.d/debhelper.mk: replace GLIBC_VERSION before LIBC.  Closes:

Modified: glibc-package/branches/glibc-2.21/debian/libc0.3.symbols.hurd-i386
===
--- glibc-package/branches/glibc-2.21/debian/libc0.3.symbols.hurd-i386  
2015-10-07 14:28:15 UTC (rev 6625)
+++ glibc-package/branches/glibc-2.21/debian/libc0.3.symbols.hurd-i386  
2015-10-08 07:20:18 UTC (rev 6626)
@@ -822,6 +822,7 @@
  __i386_io_perm_modify@Base 2.11
  __i386_set_gdt@Base 2.11
  __i386_set_ldt@Base 2.11
+ __mach_notify_new_task@Base 2.21
  __mach_port_allocate_name_rpc@Base 2.11
  __mach_port_allocate_rpc@Base 2.11
  __mach_port_clear_protected_payload@Base 2.19-14~
@@ -977,6 +978,7 @@
  i386_io_perm_modify@Base 2.11
  i386_set_gdt@Base 2.11
  i386_set_ldt@Base 2.11
+ mach_notify_new_task@Base 2.21
  mach_port_allocate_name_rpc@Base 2.11
  mach_port_allocate_rpc@Base 2.11
  mach_port_clear_protected_payload@Base 2.19-14~

Modified: 
glibc-package/branches/glibc-2.21/debian/patches/hurd-i386/unsubmitted-gnumach.defs.diff
===
--- 
glibc-package/branches/glibc-2.21/debian/patches/hurd-i386/unsubmitted-gnumach.defs.diff
2015-10-07 14:28:15 UTC (rev 6625)
+++ 
glibc-package/branches/glibc-2.21/debian/patches/hurd-i386/unsubmitted-gnumach.defs.diff
2015-10-08 07:20:18 UTC (rev 6626)
@@ -1,16 +1,5 @@
-Build stubs for new gnumach.defs
+Build stubs for new task_notify.defs and gnumach.defs
 
 a/mach/Makefile
-+++ b/mach/Makefile
-@@ -111,7 +111,7 @@ ifndef mach-shortcuts
- # $(mach-shortcuts) will be set, and that will change how
- # mach_interface.defs is processed: it will get the -D flags below.
- user-interfaces := $(filter-out $(mach-interface-list:%=mach/%) \
--  mach/mach_port mach/mach_host mach/mach4 \
-+  mach/mach_port mach/mach_host mach/mach4 
mach/gnumach \
-   device/device_request,\
-   $(user-interfaces))
- endif
 --- a/sysdeps/mach/configure
 +++ b/sysdeps/mach/configure
 @@ -277,7 +277,7 @@ if test $libc_cv_mach_task_creation_time
@@ -18,7 +7,7 @@
  
  mach_interface_list=
 -for ifc in mach mach4 \
-+for ifc in mach mach4 gnumach \
++for ifc in mach mach4 task_notify gnumach \
   clock clock_priv host_priv host_security ledger lock_set \
   processor processor_set task thread_act vm_map \
   memory_object memory_object_default default_pager \
@@ -29,7 +18,7 @@
  dnl
  mach_interface_list=
 -for ifc in mach mach4 \
-+for ifc in mach mach4 gnumach \
++for ifc in mach mach4 task_notify gnumach \
   clock clock_priv host_priv host_security ledger lock_set \
   processor processor_set task thread_act vm_map \
   memory_object memory_object_default default_pager \



r6627 - in glibc-package/branches/glibc-2.22/debian: . patches/hurd-i386

2015-10-08 Thread Samuel Thibault
Author: sthibault
Date: 2015-10-08 07:21:04 + (Thu, 08 Oct 2015)
New Revision: 6627

Modified:
   glibc-package/branches/glibc-2.22/debian/changelog
   glibc-package/branches/glibc-2.22/debian/libc0.3.symbols.hurd-i386
   
glibc-package/branches/glibc-2.22/debian/patches/hurd-i386/unsubmitted-gnumach.defs.diff
Log:
backport r6626 from 2.21

  * patches/hurd-i386/unsubmitted-gnumach.defs.diff: Also build
task_notify.defs stubs.  Drop unneeded change.
  * libc0.3.symbols.hurd-i386: Update.


Modified: glibc-package/branches/glibc-2.22/debian/changelog
===
--- glibc-package/branches/glibc-2.22/debian/changelog  2015-10-08 07:20:18 UTC 
(rev 6626)
+++ glibc-package/branches/glibc-2.22/debian/changelog  2015-10-08 07:21:04 UTC 
(rev 6627)
@@ -80,6 +80,9 @@
 including the former, since the latter is what gets installed.
   * patches/hurd-i386/cvs-cache-mach_host_self.diff: New patch to avoid port
 count issue on the host port.
+  * patches/hurd-i386/unsubmitted-gnumach.defs.diff: Also build
+task_notify.defs stubs.  Drop unneeded change.
+  * libc0.3.symbols.hurd-i386: Update.
 
   [ Aurelien Jarno ]
   * rules.d/debhelper.mk: replace GLIBC_VERSION before LIBC.  Closes:

Modified: glibc-package/branches/glibc-2.22/debian/libc0.3.symbols.hurd-i386
===
--- glibc-package/branches/glibc-2.22/debian/libc0.3.symbols.hurd-i386  
2015-10-08 07:20:18 UTC (rev 6626)
+++ glibc-package/branches/glibc-2.22/debian/libc0.3.symbols.hurd-i386  
2015-10-08 07:21:04 UTC (rev 6627)
@@ -822,6 +822,7 @@
  __i386_io_perm_modify@Base 2.11
  __i386_set_gdt@Base 2.11
  __i386_set_ldt@Base 2.11
+ __mach_notify_new_task@Base 2.21
  __mach_port_allocate_name_rpc@Base 2.11
  __mach_port_allocate_rpc@Base 2.11
  __mach_port_clear_protected_payload@Base 2.19-14~
@@ -977,6 +978,7 @@
  i386_io_perm_modify@Base 2.11
  i386_set_gdt@Base 2.11
  i386_set_ldt@Base 2.11
+ mach_notify_new_task@Base 2.21
  mach_port_allocate_name_rpc@Base 2.11
  mach_port_allocate_rpc@Base 2.11
  mach_port_clear_protected_payload@Base 2.19-14~

Modified: 
glibc-package/branches/glibc-2.22/debian/patches/hurd-i386/unsubmitted-gnumach.defs.diff
===
--- 
glibc-package/branches/glibc-2.22/debian/patches/hurd-i386/unsubmitted-gnumach.defs.diff
2015-10-08 07:20:18 UTC (rev 6626)
+++ 
glibc-package/branches/glibc-2.22/debian/patches/hurd-i386/unsubmitted-gnumach.defs.diff
2015-10-08 07:21:04 UTC (rev 6627)
@@ -1,16 +1,5 @@
-Build stubs for new gnumach.defs
+Build stubs for new task_notify.defs and gnumach.defs
 
 a/mach/Makefile
-+++ b/mach/Makefile
-@@ -111,7 +111,7 @@ ifndef mach-shortcuts
- # $(mach-shortcuts) will be set, and that will change how
- # mach_interface.defs is processed: it will get the -D flags below.
- user-interfaces := $(filter-out $(mach-interface-list:%=mach/%) \
--  mach/mach_port mach/mach_host mach/mach4 \
-+  mach/mach_port mach/mach_host mach/mach4 
mach/gnumach \
-   device/device_request,\
-   $(user-interfaces))
- endif
 --- a/sysdeps/mach/configure
 +++ b/sysdeps/mach/configure
 @@ -277,7 +277,7 @@ if test $libc_cv_mach_task_creation_time
@@ -18,7 +7,7 @@
  
  mach_interface_list=
 -for ifc in mach mach4 \
-+for ifc in mach mach4 gnumach \
++for ifc in mach mach4 task_notify gnumach \
   clock clock_priv host_priv host_security ledger lock_set \
   processor processor_set task thread_act vm_map \
   memory_object memory_object_default default_pager \
@@ -29,7 +18,7 @@
  dnl
  mach_interface_list=
 -for ifc in mach mach4 \
-+for ifc in mach mach4 gnumach \
++for ifc in mach mach4 task_notify gnumach \
   clock clock_priv host_priv host_security ledger lock_set \
   processor processor_set task thread_act vm_map \
   memory_object memory_object_default default_pager \



r6628 - in tzdata/trunk/debian: . po

2015-10-08 Thread Aurelien Jarno
Author: aurel32
Date: 2015-10-08 15:27:27 + (Thu, 08 Oct 2015)
New Revision: 6628

Modified:
   tzdata/trunk/debian/po/be.po
   tzdata/trunk/debian/po/bg.po
   tzdata/trunk/debian/po/ca.po
   tzdata/trunk/debian/po/cs.po
   tzdata/trunk/debian/po/da.po
   tzdata/trunk/debian/po/de.po
   tzdata/trunk/debian/po/en.po
   tzdata/trunk/debian/po/es.po
   tzdata/trunk/debian/po/eu.po
   tzdata/trunk/debian/po/fi.po
   tzdata/trunk/debian/po/fr.po
   tzdata/trunk/debian/po/gl.po
   tzdata/trunk/debian/po/gu.po
   tzdata/trunk/debian/po/he.po
   tzdata/trunk/debian/po/hr.po
   tzdata/trunk/debian/po/hu.po
   tzdata/trunk/debian/po/id.po
   tzdata/trunk/debian/po/it.po
   tzdata/trunk/debian/po/ja.po
   tzdata/trunk/debian/po/ku.po
   tzdata/trunk/debian/po/lt.po
   tzdata/trunk/debian/po/ml.po
   tzdata/trunk/debian/po/nl.po
   tzdata/trunk/debian/po/pl.po
   tzdata/trunk/debian/po/pt.po
   tzdata/trunk/debian/po/pt_BR.po
   tzdata/trunk/debian/po/ru.po
   tzdata/trunk/debian/po/sk.po
   tzdata/trunk/debian/po/sq.po
   tzdata/trunk/debian/po/sv.po
   tzdata/trunk/debian/po/th.po
   tzdata/trunk/debian/po/tr.po
   tzdata/trunk/debian/po/vi.po
   tzdata/trunk/debian/po/wo.po
   tzdata/trunk/debian/tzdata.templates
Log:
Import autogenerated templates and corresponding po files


Modified: tzdata/trunk/debian/po/be.po
===
--- tzdata/trunk/debian/po/be.po2015-10-08 07:21:04 UTC (rev 6627)
+++ tzdata/trunk/debian/po/be.po2015-10-08 15:27:27 UTC (rev 6628)
@@ -21,7 +21,7 @@
 msgstr ""
 "Project-Id-Version: tzdata_2008i-2_be\n"
 "Report-Msgid-Bugs-To: tzd...@packages.debian.org\n"
-"POT-Creation-Date: 2013-12-24 23:07+0100\n"
+"POT-Creation-Date: 2015-10-08 14:48+\n"
 "PO-Revision-Date: 2013-12-24 23:13+0100\n"
 "Last-Translator: Pavel Piatruk \n"
 "Language-Team: Belarusian (Official spelling) \n"
@@ -1016,6 +1016,13 @@
 #. Choices
 #. Translators: do not translate underscores. You can use spaces instead.
 #: ../tzdata.templates:3001
+msgid "Fort_Nelson"
+msgstr ""
+
+#. Type: select
+#. Choices
+#. Translators: do not translate underscores. You can use spaces instead.
+#: ../tzdata.templates:3001
 msgid "Fortaleza"
 msgstr "Фарталеза"
 
@@ -1785,6 +1792,13 @@
 #. Choices
 #. Translators: do not translate underscores. You can use spaces instead.
 #: ../tzdata.templates:4001
+msgid "Troll"
+msgstr ""
+
+#. Type: select
+#. Choices
+#. Translators: do not translate underscores. You can use spaces instead.
+#: ../tzdata.templates:4001
 msgid "Vostok"
 msgstr "Васток"
 
@@ -1995,6 +2009,13 @@
 #. Choices
 #. Translators: do not translate underscores. You can use spaces instead.
 #: ../tzdata.templates:7001
+msgid "Chita"
+msgstr ""
+
+#. Type: select
+#. Choices
+#. Translators: do not translate underscores. You can use spaces instead.
+#: ../tzdata.templates:7001
 msgid "Choibalsan"
 msgstr "Чойбалсан"
 
@@ -2365,6 +2386,13 @@
 #. Choices
 #. Translators: do not translate underscores. You can use spaces instead.
 #: ../tzdata.templates:7001
+msgid "Srednekolymsk"
+msgstr ""
+
+#. Type: select
+#. Choices
+#. Translators: do not translate underscores. You can use spaces instead.
+#: ../tzdata.templates:7001
 msgid "Taipei"
 msgstr "Тайпэй"
 
@@ -3044,6 +3072,15 @@
 #. Choices
 #. Translators: do not translate underscores. You can use spaces instead.
 #: ../tzdata.templates:11001
+#, fuzzy
+#| msgid "Brazzaville"
+msgid "Bougainville"
+msgstr "Бразавіль"
+
+#. Type: select
+#. Choices
+#. Translators: do not translate underscores. You can use spaces instead.
+#: ../tzdata.templates:11001
 msgid "Chatham"
 msgstr "Чатам"
 

Modified: tzdata/trunk/debian/po/bg.po
===
--- tzdata/trunk/debian/po/bg.po2015-10-08 07:21:04 UTC (rev 6627)
+++ tzdata/trunk/debian/po/bg.po2015-10-08 15:27:27 UTC (rev 6628)
@@ -17,7 +17,7 @@
 msgstr ""
 "Project-Id-Version: bg\n"
 "Report-Msgid-Bugs-To: tzd...@packages.debian.org\n"
-"POT-Creation-Date: 2013-12-24 23:07+0100\n"
+"POT-Creation-Date: 2015-10-08 14:48+\n"
 "PO-Revision-Date: 2013-12-24 23:13+0100\n"
 "Last-Translator: Yavor Doganov \n"
 "Language-Team: Bulgarian \n"
@@ -1009,6 +1009,13 @@
 #. Choices
 #. Translators: do not translate underscores. You can use spaces instead.
 #: ../tzdata.templates:3001
+msgid "Fort_Nelson"
+msgstr ""
+
+#. Type: select
+#. Choices
+#. Translators: do not translate underscores. You can use spaces instead.
+#: ../tzdata.templates:3001
 msgid "Fortaleza"
 msgstr "Форталеза"
 
@@ -1778,6 +1785,13 @@
 #. Choices
 #. Translators: do not translate underscores. You can use spaces instead.
 #: ../tzdata.templates:4001
+msgid "Troll"
+msgstr ""
+
+#. Type: select
+#. Choices
+#. Translators: do not translate underscores. You can use spaces instead.
+#: ../tzdata.templates:4001
 msgid "Vostok"
 msgstr "Восток"
 
@@ -1988,6 

Processed: fixed 800682 in glibc/2.21-0experimental0

2015-10-08 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> fixed 800682 glibc/2.21-0experimental0
Bug #800682 [libc6] libc6: nscd reports bogus result for ipv6-only requests
Marked as fixed in versions glibc/2.21-0experimental0.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
800682: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=800682
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



r6631 - in glibc-package/branches/glibc-2.21/debian: . debhelper.in

2015-10-08 Thread Aurelien Jarno
Author: aurel32
Date: 2015-10-08 21:17:55 + (Thu, 08 Oct 2015)
New Revision: 6631

Modified:
   glibc-package/branches/glibc-2.21/debian/changelog
   glibc-package/branches/glibc-2.21/debian/debhelper.in/libc.preinst
Log:
debhelper.in/libc.preinst: fix up error message for too old Linux
kernels.  Closes: #800846.

Modified: glibc-package/branches/glibc-2.21/debian/changelog
===
--- glibc-package/branches/glibc-2.21/debian/changelog  2015-10-08 18:13:31 UTC 
(rev 6630)
+++ glibc-package/branches/glibc-2.21/debian/changelog  2015-10-08 21:17:55 UTC 
(rev 6631)
@@ -63,6 +63,8 @@
 binary-indep targets.
   * patches/hppa/cvs-alloca-werror.diff: new patch from upstream to fix a
 build failure.
+  * debhelper.in/libc.preinst: fix up error message for too old Linux
+kernels.  Closes: #800846.
 
   [ Steven Chamberlain ]
   * sysdeps/kfreebsd.mk: find kfreebsd-kernel-headers in multiarch path.

Modified: glibc-package/branches/glibc-2.21/debian/debhelper.in/libc.preinst
===
--- glibc-package/branches/glibc-2.21/debian/debhelper.in/libc.preinst  
2015-10-08 18:13:31 UTC (rev 6630)
+++ glibc-package/branches/glibc-2.21/debian/debhelper.in/libc.preinst  
2015-10-08 21:17:55 UTC (rev 6631)
@@ -362,7 +362,7 @@
 if linux_compare_versions "$kernel_ver" lt 3.2
 then
 echo WARNING: this version of the GNU libc requires kernel version
-echo 2.6.32 or later.  Please upgrade your kernel before installing
+echo 3.2 or later.  Please upgrade your kernel before installing
 echo glibc.
 kernel26_help
 



Bug#800574: Final analysis for Broadwell

2015-10-08 Thread Henrique de Moraes Holschuh
tag 800574 + patch
thanks

Attached updated version of amd64/local-blacklist-on-TSX-Haswell.diff.  
I believe it should be renamed to
"amd64/local-blacklist-for-Intel-TSX.diff" as it is not just about Intel
Haswell anymore.

The updated patch has been package-compile-tested on glibc 2.19-22.

This new version of the blacklist patch had the patch header text and
blacklist code comments updated.   It doesn't change anything for
Haswell.  It adds to the blacklist the current Broadwell CPU models and
steppings.

Broadwell-H with a very recent microcode update (rev 0x12, from
2015-06-04) was confirmed to have broken TSX-NI (RTM) and to _leave it
enabled_ in CPUID, causing glibc with lock elision enabled to SIGSEGV. 
An even more recent Broadwell-H microcode update, rev 0x13 from
2015-08-03, is confirmed to (finally) disable the HLE and RTM CPUID
bits.  This should make blacklisting signature 0x40671 uncontroversial.

Refer to https://bugzilla.kernel.org/show_bug.cgi?id=103351 for details.

This version of the blacklist patch leaves upcoming Broadwell-E
unblacklisted.  It also leaves Skylake unblacklisted, as I have not been
able to confirm whether the newest Skylake-S microcode updates have
working Intel TSX-NI, or have it disabled.

I propose that the updated blacklist patch be added to glibc in
unstable, and after it spends a few weeks in testing, that it should
also be the added to stable through a stable update.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique de Moraes Holschuh 
Intel TSX is broken on Haswell based processors (erratum HSD136/HSW136)
and a microcode update is available to simply disable the corresponding
instructions.

A live microcode update will disable the TSX instructions causing
already started binaries to segfault. This patch simply disable Intel
TSX (HLE and RTM) on processors which might receive a microcode update,
so that it doesn't happen.  We might expect newer steppings to fix the
issue (e.g. as Haswell-EX did).

Intel TSX-NI is also broken on Broadwell systems, and documented as
being unavailable in their specification updates errata list.  However,
some end-user systems were shipped with old microcode that left Intel
TSX-NI still enabled in CPUID on these processors.  We must not allow
RTM to be used by glibc on these systems, due to runtime system
misbehavior and live-update of microcode hazards.

Author: Henrique de Moraes Holschuh 

Index: glibc-2.19/sysdeps/x86_64/multiarch/init-arch.c
===
--- glibc-2.19.orig/sysdeps/x86_64/multiarch/init-arch.c	2014-02-07 07:04:38.0 -0200
+++ glibc-2.19/sysdeps/x86_64/multiarch/init-arch.c	2015-10-07 09:07:59.272156212 -0300
@@ -26,7 +26,7 @@
 
 
 static void
-get_common_indeces (unsigned int *family, unsigned int *model)
+get_common_indeces (unsigned int *family, unsigned int *model, unsigned int *stepping)
 {
   __cpuid (1, __cpu_features.cpuid[COMMON_CPUID_INDEX_1].eax,
 	   __cpu_features.cpuid[COMMON_CPUID_INDEX_1].ebx,
@@ -36,6 +36,7 @@
   unsigned int eax = __cpu_features.cpuid[COMMON_CPUID_INDEX_1].eax;
   *family = (eax >> 8) & 0x0f;
   *model = (eax >> 4) & 0x0f;
+  *stepping = eax & 0x0f;
 }
 
 
@@ -47,6 +48,7 @@
   unsigned int edx;
   unsigned int family = 0;
   unsigned int model = 0;
+  unsigned int stepping = 0;
   enum cpu_features_kind kind;
 
   __cpuid (0, __cpu_features.max_cpuid, ebx, ecx, edx);
@@ -56,7 +58,7 @@
 {
   kind = arch_kind_intel;
 
-  get_common_indeces (, );
+  get_common_indeces (, , );
 
   unsigned int eax = __cpu_features.cpuid[COMMON_CPUID_INDEX_1].eax;
   unsigned int extended_family = (eax >> 20) & 0xff;
@@ -131,7 +133,7 @@
 {
   kind = arch_kind_amd;
 
-  get_common_indeces (, );
+  get_common_indeces (, , );
 
   ecx = __cpu_features.cpuid[COMMON_CPUID_INDEX_1].ecx;
 
@@ -176,6 +178,24 @@
 	}
 }
 
+  /* Disable Intel TSX (HLE and RTM) due to erratum HSD136/HSW136
+ on all Haswell processors, except Haswell-EX/Xeon E7-v3 (306F4),
+ to work around outdated microcode that doesn't disable the
+ broken feature by default.
+
+ Disable TSX on Broadwell, due to errata BDM53/BDW51/BDD51/
+ BDE42.  The errata documentation states that RTM is unusable,
+ and that it should not be advertised by CPUID at all on any
+ such processors.  Unfortunately, it _is_ advertised in some
+ (older) microcode versions.  Exceptions: Broadwell-E (406Fx),
+ likely already fixed at launch */
+  if (kind == arch_kind_intel && family == 6 &&
+  ((model == 63 && stepping <= 2) || (model == 60 && stepping <= 3) ||
+   (model == 69 && stepping <= 1) || (model == 70 && stepping <= 1) ||
+   (model == 61 && stepping <= 4) || (model == 71 && stepping <= 1) ||
+   (model == 

Processed: Re: Final analysis for Broadwell

2015-10-08 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> tag 800574 + patch
Bug #800574 [libc6] libc6: lock elision hazard on Intel Broadwell and Skylake
Added tag(s) patch.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
800574: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=800574
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#801362: /lib/x86_64-linux-gnu/libnss_dns.so.2: Host names ending in ".localhost" do not return the loopback address as specified by RFC6761.

2015-10-08 Thread y.st.
Package: libc6
Version: 2.19-18+deb8u1

Dear Maintainer,

* What led up to the situation?

I was testing virtual hosts locally in Apache and set up a host that
responds
with a different site depending on the host name it recieves.

* What exactly did you do (or not do) that was effective (or
ineffective)?

I tried loading  in the Web browser.

   * What was the outcome of this action?

My machine quiried my ISP's name server and returned an advertizement
page.

   * What outcome did you expect instead?

My machine should have returned the loopback address without querying my
ISP's
name server, then loaded the website from my local machine as specified
by
RFC6761:


6.3.  Domain Name Reservation Considerations for "localhost."

The domain "localhost." and any names falling within
".localhost."
are special in the following ways:

3.  Name resolution APIs and libraries SHOULD recognize
localhost
names as special and SHOULD always return the IP
loopback
address
for address queries and negative responses for all other
query
types.  Name resolution APIs SHOULD NOT send queries for
localhost names to their configured caching DNS
server(s).



-- System Information:
Debian Release: 8.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (500,
'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=eo.utf8, LC_CTYPE=eo.utf8 (charmap=ANSI_X3.4-1968)
(ignored: LC_ALL set to POSIX)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libc6:amd64 depends on:
ii  libgcc1  1:4.9.2-10

libc6:amd64 recommends no packages.

Versions of packages libc6:amd64 suggests:
ii  debconf [debconf-2.0]  1.5.56
pn  glibc-doc  
ii  locales2.19-18+deb8u1

-- debconf information:
  glibc/restart-failed:
  glibc/disable-screensaver:
  glibc/restart-services:



r6630 - glibc-package/branches/glibc-branch-jessie/debian/patches

2015-10-08 Thread Aurelien Jarno
Author: aurel32
Date: 2015-10-08 18:13:31 + (Thu, 08 Oct 2015)
New Revision: 6630

Modified:
   glibc-package/branches/glibc-branch-jessie/debian/patches/git-updates.diff
Log:
Update from upstream to not introduce #800682


Modified: 
glibc-package/branches/glibc-branch-jessie/debian/patches/git-updates.diff
===
--- glibc-package/branches/glibc-branch-jessie/debian/patches/git-updates.diff  
2015-10-08 18:00:54 UTC (rev 6629)
+++ glibc-package/branches/glibc-branch-jessie/debian/patches/git-updates.diff  
2015-10-08 18:13:31 UTC (rev 6630)
@@ -1,10 +1,21 @@
 GIT update of git://sourceware.org/git/glibc.git/release/2.19/master from 
glibc-2.19
 
 diff --git a/ChangeLog b/ChangeLog
-index 81c393a..3964305 100644
+index 81c393a..6aff2a2 100644
 --- a/ChangeLog
 +++ b/ChangeLog
-@@ -1,3 +1,347 @@
+@@ -1,3 +1,358 @@
++2015-10-02  Andreas Schwab  
++
++  * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
++  when skipping over non-matching result from nscd.
++
++2015-09-11  Alan Modra  
++
++  [BZ #17153]
++  * elf/elf.h (DT_PPC64_NUM): Correct value.
++  * NEWS: Add to fixed bug list.
++
 +2014-03-20  Andreas Schwab  
 +
 +  [BZ #16743]
@@ -353,7 +364,7 @@
  
[BZ #16529]
 diff --git a/NEWS b/NEWS
-index 98b479e..be59ead 100644
+index 98b479e..fb0fa3c 100644
 --- a/NEWS
 +++ b/NEWS
 @@ -5,6 +5,59 @@ See the end for copying conditions.
@@ -365,8 +376,8 @@
 +* The following bugs are resolved with this release:
 +
 +  15946, 16545, 16574, 16623, 16657, 16695, 16743, 16878, 16882, 16885,
-+  16916, 16932, 16943, 16958, 17048, 17069, 17137, 17213, 17263, 17325,
-+  17555, 18287.
++  16916, 16932, 16943, 16958, 17048, 17069, 17137, 17153, 17213, 17263,
++  17325, 17555, 18287.
 +
 +* A buffer overflow in gethostbyname_r and related functions performing DNS
 +  requests has been fixed.  If the NSS functions were called with a
@@ -429,6 +440,19 @@
  ifeq (yes,$(build-shared))
  tests-static += tst-tls9-static
  tst-tls9-static-ENV = \
+diff --git a/elf/elf.h b/elf/elf.h
+index 40e87b2..78815e8 100644
+--- a/elf/elf.h
 b/elf/elf.h
+@@ -2283,7 +2283,7 @@ typedef Elf32_Addr Elf32_Conflict;
+ #define DT_PPC64_OPD  (DT_LOPROC + 1)
+ #define DT_PPC64_OPDSZ(DT_LOPROC + 2)
+ #define DT_PPC64_OPT  (DT_LOPROC + 3)
+-#define DT_PPC64_NUM3
++#define DT_PPC64_NUM4
+ 
+ /* PowerPC64 specific values for the DT_PPC64_OPT Dyn entry.  */
+ #define PPC64_OPT_TLS 1
 diff --git a/elf/tst-dl-iter-static.c b/elf/tst-dl-iter-static.c
 new file mode 100644
 index 000..7303d7c
@@ -2708,24 +2732,28 @@
  cor = (cor > 0) ? 1.035 * cor + eps : 1.035 * cor - eps;
  retval = ((res == res + cor) ? ((m) ? res : -res)
 diff --git a/sysdeps/posix/getaddrinfo.c b/sysdeps/posix/getaddrinfo.c
-index 8218237..b3cc124 100644
+index 8218237..d2283bc 100644
 --- a/sysdeps/posix/getaddrinfo.c
 +++ b/sysdeps/posix/getaddrinfo.c
-@@ -710,6 +710,14 @@ gaih_inet (const char *name, const struct gaih_service 
*service,
- struct gaih_addrtuple *addrfree = addrmem;
- for (int i = 0; i < air->naddrs; ++i)
+@@ -712,6 +712,18 @@ gaih_inet (const char *name, const struct gaih_service 
*service,
{
+ socklen_t size = (air->family[i] == AF_INET
+   ? INADDRSZ : IN6ADDRSZ);
++
 +if (!((air->family[i] == AF_INET
 +   && req->ai_family == AF_INET6
 +   && (req->ai_flags & AI_V4MAPPED) != 0)
 +  || req->ai_family == AF_UNSPEC
 +  || air->family[i] == req->ai_family))
-+  /* Skip over non-matching result.  */
-+  continue;
++  {
++/* Skip over non-matching result.  */
++addrs += size;
++continue;
++  }
 +
- socklen_t size = (air->family[i] == AF_INET
-   ? INADDRSZ : IN6ADDRSZ);
  if (*pat == NULL)
+   {
+ *pat = addrfree++;
 diff --git a/sysdeps/powerpc/powerpc64/entry.h 
b/sysdeps/powerpc/powerpc64/entry.h
 index 76ead1d..30553c1 100644
 --- a/sysdeps/powerpc/powerpc64/entry.h



r6629 - tzdata/trunk/debian/po

2015-10-08 Thread Aurelien Jarno
Author: aurel32
Date: 2015-10-08 18:00:54 + (Thu, 08 Oct 2015)
New Revision: 6629

Modified:
   tzdata/trunk/debian/po/templates.pot
Log:
Also Update templates.pot

Modified: tzdata/trunk/debian/po/templates.pot
===
--- tzdata/trunk/debian/po/templates.pot2015-10-08 15:27:27 UTC (rev 
6628)
+++ tzdata/trunk/debian/po/templates.pot2015-10-08 18:00:54 UTC (rev 
6629)
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: tzdata\n"
 "Report-Msgid-Bugs-To: tzd...@packages.debian.org\n"
-"POT-Creation-Date: 2013-12-24 23:07+0100\n"
+"POT-Creation-Date: 2015-10-08 14:48+\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME \n"
 "Language-Team: LANGUAGE \n"
@@ -992,6 +992,13 @@
 #. Choices
 #. Translators: do not translate underscores. You can use spaces instead.
 #: ../tzdata.templates:3001
+msgid "Fort_Nelson"
+msgstr ""
+
+#. Type: select
+#. Choices
+#. Translators: do not translate underscores. You can use spaces instead.
+#: ../tzdata.templates:3001
 msgid "Fortaleza"
 msgstr ""
 
@@ -1755,6 +1762,13 @@
 #. Choices
 #. Translators: do not translate underscores. You can use spaces instead.
 #: ../tzdata.templates:4001
+msgid "Troll"
+msgstr ""
+
+#. Type: select
+#. Choices
+#. Translators: do not translate underscores. You can use spaces instead.
+#: ../tzdata.templates:4001
 msgid "Vostok"
 msgstr ""
 
@@ -1965,6 +1979,13 @@
 #. Choices
 #. Translators: do not translate underscores. You can use spaces instead.
 #: ../tzdata.templates:7001
+msgid "Chita"
+msgstr ""
+
+#. Type: select
+#. Choices
+#. Translators: do not translate underscores. You can use spaces instead.
+#: ../tzdata.templates:7001
 msgid "Choibalsan"
 msgstr ""
 
@@ -2335,6 +2356,13 @@
 #. Choices
 #. Translators: do not translate underscores. You can use spaces instead.
 #: ../tzdata.templates:7001
+msgid "Srednekolymsk"
+msgstr ""
+
+#. Type: select
+#. Choices
+#. Translators: do not translate underscores. You can use spaces instead.
+#: ../tzdata.templates:7001
 msgid "Taipei"
 msgstr ""
 
@@ -3014,6 +3042,13 @@
 #. Choices
 #. Translators: do not translate underscores. You can use spaces instead.
 #: ../tzdata.templates:11001
+msgid "Bougainville"
+msgstr ""
+
+#. Type: select
+#. Choices
+#. Translators: do not translate underscores. You can use spaces instead.
+#: ../tzdata.templates:11001
 msgid "Chatham"
 msgstr ""
 



Bug#801336: tzdata: Not up to date in Squeeze LTS, wrong daylight savings setting in America/Montevideo.

2015-10-08 Thread Ivan Baldo
Package: tzdata
Version: 2015d-0+deb6u1
Severity: normal
Tags: squeeze

America/Montevideo says UYST with -0200 which is wrong now, the country decided 
not to use the
daylight savings time, so we are in UYT -0300.
This is on Squeeze LTS only of course.
Thanks.

-- System Information:
Debian Release: 6.0.10
  APT prefers squeeze-lts
  APT policy: (500, 'squeeze-lts'), (500, 'oldoldstable-updates'), (500, 
'oldoldstable')
Architecture: i386 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=es_UY.UTF-8, LC_CTYPE=es_UY.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages tzdata depends on:
ii  debconf [debconf-2.0] 1.5.36.1   Debian configuration management sy

tzdata recommends no packages.

tzdata suggests no packages.

-- debconf information:
  tzdata/Zones/Australia:
  tzdata/Zones/Asia:
  tzdata/Zones/SystemV:
  tzdata/Zones/Pacific:
  tzdata/Zones/Atlantic:
  tzdata/Zones/US:
* tzdata/Zones/Etc: UTC
  tzdata/Zones/Arctic:
  tzdata/Zones/Antarctica:
  tzdata/Zones/Europe:
  tzdata/Zones/Africa:
* tzdata/Zones/America: Montevideo
* tzdata/Areas: America
  tzdata/Zones/Indian: