Bug#753725: Please don't run telinit u under systemd

2014-07-04 Thread Michael Biebl
Package: libc6
Version: 2.19-4
Severity: important
Tags: patch

The current version of libc6.postint runs telinit u to tell init to
re-exec itself. This was added so the system can shutdown cleanly when
sysvinit is the active PID 1.

Under systemd this is not necessary since systemd uses a dedicated
systemd-shutdown [1] tool which replaces init on shutdown. This ensures all
file systems can be unmounted cleanly.

Running telinit u midway through a dist-upgrade can have unwanted side
effects as the systemd package might be in an inconsistent state.
As you can see at [2], apt decided to remove libaudit0 (which is a
dependency of systemd in wheezy) and replace it with libaudit1. The new
systemd package is not yet unpacked. Running telinit u in such a state
will then lead to kernel panic.

Therefore please consider applying the attached patch in your next
upload.

Cheers,
Michael


[1] http://www.freedesktop.org/software/systemd/man/systemd-halt.service.html
[2] http://people.debian.org/~biebl/Debian-2014-07-04T13-18-40-656412000Z.webm

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

Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff --git a/debian/debhelper.in/libc.postinst b/debian/debhelper.in/libc.postinst
index 82ed0ba..1e8af5d 100644
--- a/debian/debhelper.in/libc.postinst
+++ b/debian/debhelper.in/libc.postinst
@@ -233,6 +233,11 @@ then
 touch /var/run/init.upgraded
 fi
 fi
+if [ -d /run/systemd/system ]; then
+# Skip if systemd is the active PID 1, since systemd doesn't
+# need a reexec for a clean shutdown
+TELINIT=no
+fi
 fi
 if [ $TELINIT = yes ]; then
 telinit u 2/dev/null || true ; sleep 1


[Bug nscd/4428] hosts caching does not respect TTL, and caches old IP's

2014-07-04 Thread fweimer at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=4428

Florian Weimer fweimer at redhat dot com changed:

   What|Removed |Added

 CC||fweimer at redhat dot com
  Flags||security-

-- 
You are receiving this mail because:
You are watching the reporter of the bug.


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/bug-4428-1917-zkotylw...@http.sourceware.org/bugzilla/



[Bug libc/4416] setlocales can fail silentely

2014-07-04 Thread fweimer at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=4416

Florian Weimer fweimer at redhat dot com changed:

   What|Removed |Added

 CC||fweimer at redhat dot com

-- 
You are receiving this mail because:
You are watching the reporter of the bug.


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/bug-4416-1917-lqnzuxi...@http.sourceware.org/bugzilla/



Bug#753542: perl-base - Segfaults in libperl.so.5.18

2014-07-04 Thread Emilio Pozuelo Monfort
On 03/07/14 19:50, Aurelien Jarno wrote:
 On Thu, Jul 03, 2014 at 07:43:57PM +0300, Niko Tyni wrote:
 On Thu, Jul 03, 2014 at 08:48:37AM +0200, Aurelien Jarno wrote:
 On Wed, Jul 02, 2014 at 11:29:58PM +0200, Bastian Blank wrote:

 The problem is a missmatch between the jmp_buf size in perl vs. modules.
 Aka the build against glibc 2.19 changed the public ABI of perl.

 Yes, jmp_buf had to be increased to support new CPUs. This has been done
 using symbol versioning, but unfortunately it doesn't work when jmp_buf
 is embedded in a struct like in perl.

 Upstream consider this as a non-issue and recommend to do the upgrade of
 all the perl packages in a lockstep.

 I see. A bit of googling turns up the related
  https://bugzilla.redhat.com/show_bug.cgi?id=1064271

 I note that  Carlos O'Donell says there

I expect Ruby is going to fail also since it embeds jmp_buf similarly.

 Has anybody noticed similar issues with Ruby?
 
 So far I haven't, but as symbol versioning is used, until we start
 mixing versions, the problem won't appear.
 
 How do we want to fix this so upgrades won't barf in the users face?

 The problem only concerns the jessie to jessie partial upgrades, 
 dist-upgrades should be fine. wheezy to jessie upgrades are also fine, 
 due to the perl 5.14 to 5.18 transition. If we want to fix that for
 jessie to jessie, one way is to start the perl 5.20 transition.

 So all libc6 reverse dependencies have been binNMU'd on s390x for this
 in early June?  It looks like some have a confusing changelog entry. I
 checked libterm-readline-gnu-perl and libreadonly-xs-perl, which state
 Rebuild against perl 5.18.

 I could make a sourceful perl upload incrementing perlapi-5.18.2 to
 for instance perlapi-5.18.2d (and removing perlapi-5.18.1) on s390x
 only. This would make ~500 reverse dependencies of perlapi-5.18.*
 uninstallable and require a new binNMU round for them. As libperl5.18
 has a tight dependency on perl-base, I don't think we'd need to
 do anything on the libperl side.
 
 I think this would work fine. From the buildds point of view, the 500
 binNMUs should not pose any problem, we have enough build power there.
 
 I think this would be the right way fix this, but I suppose it would
 affect ongoing transitions and the like. I'm cc'ing the release team
 for advice.

I have come up with:

https://release.debian.org/transitions/html/perlapi-5.18.2d-s390x.html

Although I would prefer to wait a bit and do 5.20 directly, I'm not affected by
this breakage as I don't have any s390x machines. So if you think this is
important enough, we could go ahead and do it now. The only conflict I see right
now is gdal with the poppler transition, but that one should be finished in two
or three days if everything goes well.

Emilio

 It'll still take at least a few weeks before we can do a clean perl 5.20
 transition. See #753529.
 -- 
 Niko

 


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/53b74656.3050...@debian.org