<?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>7408</bug_id>
          
          <creation_ts>2015-03-06 00:42:41 +0000</creation_ts>
          <short_desc>[systemd] rescue.service and emergency.service have wrong path to sulogin</short_desc>
          <delta_ts>2015-03-21 05:57:23 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>1.8</version>
          <rep_platform>All</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>1.8 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jonathan Liu">net147</reporter>
          <assigned_to name="Jonathan Liu">net147</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.e.witt</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>Regression (Used to work)</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>49240</commentid>
    <comment_count>0</comment_count>
    <who name="Jonathan Liu">net147</who>
    <bug_when>2015-03-06 00:42:41 +0000</bug_when>
    <thetext>The rescue and emergency modes in systemd are not working correctly.

For example, if systemd boots into emergency mode:
&quot;&quot;&quot;
Welcome to emergency mode! After logging in, type &quot;journalctl -xb&quot; to view
system logs, &quot;systemctl reboot&quot; to reboot, &quot;systemctl default&quot; or ^D to
try again to boot into default mode.
/bin/sh: /usr/bin/sulogin: not found
&quot;&quot;&quot;

In /lib/systemd/system/rescue.service and /lib/systemd/system/emergency.service, the following line has the wrong path to sulogin:
ExecStart=-/bin/sh -c &quot;/usr/bin/sulogin; /bin/systemctl --fail --no-block default&quot;

The path to sulogin is actually /sbin/sulogin.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49241</commentid>
    <comment_count>1</comment_count>
    <who name="Jonathan Liu">net147</who>
    <bug_when>2015-03-06 00:45:16 +0000</bug_when>
    <thetext>The services have the right path to sulogin when using the daisy release.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49619</commentid>
    <comment_count>2</comment_count>
    <who name="Jonathan Liu">net147</who>
    <bug_when>2015-03-21 05:57:23 +0000</bug_when>
    <thetext>Fixed by https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=8e19349b696d4a3e8576ba64e935cf3a43bc7940.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>