<?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>4347</bug_id>
          
          <creation_ts>2013-04-18 15:53:08 +0000</creation_ts>
          <short_desc>Shutdown icon gives no feedback with systemd</short_desc>
          <delta_ts>2014-03-10 11:51:46 +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>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</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>1.6 M2</target_milestone>
          
          <blocked>5441</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Chen Qi">Qi.Chen</assigned_to>
          <cc>radu.moisan</cc>
    
    <cc>ross.burton</cc>
    
    <cc>sstncr</cc>
    
    <cc>yi.zhao</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>32365</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-04-18 15:53:08 +0000</bug_when>
    <thetext>If you use the Sato shutdown icon (which calls &quot;halt&quot;) when using systemd, the system does shut down but often there is no feedback to the user - the vt does not change and when shutdown occurs the system apparently freezes. You can verify the system is actually shutting down by using the serial console.

This could be related to bug 4339 - previously we may have been relying on psplash showing on shutdown.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32483</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-04-22 16:45:04 +0000</bug_when>
    <thetext>Please review this and re-assign to Radu as appropriate</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32844</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2013-05-02 13:48:53 +0000</bug_when>
    <thetext>I&apos;m surprised we don&apos;t see X shutdown, so a serial console log would be needed to see what&apos;s happening.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39444</commentid>
    <comment_count>3</comment_count>
    <who name="Chen Qi">Qi.Chen</who>
    <bug_when>2013-12-17 07:51:04 +0000</bug_when>
    <thetext>I just started looking into this. And the shutdown icon works well now.
But I can&apos;t find out which commit fixes this problem ...

The following commit is most likely to be the fix.

commit 7bb6021c4c70b6abdb9d9a3e72d9447c872751a2
Author: Jonathan Liu &lt;net147@gmail.com&gt;
Date:   Thu May 23 19:15:11 2013 +1000

    systemd: update to 204
    
    Removed patches integrated upstream.
    Added backport of fix for utmp not running at shutdown.
    Updated serial-getty service.
    Added missing util-linux dependency.
    
    (From OE-Core rev: 9e39d10ec92db23c9765b83559c32c0302bc8c5d)
    
    Signed-off-by: Jonathan Liu &lt;net147@gmail.com&gt;
    Signed-off-by: Saul Wold &lt;sgw@linux.intel.com&gt;
    Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;


Mark this bug as resolved/fixed.

//Chen Qi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39778</commentid>
    <comment_count>4</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2014-01-14 06:54:19 +0000</bug_when>
    <thetext>Test on qemux86 with master/1b636173ca88e5ccca1992f9a12367a1189fa674

When click shutdown icon, the system goes into shutdown process and no error. But qemu window and qemu process doesn&apos;t disappear after that.

########################
Sending SIGTERM to remaining processes...
systemd-journald[55]: Received SIGTERM
Sending SIGKILL to remaining processes...
Unmounting file systems.
Unmounting /tmp.
Unmounting /dev/mqueue.
Unmounting /sys/kernel/debug.
All filesystems unmounted.
Deactivating swaps.
All swaps deactivated.
Detaching loop devices.
All loop devices detached.
Detaching DM devices.
All DM devices detached.
Storage is finalized.
Shutdown: hda
System halted.
#########################

I also tried to run command &quot;halt&quot; in Terminal, the issue still exists. but commands &quot;poweroff&quot; and &quot;shutdown -h now&quot; can work correctly.

Reopen it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39880</commentid>
    <comment_count>5</comment_count>
    <who name="Chen Qi">Qi.Chen</who>
    <bug_when>2014-01-17 01:53:15 +0000</bug_when>
    <thetext>Module: openembedded-core.git
Branch: master
Commit: c87d44a079c13a98734f9f726ec1b55d86793f8c
URL:    http://git.openembedded.org/?p=openembedded-core.git&amp;a=commit;h=c87d44a079c13a98734f9f726ec1b55d86793f8c

//Chen Qi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41027</commentid>
    <comment_count>6</comment_count>
    <who name="Stefan Stanacar">sstncr</who>
    <bug_when>2014-03-10 11:51:46 +0000</bug_when>
    <thetext>Verified in 003d3170edaa9472ee46111caa901ac7ddf9321c</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>