<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>9265</bug_id>
          
          <creation_ts>2016-03-15 18:00:29 +0000</creation_ts>
          <short_desc>systemd-logind: segfaults systemd == 225</short_desc>
          <delta_ts>2016-04-26 15:47:44 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>11</classification_id>
          <classification>Runtime</classification>
          <product>General Runtime</product>
          <component>General Runtime</component>
          <version>2.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.0.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="David Turgeon">david.turgeon</reporter>
          <assigned_to name="Bill Randle">bill.randle</assigned_to>
          
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>59978</commentid>
    <comment_count>0</comment_count>
    <who name="David Turgeon">david.turgeon</who>
    <bug_when>2016-03-15 18:00:29 +0000</bug_when>
    <thetext>On shutdown/reboot systemd-logind segfaults.

root@kraken-node:~# shutdown
systemd-logind[280]: segfault at 55ce64000000 ip 00007fe9b5a7df9a sp 00007fff931224b8 error 4 in libc-2.22.so[7fe9b59fd000+19a000]
Failed to set wall message, ignoring: Message did not receive a reply (timeout by message bus)
Failed to call ScheduleShutdown in logind, proceeding with immediate shutdown: Message did not receive a reply (timeout by message b
us)
[  OK  ] Stopped target Timers.

Investigating, this a bit more I also noticed that this issue was addressed in 1120&apos;s issue.  I&apos;ve tried out the various patches, and confirmed that they do indeed fix the issue.  I can submit a patch for this shortly if Jethro is interested in such patches as these are likely already in 2.29.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60032</commentid>
    <comment_count>1</comment_count>
    <who name="David Turgeon">david.turgeon</who>
    <bug_when>2016-03-16 18:04:58 +0000</bug_when>
    <thetext>Basically these changes from systemd&apos;s repo:
    5744f59a3ee883ef3a78214bd5236157acdc35ba - 1141
    2cf088b56d72cb6a3243041524f1fbae7c1cb28e - 1141
    c7430c3d1a0c14aed631864b9da504ba1a9352c2 - 1157</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60241</commentid>
    <comment_count>2</comment_count>
    <who name="Bill Randle">bill.randle</who>
    <bug_when>2016-03-21 23:23:51 +0000</bug_when>
    <thetext>Applied suggested commits to Jethro branch version of systemd and created patch for OE mailing list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60255</commentid>
    <comment_count>3</comment_count>
    <who name="Bill Randle">bill.randle</who>
    <bug_when>2016-03-22 00:02:00 +0000</bug_when>
    <thetext>Confirmed via git log that the listed commits are included in systemd v229, which is the version used in master.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61659</commentid>
    <comment_count>4</comment_count>
    <who name="Bill Randle">bill.randle</who>
    <bug_when>2016-04-25 19:42:03 +0000</bug_when>
    <thetext>Merged to Jethro.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61692</commentid>
    <comment_count>5</comment_count>
    <who name="David Turgeon">david.turgeon</who>
    <bug_when>2016-04-26 15:47:44 +0000</bug_when>
    <thetext>Yup, tested and seems to work as expected now.

(In reply to comment #4)
&gt; Merged to Jethro.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>