<?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>10103</bug_id>
          
          <creation_ts>2016-08-09 14:48:54 +0000</creation_ts>
          <short_desc>systemd-reboot: systemd 2.29 takes 90s longer than it should on shutdown if a corefile is created</short_desc>
          <delta_ts>2017-07-06 15:28:49 +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.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>OBSOLETE</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.1.3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="David Turgeon">david.turgeon</reporter>
          <assigned_to name="Armin Kuster">akuster</assigned_to>
          <cc>richard.purdie</cc>
          
          
          <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>64992</commentid>
    <comment_count>0</comment_count>
    <who name="David Turgeon">david.turgeon</who>
    <bug_when>2016-08-09 14:48:54 +0000</bug_when>
    <thetext>If a process segfaults on exit, systemd seems to delay 90s longer than it needs to (if a shutdown command triggers a core file).
The issue was initially reported here:
https://github.com/systemd/systemd/issues/2691

One can workaround by disabling systemd&apos;s handling of core files or by applying Lennart&apos;s patch:
https://github.com/poettering/systemd/commit/3e7a1f50e473a374e1657d2051237e2db04c4db2
which was merged to head in this commit:

commit 3e7a1f50e473a374e1657d2051237e2db04c4db2
Author: Lennart Poettering &lt;lennart@poettering.net&gt;
Date:   Thu Apr 28 17:09:50 2016 +0200

    core: make sure to close connection fd when we fail to activate a per-connection service
    
    Fixes: #2993 #2691

Trying this patch in krogoth fixed the issue for me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65027</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2016-08-10 17:24:12 +0000</bug_when>
    <thetext>Please investigate if this is fixed in master and if so please take the appropriate backport actions.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74826</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2017-07-06 15:28:28 +0000</bug_when>
    <thetext>No response on the bug or any patch backport request on the list for this so closing as obsolete as krogoth is getting old at this point.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74828</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2017-07-06 15:28:49 +0000</bug_when>
    <thetext>(issue would be fixed in master after upgrades)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>