[Bug 1043758] New: machinectl pull-tar segfaults in tar_pull_job_on_finished
http://bugzilla.suse.com/show_bug.cgi?id=1043758 Bug ID: 1043758 Summary: machinectl pull-tar segfaults in tar_pull_job_on_finished Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.2 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: markos.chandras@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Up to date systemd on 42.2 segfaults when executing the following 'machinectl pull-tar' command: machinectl --force --verify=no pull-tar https://images.linuxcontainers.org/images/opensuse/42.2/amd64/default/201705... opensuse-42.2-amd64 dmesg gives me this [ 191.108292] BTRFS info (device sda2): quota is enabled [ 204.224466] systemd-pull[3073]: segfault at 188 ip 000055f40c29e9d9 sp 00007ffe7afc1650 error 4 in systemd-pull[55f40c295000+39000] And no image was downloaded vagrant-openSUSE-Leap:/home/vagrant # machinectl list-images -a NAME TYPE RO USAGE CREATED MODIFIED .host subvolume no 1.6G Sun 2017-06-11 16:52:17 CEST n/a 1 images listed. vagrant-openSUSE-Leap:/home/vagrant # systemctl --version systemd 228 +PAM -AUDIT +SELINUX -IMA +APPARMOR -SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT -GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID -ELFUTILS +KMOD -IDN Getting a backtrace with gdb shows me the following results Program terminated with signal SIGSEGV, Segmentation fault. #0 tar_pull_job_on_finished (j=0x55f40c5309b0) at src/import/pull-tar.c:310 310 src/import/pull-tar.c: No such file or directory. (gdb) bt #0 tar_pull_job_on_finished (j=0x55f40c5309b0) at src/import/pull-tar.c:310 #1 0x000055f40c2a438b in pull_job_curl_on_finished (g=<optimized out>, curl=<optimized out>, result=<optimized out>) at src/import/pull-job.c:225 #2 0x000055f40c2a764d in curl_glue_check_finished (g=0x55f40c4f85e0) at src/import/curl-util.c:41 #3 0x000055f40c2a76ea in curl_glue_on_io (s=<optimized out>, fd=<optimized out>, revents=1, userdata=<optimized out>) at src/import/curl-util.c:67 #4 0x000055f40c2bd0d3 in source_dispatch (s=s@entry=0x55f40c55a300) at src/libsystemd/sd-event/sd-event.c:2237 #5 0x000055f40c2bdf2a in sd_event_dispatch (e=e@entry=0x55f40c4f7df0) at src/libsystemd/sd-event/sd-event.c:2601 #6 0x000055f40c2be0bd in sd_event_run (e=e@entry=0x55f40c4f7df0, timeout=timeout@entry=18446744073709551615) at src/libsystemd/sd-event/sd-event.c:2629 #7 0x000055f40c2be1bf in sd_event_loop (e=0x55f40c4f7df0) at src/libsystemd/sd-event/sd-event.c:2649 #8 0x000055f40c29bffc in pull_tar (argc=<optimized out>, argv=<optimized out>, userdata=<optimized out>) at src/import/pull.c:130 #9 0x000055f40c2b95ea in dispatch_verb (argc=<optimized out>, argv=<optimized out>, verbs=0x55f40c4ce120 <verbs>, userdata=0x0) at src/basic/verbs.c:82 #10 0x000055f40c29af2f in pull_main (argv=0x7ffe7afc19d8, argc=7) at src/import/pull.c:444 #11 main (argc=7, argv=0x7ffe7afc19d8) at src/import/pull.c:460 Please let me know if you need more information -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1043758 Thomas Blume <thomas.blume@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|systemd-maintainers@suse.de |thomas.blume@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1043758 http://bugzilla.suse.com/show_bug.cgi?id=1043758#c2 Thomas Blume <thomas.blume@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |markos.chandras@suse.com Flags|needinfo?(thomas.blume@suse |needinfo?(markos.chandras@s |.com) |use.com) --- Comment #2 from Thomas Blume <thomas.blume@suse.com> --- http://download.opensuse.org/repositories/home:/tsaupe:/branches:/openSUSE:/... contains a systemd package with a proposed fix. Can you please install this package and check whether the segfault is gone therewith? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1043758 http://bugzilla.suse.com/show_bug.cgi?id=1043758#c3 Markos Chandras <markos.chandras@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(markos.chandras@s | |use.com) | --- Comment #3 from Markos Chandras <markos.chandras@suse.com> --- It seems to work. Thank you -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1043758 Thomas Blume <thomas.blume@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(thomas.blume@suse | |.com) | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1043758 http://bugzilla.suse.com/show_bug.cgi?id=1043758#c6 Thomas Blume <thomas.blume@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #6 from Thomas Blume <thomas.blume@suse.com> --- Patch was accepted upstream and has been added to our development repository. It will be part of the next systemd update. ->closing -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1043758 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard| |ibs:running:4996:moderate -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1043758 http://bugzilla.suse.com/show_bug.cgi?id=1043758#c10 --- Comment #10 from Swamp Workflow Management <swamp@suse.de> --- SUSE-SU-2017:1773-1: An update that solves one vulnerability and has 9 fixes is now available. Category: security (moderate) Bug References: 1004995,1029102,1029516,1036873,1038865,1040258,1040614,1040942,1043758,982303 CVE References: CVE-2017-9217 Sources used: SUSE Linux Enterprise Software Development Kit 12-SP2 (src): systemd-228-149.3 SUSE Linux Enterprise Server for Raspberry Pi 12-SP2 (src): systemd-228-149.3 SUSE Linux Enterprise Server 12-SP2 (src): systemd-228-149.3 SUSE Linux Enterprise Desktop 12-SP2 (src): systemd-228-149.3 OpenStack Cloud Magnum Orchestration 7 (src): systemd-228-149.3 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1043758 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|ibs:running:4996:moderate | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1043758 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard| |obs:running:6966:moderate -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1043758 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|obs:running:6966:moderate | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1043758 http://bugzilla.suse.com/show_bug.cgi?id=1043758#c11 --- Comment #11 from Swamp Workflow Management <swamp@suse.de> --- openSUSE-SU-2017:1844-1: An update that solves one vulnerability and has 9 fixes is now available. Category: security (moderate) Bug References: 1004995,1029102,1029516,1036873,1038865,1040258,1040614,1040942,1043758,982303 CVE References: CVE-2017-9217 Sources used: openSUSE Leap 42.2 (src): systemd-228-25.6.1, systemd-mini-228-25.6.1 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1043758 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard| |ibs:running:5274:moderate -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1043758 http://bugzilla.suse.com/show_bug.cgi?id=1043758#c12 --- Comment #12 from Swamp Workflow Management <swamp@suse.de> --- SUSE-SU-2017:2031-1: An update that solves two vulnerabilities and has 17 fixes is now available. Category: security (moderate) Bug References: 1004995,1029102,1029516,1032029,1033238,1036873,1037120,1038865,1040153,1040258,1040614,1040942,1040968,1043758,1043900,1045290,1046750,982303,986216 CVE References: CVE-2017-9217,CVE-2017-9445 Sources used: SUSE Linux Enterprise Software Development Kit 12-SP3 (src): systemd-228-150.9.3 SUSE Linux Enterprise Server 12-SP3 (src): systemd-228-150.9.3 SUSE Linux Enterprise Desktop 12-SP3 (src): systemd-228-150.9.3 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1043758 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|ibs:running:5274:moderate | -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com