[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#608903: marked as done (Causes reboot of d-i if installing with upstart)



Your message dated Thu, 07 Feb 2013 08:48:55 +0000
with message-id <E1U3NA7-0005vg-39@franck.debian.org>
and subject line Bug#608903: fixed in eglibc 2.17-0experimental2
has caused the Debian Bug report #608903,
regarding Causes reboot of d-i if installing with upstart
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
608903: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=608903
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: eglibc
Version: 2.11.2-3
Severity: normal
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch natty

        Hey there

 In eglibc 2.11.2-3, debian/debhelper.in/libc.postinst was changed
 roughly like this:
-    if [ "`uname -s`" = Linux ]; then
-      if [ "$(stat -c %d/%i /)" = "$(stat -Lc %d/%i /proc/1/root 2>/dev/null)" ]; then
-        # the devicenumber/inode pair of / is the same as that of /sbin/init's
-        # root, so we're *not* in a chroot
-        (telinit u ; sleep 1)
-      fi
-    fi
+    # Restart init. If it fails, there is nothing we can do, so.
+    #%just ignore the error
+    telinit u 2> /dev/null || true ; sleep 1

 changelog:
  * Always try to restart init when needed, and ignore the possible errors.
    Closes: #588922, 590175.

 When telinit in the chroot is upstart's telinit, it will send SIGTERM
 to PID 1 to signal an upstart instance to reexec itself.
 Unfortunately, busybox when used as /sbin/init (as is the case under
 d-i) will reboot when it receives a SIGTERM.

 While we probably want to change upstart to check whether PID 1 really
 is an upstart instance and not busybox, I also believe we should re-add
 the chroot check in libc.postinst as I don't think we need to restart
 init in this case.  I propose replacing the postinst snippet with this
 one:
    # try to restart init, unless in a chroot (may only be tested under Linux);
    # the chroot test is important in the case of e.g. d-i using busybox as
    # /sbin/init and installing upstart in a chroot: upstart's telinit sends
    # init a SIGTERM and busybox reboots on SIGTERM
    if [ "`uname -s`" != Linux ] || [ "$(stat -c %d/%i /)" = "$(stat -Lc %d/%i /proc/1/root 2>/dev/null)" ]; then
        # we ignore errors because there is nothing we can do if that fails,
        # and some weird/broken environments (e.g. no /dev/initctl but a
        # telinit expecting one) fail to run "telinit u"
        telinit u 2>/dev/null || true
        sleep 1
    fi

 This was originally reported in
 https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/694772
 Thanks to Colin Watson and others for analysis.

    Cheers,
-- 
Loïc Minier



--- End Message ---
--- Begin Message ---
Source: eglibc
Source-Version: 2.17-0experimental2

We believe that the bug you reported is fixed in the latest version of
eglibc, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 608903@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adam Conrad <adconrad@0c3.net> (supplier of updated eglibc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 06 Feb 2013 22:41:23 -0700
Source: eglibc
Binary: libc-bin libc-dev-bin glibc-doc eglibc-source locales locales-all nscd multiarch-support libc6 libc6-dev libc6-dbg libc6-prof libc6-pic libc6-udeb libc6.1 libc6.1-dev libc6.1-dbg libc6.1-prof libc6.1-pic libc6.1-udeb libc0.3 libc0.3-dev libc0.3-dbg libc0.3-prof libc0.3-pic libc0.3-udeb libc0.1 libc0.1-dev libc0.1-dbg libc0.1-prof libc0.1-pic libc0.1-udeb libc6-i386 libc6-dev-i386 libc6-sparc64 libc6-dev-sparc64 libc6-s390 libc6-dev-s390 libc6-s390x libc6-dev-s390x libc6-amd64 libc6-dev-amd64 libc6-powerpc libc6-dev-powerpc libc6-ppc64 libc6-dev-ppc64 libc6-mipsn32 libc6-dev-mipsn32 libc6-mips64 libc6-dev-mips64 libc6-armhf libc6-dev-armhf libc6-armel libc6-dev-armel libc0.1-i386 libc0.1-dev-i386 libc6-x32 libc6-dev-x32 libc6-i686 libc6-xen libc0.1-i686 libc0.3-i686 libc0.3-xen libc6.1-alphaev67 libc6-loongson2f libnss-dns-udeb libnss-files-udeb
Architecture: all amd64 source
Version: 2.17-0experimental2
Distribution: experimental
Urgency: low
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Changed-By: Adam Conrad <adconrad@0c3.net>
Closes: 608903
Launchpad-Bugs-Fixed: 1117602
Description: 
 eglibc-source - Embedded GNU C Library: sources
 glibc-doc  - Embedded GNU C Library: Documentation
 libc0.1-dbg - Embedded GNU C Library: detached debugging symbols
 libc0.1-dev - Embedded GNU C Library: Development Libraries and Header Files
 libc0.1-dev-i386 - Embedded GNU C Library: 32bit development libraries for AMD64
 libc0.1    - Embedded GNU C Library: Shared libraries
 libc0.1-i386 - Embedded GNU C Library: 32bit shared libraries for AMD64
 libc0.1-i686 - Embedded GNU C Library: Shared libraries [i686 optimized]
 libc0.1-pic - Embedded GNU C Library: PIC archive library
 libc0.1-prof - Embedded GNU C Library: Profiling Libraries
 libc0.1-udeb - Embedded GNU C Library: Shared libraries - udeb (udeb)
 libc0.3-dbg - Embedded GNU C Library: detached debugging symbols
 libc0.3-dev - Embedded GNU C Library: Development Libraries and Header Files
 libc0.3    - Embedded GNU C Library: Shared libraries
 libc0.3-i686 - Embedded GNU C Library: Shared libraries [i686 optimized]
 libc0.3-pic - Embedded GNU C Library: PIC archive library
 libc0.3-prof - Embedded GNU C Library: Profiling Libraries
 libc0.3-udeb - Embedded GNU C Library: Shared libraries - udeb (udeb)
 libc0.3-xen - Embedded GNU C Library: Shared libraries [Xen version]
 libc6.1-alphaev67 - Embedded GNU C Library: Shared libraries (EV67 optimized)
 libc6.1-dbg - Embedded GNU C Library: detached debugging symbols
 libc6.1-dev - Embedded GNU C Library: Development Libraries and Header Files
 libc6.1    - Embedded GNU C Library: Shared libraries
 libc6.1-pic - Embedded GNU C Library: PIC archive library
 libc6.1-prof - Embedded GNU C Library: Profiling Libraries
 libc6.1-udeb - Embedded GNU C Library: Shared libraries - udeb (udeb)
 libc6-amd64 - Embedded GNU C Library: 64bit Shared libraries for AMD64
 libc6-armel - Embedded GNU C Library: ARM softfp shared libraries for armhf
 libc6-armhf - Embedded GNU C Library: ARM hard float shared libraries for armel
 libc6-dbg  - Embedded GNU C Library: detached debugging symbols
 libc6-dev-amd64 - Embedded GNU C Library: 64bit Development Libraries for AMD64
 libc6-dev-armel - Embedded GNU C Library: ARM softfp development libraries for armh
 libc6-dev-armhf - Embedded GNU C Library: ARM hard float development libraries for
 libc6-dev  - Embedded GNU C Library: Development Libraries and Header Files
 libc6-dev-i386 - Embedded GNU C Library: 32-bit development libraries for AMD64
 libc6-dev-mips64 - Embedded GNU C Library: 64bit Development Libraries for MIPS64
 libc6-dev-mipsn32 - Embedded GNU C Library: n32 Development Libraries for MIPS64
 libc6-dev-powerpc - Embedded GNU C Library: 32bit powerpc development libraries for p
 libc6-dev-ppc64 - Embedded GNU C Library: 64bit Development Libraries for PowerPC64
 libc6-dev-s390 - Embedded GNU C Library: 32bit Development Libraries for IBM zSeri
 libc6-dev-s390x - Embedded GNU C Library: 64bit Development Libraries for IBM zSeri
 libc6-dev-sparc64 - Embedded GNU C Library: 64bit Development Libraries for UltraSPAR
 libc6-dev-x32 - Embedded GNU C Library: X32 ABI Development Libraries for AMD64
 libc6      - Embedded GNU C Library: Shared libraries
 libc6-i386 - Embedded GNU C Library: 32-bit shared libraries for AMD64
 libc6-i686 - Embedded GNU C Library: Shared libraries [i686 optimized]
 libc6-loongson2f - Embedded GNU C Library: Shared libraries (Loongson 2F optimized)
 libc6-mips64 - Embedded GNU C Library: 64bit Shared libraries for MIPS64
 libc6-mipsn32 - Embedded GNU C Library: n32 Shared libraries for MIPS64
 libc6-pic  - Embedded GNU C Library: PIC archive library
 libc6-powerpc - Embedded GNU C Library: 32bit powerpc shared libraries for ppc64
 libc6-ppc64 - Embedded GNU C Library: 64bit Shared libraries for PowerPC64
 libc6-prof - Embedded GNU C Library: Profiling Libraries
 libc6-s390 - Embedded GNU C Library: 32bit Shared libraries for IBM zSeries
 libc6-s390x - Embedded GNU C Library: 64bit Shared libraries for IBM zSeries
 libc6-sparc64 - Embedded GNU C Library: 64bit Shared libraries for UltraSPARC
 libc6-udeb - Embedded GNU C Library: Shared libraries - udeb (udeb)
 libc6-x32  - Embedded GNU C Library: X32 ABI Shared libraries for AMD64
 libc6-xen  - Embedded GNU C Library: Shared libraries [Xen version]
 libc-bin   - Embedded GNU C Library: Binaries
 libc-dev-bin - Embedded GNU C Library: Development binaries
 libnss-dns-udeb - Embedded GNU C Library: NSS helper for DNS - udeb (udeb)
 libnss-files-udeb - Embedded GNU C Library: NSS helper for files - udeb (udeb)
 locales-all - Embedded GNU C Library: Precompiled locale data
 locales    - Embedded GNU C Library: National Language (locale) data [support]
 multiarch-support - Transitional package to ensure multiarch compatibility
 nscd       - Embedded GNU C Library: Name Service Cache Daemon
Changes: 
 eglibc (2.17-0experimental2) experimental; urgency=low
 .
   * Switch to gcc-4.7 across the board to tidy up some C99 conformance,
     and force it to an experimental version at the request of Matthias.
   * debian/sysdeps/arm64.mk: Remove --enable-multi-arch (LP: #1117602)
   * debian/debhelper.in/libc.postinst: Add support for upstart restarts
     and don't restart init when upgrading in chroots (Closes: #608903)
   * debian/testsuite-checking/expected-mips*: Allow tst-audit8 to fail.
Checksums-Sha1: 
 24c8694f6486df13061174ffbf4788ddcfb710d6 5199 eglibc_2.17-0experimental2.dsc
 eb58fb3853dd8c2d7fffd06a014d9ce3a40043ba 751356 eglibc_2.17-0experimental2.debian.tar.xz
 274564f11015bb970e2463f3d1f75bde414440be 2121750 glibc-doc_2.17-0experimental2_all.deb
 f6264e121793b5ed1f78a3298e5fd61ae3e28d7b 13817824 eglibc-source_2.17-0experimental2_all.deb
 e516232db4a2d1996880672f3c3a743838be115b 3839572 locales_2.17-0experimental2_all.deb
 75d44c686b9c874b5ba2a89050704dc76137d35a 4618894 libc6_2.17-0experimental2_amd64.deb
 e769c32a0e47b395a8b5340d51608195430b5dea 3137156 libc6-dev_2.17-0experimental2_amd64.deb
 6a24926132703c219a097246ddf8bd5035999574 1443498 libc6-pic_2.17-0experimental2_amd64.deb
 b5bc785e33b9346e6dcce74643d3240cec9cabad 1295652 libc-bin_2.17-0experimental2_amd64.deb
 92f2e68af3d2a11b40e544b9bf43fa91edb6cdc7 230358 libc-dev-bin_2.17-0experimental2_amd64.deb
 5de757aac6c908026262fe4cd5f88f6af7aeac54 157370 multiarch-support_2.17-0experimental2_amd64.deb
 9fce445fa22e3b8468a7ab9c06eec7ab98402fab 1576820 libc6-prof_2.17-0experimental2_amd64.deb
 54f24dfa61e1ae6ef765e12fcc01b74dd7c8754e 3186758 locales-all_2.17-0experimental2_amd64.deb
 b376690723a98f1804b50314041567886f69407b 4134060 libc6-i386_2.17-0experimental2_amd64.deb
 b07ed8a120cc8e766221b106d9485e1dbc899388 1814486 libc6-dev-i386_2.17-0experimental2_amd64.deb
 6cd30edca845fa735768d7b90de59654644a3132 4704272 libc6-x32_2.17-0experimental2_amd64.deb
 542b57f893791bfe7572f316144399e266fa1e19 2515796 libc6-dev-x32_2.17-0experimental2_amd64.deb
 7c4c2e5a2e9cd3f36055db186295dfba883d55b7 232164 nscd_2.17-0experimental2_amd64.deb
 b9ab2f878f3969a9f742046d27c241b3588cd35e 3471184 libc6-dbg_2.17-0experimental2_amd64.deb
 5add109fac3274ac728f975cced3ec5613adaaa9 1056238 libc6-udeb_2.17-0experimental2_amd64.udeb
 f25cadfec155c24e2f426c0a7b16fcf15bb68002 10002 libnss-dns-udeb_2.17-0experimental2_amd64.udeb
 81e504d93960674c8dc9e3d222f90f07d4570aee 16862 libnss-files-udeb_2.17-0experimental2_amd64.udeb
Checksums-Sha256: 
 f29ddc9625a70a37424179ee15859e109d4caa033bca53049723b74f9447760b 5199 eglibc_2.17-0experimental2.dsc
 1160c4fe103e7fce1bbb6d831763d7436437e91ae1665ad5c32007efe32c6d4e 751356 eglibc_2.17-0experimental2.debian.tar.xz
 30274b94177967d973ff21b4fb9eb8e397a6837818cfcf10f11a1accf6c7f70b 2121750 glibc-doc_2.17-0experimental2_all.deb
 0fd3fd962d36d36fc79a31b522cd6a41e576ad4f797cc1fa531cc5aaaa6b4dca 13817824 eglibc-source_2.17-0experimental2_all.deb
 1a311ef5ffd78dcea55bd41840911af214972ee96ac7b7d8571df3dc1aacbef2 3839572 locales_2.17-0experimental2_all.deb
 e5175eeb2a9d1b64a5de8202ce8aa034769cd26d4f9afed092c56c5bb05f4c19 4618894 libc6_2.17-0experimental2_amd64.deb
 1d748f0f4dd98d003872de70916e71e853fe3cad4a584e9a2421649c27e3b510 3137156 libc6-dev_2.17-0experimental2_amd64.deb
 cd1891f82a7168c3fcc6a9110728aff52e4e379de5799b98df6288e682cd3261 1443498 libc6-pic_2.17-0experimental2_amd64.deb
 5c6f61e6332f43bd3b36f095e0708a3e01ac2356f961542d1fff32b4d514e1e8 1295652 libc-bin_2.17-0experimental2_amd64.deb
 2d50d8c23d92f11202a179492a6c31b17d0870bef96735821c24ff0c0e6e7f3d 230358 libc-dev-bin_2.17-0experimental2_amd64.deb
 3bf5e609cea6e4f04026a699b37c67f107f13f6c15e6b4b79fe9384c479619ec 157370 multiarch-support_2.17-0experimental2_amd64.deb
 c064d12dd75edc4605bbda19d4a93e526e1863b62b6b7179081e4a4e45ad2fd8 1576820 libc6-prof_2.17-0experimental2_amd64.deb
 362978f42b99008a77ef87c209b8632393ded5e4396ff3dd84dd9e10e776058c 3186758 locales-all_2.17-0experimental2_amd64.deb
 2fe69fd39f33f6176ba04a2c54099023b1840e7adc31a9fbeba2b43fe3742725 4134060 libc6-i386_2.17-0experimental2_amd64.deb
 cb6a236d9f6485c49b7567c205053db6c9e43a4d12c6b280efb4028ea5dc40e5 1814486 libc6-dev-i386_2.17-0experimental2_amd64.deb
 b85ed3f5e54e85779b0fe4324d65cd4b98bba2bcab99cef73e8c0b008020790b 4704272 libc6-x32_2.17-0experimental2_amd64.deb
 374795e49a65e0d596d1eb6a3de415e32875981a4160973fa8153ba5ce1f01ab 2515796 libc6-dev-x32_2.17-0experimental2_amd64.deb
 d5af627331d4194000c9716df820c37d841805b45f1cfde5782eb3f58798003d 232164 nscd_2.17-0experimental2_amd64.deb
 441440b8c2e59b0669d6eb18dca235c0935b768fb505adc3544d35cff8caa7b5 3471184 libc6-dbg_2.17-0experimental2_amd64.deb
 2c15a01f2f4eff5045277e9739b148222f2c432af3e98ae672a0be778aeb2f3a 1056238 libc6-udeb_2.17-0experimental2_amd64.udeb
 0ce6578cd7a5a56dde7d7ad3a98de519869135e6a56f02c15a584e7715020c83 10002 libnss-dns-udeb_2.17-0experimental2_amd64.udeb
 4cb69cebf6d7a0e640761a911d3f764477e73d5dedb3c1295277e059ec06a7aa 16862 libnss-files-udeb_2.17-0experimental2_amd64.udeb
Files: 
 024e683ac5ee776a25eef2e80ac196b8 5199 libs required eglibc_2.17-0experimental2.dsc
 dac5edb295138dd83c059477c2e7240f 751356 libs required eglibc_2.17-0experimental2.debian.tar.xz
 18884bc7a296243cc4a852ed47901077 2121750 doc optional glibc-doc_2.17-0experimental2_all.deb
 68128615c3cd17141dff3d65625df7c9 13817824 devel optional eglibc-source_2.17-0experimental2_all.deb
 8e875dccfad925e4dc127b5543b20855 3839572 localization standard locales_2.17-0experimental2_all.deb
 4810e544fc5791585a446d1693cdbe35 4618894 libs required libc6_2.17-0experimental2_amd64.deb
 614130bc7efb3d33c684d2905fe6dfbb 3137156 libdevel optional libc6-dev_2.17-0experimental2_amd64.deb
 5e1597af6b479a44d1820c3b68e0b184 1443498 libdevel optional libc6-pic_2.17-0experimental2_amd64.deb
 0e32ad5a28519ff224f65988768e8101 1295652 libs required libc-bin_2.17-0experimental2_amd64.deb
 fe0763e2713362cc8d448b7bcb1146e7 230358 libdevel optional libc-dev-bin_2.17-0experimental2_amd64.deb
 03357b9e7389251934a45324e902e742 157370 libs required multiarch-support_2.17-0experimental2_amd64.deb
 3242bb5afb58864db95a9059b0281861 1576820 libdevel extra libc6-prof_2.17-0experimental2_amd64.deb
 3a166f352127e15266979d1fd758d4c1 3186758 localization extra locales-all_2.17-0experimental2_amd64.deb
 a8187c360e6e1179c21001f76067a70b 4134060 libs optional libc6-i386_2.17-0experimental2_amd64.deb
 5953433579a6b570494000c13d34bc97 1814486 libdevel optional libc6-dev-i386_2.17-0experimental2_amd64.deb
 6c064f40c61321525ccd51544381555a 4704272 libs optional libc6-x32_2.17-0experimental2_amd64.deb
 770fcd4866a4b39b5b0188d685ebe3cb 2515796 libdevel optional libc6-dev-x32_2.17-0experimental2_amd64.deb
 f34bb5175a71f6fb83b17c2d8f211580 232164 admin optional nscd_2.17-0experimental2_amd64.deb
 60c6f8830d6a756ac95393321bd500e2 3471184 debug extra libc6-dbg_2.17-0experimental2_amd64.deb
 51b2e375415ec422085fe4be13d6a75b 1056238 debian-installer extra libc6-udeb_2.17-0experimental2_amd64.udeb
 69dd9d9a64119bb808196dad3781d1f6 10002 debian-installer extra libnss-dns-udeb_2.17-0experimental2_amd64.udeb
 85267dd7dd8b6e19a7e5b281b1bf7839 16862 debian-installer extra libnss-files-udeb_2.17-0experimental2_amd64.udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlETWxUACgkQvjztR8bOoMl2cgCffvJ/vAeXee0ixQ5xfCdA0mAF
HiAAnA5w2o1RDudmnsJrGnHkBh/TBrEm
=m9+E
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: