[Bug 1577460] Re: mkinitramfs --help > Core dumped
This bug was fixed in the package util-linux - 2.28.2-1ubuntu1.1 --- util-linux (2.28.2-1ubuntu1.1) yakkety; urgency=medium * Cherrypick upstream fix to prevent segfaults in getopt by ensuring that options array is correctly terminated. LP: #1577460 -- Dimitri John LedkovFri, 16 Dec 2016 14:27:53 + ** Changed in: util-linux (Ubuntu Yakkety) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577460 Title: mkinitramfs --help > Core dumped To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1577460/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577460] Re: mkinitramfs --help > Core dumped
** Changed in: ubuntu-z-systems Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577460 Title: mkinitramfs --help > Core dumped To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1577460/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577460] Re: mkinitramfs --help > Core dumped
This bug was fixed in the package util-linux - 2.27.1-6ubuntu3.2 --- util-linux (2.27.1-6ubuntu3.2) xenial; urgency=medium * Cherrypick upstream fix to prevent segfaults in getopt by ensuring that options array is correctly terminated. LP: #1577460 -- Dimitri John LedkovFri, 16 Dec 2016 14:49:06 + ** Changed in: util-linux (Ubuntu Xenial) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577460 Title: mkinitramfs --help > Core dumped To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1577460/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577460] Re: mkinitramfs --help > Core dumped
Reproduced the crash in xenial and yakkety schroots; observed that updating util-linux to version from proposed resolves the issue as per test case. ** Tags removed: verification-failed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577460 Title: mkinitramfs --help > Core dumped To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1577460/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577460] Re: mkinitramfs --help > Core dumped
** Changed in: ubuntu-z-systems Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577460 Title: mkinitramfs --help > Core dumped To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1577460/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577460] Re: mkinitramfs --help > Core dumped
Hello bugproxy, or anyone else affected, Accepted util-linux into yakkety-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/util- linux/2.28.2-1ubuntu1.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: util-linux (Ubuntu Yakkety) Status: In Progress => Fix Committed ** Changed in: util-linux (Ubuntu Xenial) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577460 Title: mkinitramfs --help > Core dumped To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1577460/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577460] Re: mkinitramfs --help > Core dumped
** Changed in: util-linux (Ubuntu Xenial) Status: Triaged => In Progress ** Changed in: util-linux (Ubuntu Yakkety) Status: Triaged => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577460 Title: mkinitramfs --help > Core dumped To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1577460/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577460] Re: mkinitramfs --help > Core dumped
Fix for util-linux is staged in the bileto PPA, currently undergoing testing. https://bileto.ubuntu.com/#/ticket/2309 Fix is available during this time from ephemeral PPA at https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/2309 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577460 Title: mkinitramfs --help > Core dumped To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1577460/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577460] Re: mkinitramfs --help > Core dumped
** Changed in: util-linux (Ubuntu) Status: Triaged => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577460 Title: mkinitramfs --help > Core dumped To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1577460/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577460] Re: mkinitramfs --help > Core dumped
glibc (2.24-3ubuntu1) yakkety; urgency=medium * Merge with 2.24 from Debian sid, bringing in minor packaging changes and upstream updates, including the security fix for CVE-2016-6323 on ARMv7. * debian/patches/ubuntu/local-altlocaledir.diff: Updated to latest version from Martin that limits scope to LC_MESSAGES, fixing segv (LP: #1577460) * debian/testsuite-xfail-debian.mk: Allow nptl/tst-signal6 to fail on ARM. -- Adam ConradWed, 05 Oct 2016 14:25:57 -0600 ** Description changed: + [Testcase] + * $ LC_ALL=fo_FOO.UTF-8 getopt -o c:d:ko:r:v -n /usr/sbin/mkinitramfs -- --help + Expected result: + /usr/sbin/mkinitramfs: unrecognized option '--help' +-- + Exit code 1 + Current result: + Segmentation fault + Exit code 139. + + There are two bugs in play here. glibc bug was fixed, and util-linux bug + needs an upload still. + Problem Description == root@zlin060:~# mkinitramfs --help Segmentation fault (core dumped) W: non-GNU getopt root@zlin060:~# == Comment: #9 - Heinz-Werner Seeck - 2016-05-02 10:09:34 == With Ubuntu 14.40 login via ssh: Following cmd : 'getopt -o c:d:ko:r:v -n /usr/sbin/mkinitramfs -- --help' Following call-stack occured (creates coredump): - #0 __strncmp_c (s1=0x2e6575634a500a6d , - s1@entry=0x2e6575634a500a6a , - s2=0x3fff7fff7ae "p", s2@entry=0x3fff7fff7ab "gelp", n=n@entry=4) at ../string/strncmp.c:44 - #1 0x03ff7e9d4252 in _getopt_internal_r (argc=, argv=0x40, - optstring=0x20030 , longopts=, - longind=, long_only=0, d=0x3ff7ea8c330 , posixly_correct=0) at getopt.c:546 - #2 0x03ff7e9d51f2 in _getopt_internal (argc=, argv=, - optstring=, longopts=, longind=0x3fff7ffe674, long_only=0, posixly_correct=0) - at getopt.c:1175 - #3 0x03ff7e9d52b6 in getopt_long (argc=, argv=, options=, - long_options=, opt_index=0x3fff7ffe674) at getopt1.c:65 + #0 __strncmp_c (s1=0x2e6575634a500a6d , + s1@entry=0x2e6575634a500a6a , + s2=0x3fff7fff7ae "p", s2@entry=0x3fff7fff7ab "gelp", n=n@entry=4) at ../string/strncmp.c:44 + #1 0x03ff7e9d4252 in _getopt_internal_r (argc=, argv=0x40, + optstring=0x20030 , longopts=, + longind=, long_only=0, d=0x3ff7ea8c330 , posixly_correct=0) at getopt.c:546 + #2 0x03ff7e9d51f2 in _getopt_internal (argc=, argv=, + optstring=, longopts=, longind=0x3fff7ffe674, long_only=0, posixly_correct=0) + at getopt.c:1175 + #3 0x03ff7e9d52b6 in getopt_long (argc=, argv=, options=, + long_options=, opt_index=0x3fff7ffe674) at getopt1.c:65 #4 0x02aa236821d8 in ?? () #5 0x02aa23681c22 in main () ** Changed in: util-linux (Ubuntu) Status: New => Triaged ** Changed in: util-linux (Ubuntu) Importance: Undecided => High ** Changed in: util-linux (Ubuntu) Assignee: (unassigned) => Dimitri John Ledkov (xnox) ** Changed in: util-linux (Ubuntu) Milestone: None => ubuntu-17.01 ** Changed in: util-linux (Ubuntu Xenial) Status: New => Triaged ** Changed in: util-linux (Ubuntu Xenial) Importance: Undecided => High ** Changed in: util-linux (Ubuntu Xenial) Assignee: (unassigned) => Dimitri John Ledkov (xnox) ** Changed in: util-linux (Ubuntu Xenial) Milestone: None => ubuntu-16.04.2 ** Also affects: util-linux (Ubuntu Yakkety) Importance: Undecided Status: New ** Also affects: glibc (Ubuntu Yakkety) Importance: Undecided Status: New ** Changed in: glibc (Ubuntu Yakkety) Status: New => Fix Released ** Changed in: util-linux (Ubuntu Yakkety) Status: New => Triaged ** Changed in: util-linux (Ubuntu Yakkety) Importance: Undecided => High ** Changed in: util-linux (Ubuntu Yakkety) Assignee: (unassigned) => Dimitri John Ledkov (xnox) ** Changed in: util-linux (Ubuntu Yakkety) Milestone: None => yakkety-updates -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577460 Title: mkinitramfs --help > Core dumped To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1577460/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577460] Re: mkinitramfs --help > Core dumped
The attachment "fixed debian/patches/ubuntu/local-altlocaledir.diff" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team. [This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.] -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577460 Title: mkinitramfs --help > Core dumped To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1577460/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577460] Re: mkinitramfs --help > Core dumped
** Changed in: ubuntu-z-systems Status: Fix Released => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577460 Title: mkinitramfs --help > Core dumped To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1577460/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577460] Re: mkinitramfs --help > Core dumped
** Changed in: ubuntu-z-systems Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577460 Title: mkinitramfs --help > Core dumped To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1577460/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577460] Re: mkinitramfs --help > Core dumped
This bug was fixed in the package glibc - 2.23-0ubuntu4 --- glibc (2.23-0ubuntu4) xenial; urgency=medium * debian/rules.d/tarball.mk: Apply --no-renames to make the diff readable. * debian/patches/git-updates.diff: Update from release/2.23/master branch: - Include fix for potential makecontext() hang on ARMv7 (CVE-2016-6323) - Include fix for SEGV in sock_eq with nss_hesiod module (LP: #1571456) - Include malloc fixes, addressing multithread deadlocks (LP: #1630302) - debian/patches/hurd-i386/cvs-libpthread.so.diff: Dropped, upstreamed. - debian/patches/any/submitted-argp-attribute.diff: Dropped, upstreamed. - debian/patches/hurd-i386/tg-hurdsig-fixes-2.diff: Rebased to upstream. * debian/patches/ubuntu/local-altlocaledir.diff: Updated to latest version from Martin that limits scope to LC_MESSAGES, fixing segv (LP: #1577460) * debian/patches/any/cvs-cos-precision.diff: Fix cos() bugs (LP: #1614966) * debian/testsuite-xfail-debian.mk: Allow nptl/tst-signal6 to fail on ARM. -- Adam ConradFri, 14 Oct 2016 00:00:34 -0600 ** Changed in: glibc (Ubuntu Xenial) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577460 Title: mkinitramfs --help > Core dumped To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1577460/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577460] Re: mkinitramfs --help > Core dumped
Upstream applied an equivalent patch: http://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=e1164591f7927402af8d73d340e75dbfeb06a288 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577460 Title: mkinitramfs --help > Core dumped To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1577460/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577460] Re: mkinitramfs --help > Core dumped
This is a util-linux bug, not a glibc bug. I have sent this patch upstream. ** Also affects: util-linux (Ubuntu) Importance: Undecided Status: New ** Patch added: "0001-getopt-Terminate-long_options-even-if-add_long_optio.patch" https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1577460/+attachment/4763969/+files/0001-getopt-Terminate-long_options-even-if-add_long_optio.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577460 Title: mkinitramfs --help > Core dumped To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1577460/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577460] Re: mkinitramfs --help > Core dumped
Upstream submission: http://marc.info/?l=util-linux- ng=147691687505965=2 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577460 Title: mkinitramfs --help > Core dumped To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1577460/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577460] Re: mkinitramfs --help > Core dumped
I can still reproduce this on 16.10 fully updated with libc6:amd64 2.24-3ubuntu1, so the Ubuntu task should probably be reopened. $ LANG=de_DE mkinitramfs --help Segmentation fault (core dumped) W: non-GNU getopt $ LANG=de_DE getopt -o c -- --help Segmentation fault (core dumped) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577460 Title: mkinitramfs --help > Core dumped To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1577460/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577460] Re: mkinitramfs --help > Core dumped
Ahh, and this is why. I was previously testing with "de_DE", and today tested with "de_DE.UTF-8": (xenial-amd64)root@nosferatu:~# dpkg -l libc6 | grep ^i ii libc6:amd642.23-0ubuntu3 amd64GNU C Library: Shared libraries (xenial-amd64)root@nosferatu:~# mkinitramfs --help /usr/sbin/mkinitramfs: unrecognized option '--help' W: non-GNU getopt (xenial-amd64)root@nosferatu:~# LANG=de_DE mkinitramfs --help Segmentation fault (core dumped) W: non-GNU getopt (xenial-amd64)root@nosferatu:~# LANG=de_DE.UTF-8 mkinitramfs --help Segmentation fault (core dumped) W: non-GNU getopt (xenial-amd64)root@nosferatu:~# apt-get update && apt-get install libc6 [...] (xenial-amd64)root@nosferatu:~# dpkg -l libc6 | grep ^i ii libc6:amd642.23-0ubuntu4 amd64GNU C Library: Shared libraries (xenial-amd64)root@nosferatu:~# mkinitramfs --help /usr/sbin/mkinitramfs: unrecognized option '--help' W: non-GNU getopt (xenial-amd64)root@nosferatu:~# LANG=de_DE mkinitramfs --help /usr/sbin/mkinitramfs: unrecognized option '--help' W: non-GNU getopt (xenial-amd64)root@nosferatu:~# LANG=de_DE.UTF-8 mkinitramfs --help Segmentation fault (core dumped) W: non-GNU getopt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577460 Title: mkinitramfs --help > Core dumped To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1577460/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577460] Re: mkinitramfs --help > Core dumped
Thorsten, I can't reproduce this segv with the -proposed binaries installed. Do you have a new recipe for reproduction? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577460 Title: mkinitramfs --help > Core dumped To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1577460/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577460] Re: mkinitramfs --help > Core dumped
Oh, hrm. No, I can reproduce it now. How odd. I swear I couldn't just a few days ago. ** Tags removed: verification-done ** Tags added: verification-failed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577460 Title: mkinitramfs --help > Core dumped To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1577460/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577460] Re: mkinitramfs --help > Core dumped
** Changed in: ubuntu-z-systems Status: Confirmed => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577460 Title: mkinitramfs --help > Core dumped To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1577460/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577460] Re: mkinitramfs --help > Core dumped
Verified that the 2.23-0ubuntu4 binaries in xenial-proposed resolve this issue. ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577460 Title: mkinitramfs --help > Core dumped To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1577460/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577460] Re: mkinitramfs --help > Core dumped
Hello bugproxy, or anyone else affected, Accepted glibc into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/glibc/2.23-0ubuntu4 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: glibc (Ubuntu Xenial) Status: Confirmed => Fix Committed ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577460 Title: mkinitramfs --help > Core dumped To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1577460/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577460] Re: mkinitramfs --help > Core dumped
This bug was fixed in the package glibc - 2.24-3ubuntu1 --- glibc (2.24-3ubuntu1) yakkety; urgency=medium * Merge with 2.24 from Debian sid, bringing in minor packaging changes and upstream updates, including the security fix for CVE-2016-6323 on ARMv7. * debian/patches/ubuntu/local-altlocaledir.diff: Updated to latest version from Martin that limits scope to LC_MESSAGES, fixing segv (LP: #1577460) * debian/testsuite-xfail-debian.mk: Allow nptl/tst-signal6 to fail on ARM. -- Adam ConradWed, 05 Oct 2016 14:25:57 -0600 ** Changed in: glibc (Ubuntu) Status: Confirmed => Fix Released ** CVE added: http://www.cve.mitre.org/cgi- bin/cvename.cgi?name=2016-6323 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577460 Title: mkinitramfs --help > Core dumped To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1577460/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577460] Re: mkinitramfs --help > Core dumped
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577460 Title: mkinitramfs --help > Core dumped To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1577460/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577460] Re: mkinitramfs --help > Core dumped
The above attachment just limits the alternative locale dir to LC_MESSAGES (not sure if that's the most elegant method, I didn't see any better one). This keeps the current behaviour of translation lookups; fixing the two unrelated bugs above might be too intrusive at this point for yakkety, and correctly interleaving is actually remarkably difficult due to the painful structure of the code. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577460 Title: mkinitramfs --help > Core dumped To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1577460/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577460] Re: mkinitramfs --help > Core dumped
I've tried (in vain so far) to understand what's going on and how this is related to the locale-langpack/ search path patch. Tested/reproduced with LC_ALL=fo_FOO gdb --args getopt -o c:d:ko:r:v -n /usr/sbin/mkinitramfs -- --help Some observations: * This crash doesn't happen with looking up LC_MESSAGES, only in this getopt case with LC_IDENTIFICATION. The mere presence of /usr/lib/locale/fo_FOO/LC_IDENTIFICATION in the search path causes this crash. If *only* /usr/lib/locale/fo/LC_IDENTIFICATION gets added (and not also the more specific fo_FOO one) then things still work. * In all cases the returned list from _nl_make_l10nflist() was correct in memory, so I suppose this triggers some bug (insufficiently large buffer or so) somewhere else. Nevertheless we need to be bug compatible with that. During that I also noticed some bugs in the patch: malloc (sizeof (*retval) + (__argz_count (dirlist, dirlist_len) - * (1 << pop (mask)) + * 2 * (1 << pop (mask)) We shouldn't allocate 2* the number here, just argz_count() + 1, as we are only adding one more search path. Also we should correctly interleave lookups in /usr/share/locale- langpack/ with /usr/share/locale wrt. the mask -- i. e. we should *first* check if there is a more specific locale (with territory, encoding, etc.) in /usr/share/locale-langpack/ and then check more generic locales in both places. But if I just fix these two bugs, then getopt still crashes on getting too many LC_IDENTIFICATION search paths. So one proposal would be to only do the locale-langpack/ lookup for LC_MESSAGES, not for any other category; our langpacks only ship LC_MESSAGES anyway, so we make the scope of this small enough to avoid triggering the crash. ** Patch added: "fixed debian/patches/ubuntu/local-altlocaledir.diff" https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1577460/+attachment/4755012/+files/local-altlocaledir.diff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577460 Title: mkinitramfs --help > Core dumped To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1577460/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577460] Re: mkinitramfs --help > Core dumped
** Tags removed: targetmilestone-inin--- ** Tags added: targetmilestone-inin16041 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577460 Title: mkinitramfs --help > Core dumped To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1577460/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577460] Re: mkinitramfs --help > Core dumped
** Changed in: ubuntu-z-systems Status: New => Confirmed ** Changed in: ubuntu-z-systems Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577460 Title: mkinitramfs --help > Core dumped To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1577460/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577460] Re: mkinitramfs --help > Core dumped
** Also affects: ubuntu-z-systems Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577460 Title: mkinitramfs --help > Core dumped To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1577460/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577460] Re: mkinitramfs --help > Core dumped
** Package changed: util-linux (Ubuntu) => glibc (Ubuntu) ** Changed in: glibc (Ubuntu) Assignee: Skipper Bug Screeners (skipper-screen-team) => Adam Conrad (adconrad) ** Changed in: glibc (Ubuntu Xenial) Assignee: (unassigned) => Adam Conrad (adconrad) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577460 Title: mkinitramfs --help > Core dumped To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1577460/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577460] Re: mkinitramfs --help > Core dumped
"With Ubuntu 14.40 login via ssh:" doesn't make sense at all =) There is no such thing as 14.40 release of Ubuntu. Sounds like miss-typed 14.04, however 14.04 doesn't exist for s390x, and the bug report is for s390x. So we guess it's for 16.04. But that's mostly irrelevant misleading details. The bug is valid, and reproducible on other architectures. This is not s390x specific. Running locale-gen and/or installer relevant langpacks (e.g. german langpack) but getopt really should not segfault like that, as it's common for user to have locales, that are not available on the target server. ** Changed in: util-linux (Ubuntu) Importance: Undecided => Critical ** Changed in: util-linux (Ubuntu Xenial) Importance: Undecided => High ** Changed in: util-linux (Ubuntu) Status: New => Confirmed ** Changed in: util-linux (Ubuntu Xenial) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577460 Title: mkinitramfs --help > Core dumped To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1577460/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577460] Re: mkinitramfs --help > Core dumped
** Package changed: ubuntu => util-linux (Ubuntu) ** Also affects: util-linux (Ubuntu Xenial) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577460 Title: mkinitramfs --help > Core dumped To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1577460/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577460] Re: mkinitramfs --help > Core dumped
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode. To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1577460/+editstatus and add the package name in the text box next to the word Package. [This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.] ** Tags added: bot-comment -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577460 Title: mkinitramfs --help > Core dumped To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/1577460/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs