<?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>13600</bug_id>
          
          <creation_ts>2019-10-18 15:02:31 +0000</creation_ts>
          <short_desc>systemd failed to start some services on boot</short_desc>
          <delta_ts>2021-01-29 02:02:35 +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>3.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>3.3 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Armin Kuster">akuster</reporter>
          <assigned_to name="akuster">akuster808</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>rebecca.swee.fun.chang</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>85392</commentid>
    <comment_count>0</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2019-10-18 15:02:31 +0000</bug_when>
    <thetext>I am seeing these services not being started when I boot using core-image-minimal

on my arm bsp.  I still need to reproduce this on QEMU machines.

DISTRO_FEATURES_append = &quot; systemd&quot;
DISTRO_FEATURES_BACKFILL_CONSIDERED += &quot;sysvinit&quot;
VIRTUAL-RUNTIME_init_manager = &quot;systemd&quot;
VIRTUAL-RUNTIME_initscripts = &quot;systemd-compat-units&quot;


[  OK  ] Listening on Load/Save RF …itch Status /dev/rfkill Watch.
         Starting Run pending postinsts...
         Starting Rebuild Journal Catalog...
[FAILED] Failed to start Network Name Resolution.
See &apos;systemctl status systemd-resolved.service&apos; for details.
[  OK  ] Reached target Network.
[  OK  ] Reached target Host and Network Name Lookups.
[FAILED] Failed to start Network Time Synchronization.
See &apos;systemctl status systemd-timesyncd.service&apos; for details.
[  OK  ] Reached target System Time Set.
[  OK  ] Reached target System Time Synchronized.
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Rebuild Journal Catalog.
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Started Run pending postinsts.
[  OK  ] Stopped Network Name Resolution.
[FAILED] Failed to start Network Name Resolution.
See &apos;systemctl status systemd-resolved.service&apos; for details.
[  OK  ] Stopped Network Time Synchronization.
[FAILED] Failed to start Network Time Synchronization.
See &apos;systemctl status systemd-timesyncd.service&apos; for details.
         Starting Update is Completed...
[  OK  ] Stopped Network Name Resolution.
[FAILED] Failed to start Network Name Resolution.
See &apos;systemctl status systemd-resolved.service&apos; for details.
[  OK  ] Stopped Network Time Synchronization.
[FAILED] Failed to start Network Time Synchronization.
See &apos;systemctl status systemd-timesyncd.service&apos; for details.
[  OK  ] Started Update is Completed.
[  OK  ] Stopped Network Name Resolution.
[FAILED] Failed to start Network Name Resolution.
See &apos;systemctl status systemd-resolved.service&apos; for details.
[  OK  ] Stopped Network Time Synchronization.
[FAILED] Failed to start Network Time Synchronization.
See &apos;systemctl status systemd-timesyncd.service&apos; for details.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Listening on dropbear.socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
[  OK  ] Started Kernel Logging Service.
[  OK  ] Started System Logging Service.
Oct 18 04:29:01 odroid-xu3-lite syslog.info syslogd started: BusyBox v1.31.0
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Started Serial Getty on ttySAC2.
[  OK  ] Reached target Login Prompts.
[FAILED] Failed to start Login Service.
See &apos;systemctl status systemd-logind.service&apos; for details.
[  OK  ] Reached target Multi-User System.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Stopped Login Service.
[FAILED] Failed to start Login Service.
See &apos;systemctl status systemd-logind.service&apos; for details.
[  OK  ] Stopped Network Name Resolution.
[FAILED] Failed to start Network Name Resolution.
See &apos;systemctl status systemd-resolved.service&apos; for details.
[  OK  ] Stopped Network Time Synchronization.
[FAILED] Failed to start Network Time Synchronization.
See &apos;systemctl status systemd-timesyncd.service&apos; for details.
[  OK  ] Started Update UTMP about System Runlevel Changes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85393</commentid>
    <comment_count>1</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2019-10-18 15:05:43 +0000</bug_when>
    <thetext>just capturing info for later.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85429</commentid>
    <comment_count>2</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2019-10-24 14:36:51 +0000</bug_when>
    <thetext>this is nfs root</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85853</commentid>
    <comment_count>3</comment_count>
    <who name="akuster">akuster808</who>
    <bug_when>2019-12-19 04:35:52 +0000</bug_when>
    <thetext>  Loaded: loaded (/lib/systemd/system/systemd-logind.service; static; vendor preset: disabled)
   Active: [[0;1;31mfailed[[0m (Result: resources) since Wed 2019-12-18 18:53:59 UTC; 3min 38s ago
     Docs: man:systemd-logind.service(8)
           man:logind.conf(5)
           https://www.freedesktop.org/wiki/Software/systemd/logind
           https://www.freedesktop.org/wiki/Software/systemd/multiseat

Dec 18 18:53:59 odroid-c2 systemd[1]: systemd-logind.service: Service has no hold-off time (RestartSec=0), scheduling restart.
Dec 18 18:53:59 odroid-c2 systemd[1]: systemd-logind.service: Scheduled restart job, restart counter is at 5.
Dec 18 18:53:59 odroid-c2 systemd[1]: Stopped Login Service.
Dec 18 18:53:59 odroid-c2 systemd[1]: [[0;1;38;5;185m[[0;1;39m[[0;1;38;5;185msystemd-logind.service: Start request repeated too quickly
.[[0m
Dec 18 18:53:59 odroid-c2 systemd[1]: [[0;1;38;5;185m[[0;1;39m[[0;1;38;5;185msystemd-logind.service: Failed with result &apos;resources&apos;.[[0
m
Dec 18 18:53:59 odroid-c2 systemd[1]: [[0;1;31m[[0;1;39m[[0;1;31mFailed to start Login Service.[[0m</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85856</commentid>
    <comment_count>4</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2019-12-19 05:00:51 +0000</bug_when>
    <thetext>altered /lib/systemd/system/systemd-logind.service

RestartSec=o to 2 and it still failed once but then worked.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87978</commentid>
    <comment_count>5</comment_count>
    <who name="Rebecca Chang">rebecca.swee.fun.chang</who>
    <bug_when>2020-08-19 01:23:28 +0000</bug_when>
    <thetext>Seeing the same issue with poky 3.1. The workaround to change /lib/systemd/system/systemd-logind.service does not work for me. Do you have any other workaround?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89075</commentid>
    <comment_count>6</comment_count>
    <who name="akuster">akuster808</who>
    <bug_when>2021-01-29 02:02:35 +0000</bug_when>
    <thetext>not seeing this anymore</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>