<?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>5719</bug_id>
          
          <creation_ts>2014-01-13 06:43:37 +0000</creation_ts>
          <short_desc>systemd: run-postinsts.service not working correctly</short_desc>
          <delta_ts>2014-02-10 05:40:13 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>11</classification_id>
          <classification>Runtime</classification>
          <product>System Startup</product>
          <component>system-startup</component>
          <version>1.5</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>1.6</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Chen Qi">Qi.Chen</reporter>
          <assigned_to name="Chen Qi">Qi.Chen</assigned_to>
          <cc>kevin.tian</cc>
    
    <cc>liezhi.yang</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</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>39762</commentid>
    <comment_count>0</comment_count>
    <who name="Chen Qi">Qi.Chen</who>
    <bug_when>2014-01-13 06:43:37 +0000</bug_when>
    <thetext>The run-postinsts.service is not working correctly, resulting in post-install scripts not running for rpm based images or ipk/deb based images which do not have package-management enabled.

To reproduce:
1. Choose systemd as the init manager
2. bitbake core-image-minimal (ensure at least one package has a post-install script running at system start-up)
3. runqemu

The problem is that there are two init scripts to deal with post-install scripts in our system. They are installed into /etc/rcS.d/S98run-postinsts and /etc/rcS.d/S99run-postinsts respectively. However, systemd only deals with the former.

//Chen Qi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40248</commentid>
    <comment_count>1</comment_count>
    <who name="Chen Qi">Qi.Chen</who>
    <bug_when>2014-02-10 05:40:13 +0000</bug_when>
    <thetext>Module: openembedded-core.git
Branch: master
Commit: 56490921d267b784118df43cbd107925c8b94200
URL:    http://git.openembedded.org/?p=openembedded-core.git&amp;a=commit;h=56490921d267b784118df43cbd107925c8b94200

Module: openembedded-core.git
Branch: master
Commit: 5933fbef26ffbc8140248ffb28957f36a813054b
URL:    http://git.openembedded.org/?p=openembedded-core.git&amp;a=commit;h=5933fbef26ffbc8140248ffb28957f36a813054b

Module: openembedded-core.git
Branch: master
Commit: 1e3ac15fcf502396f92c69788642a56064e22e35
URL:    http://git.openembedded.org/?p=openembedded-core.git&amp;a=commit;h=1e3ac15fcf502396f92c69788642a56064e22e35

Module: openembedded-core.git
Branch: master
Commit: 2c8dc1b00c0cf83da106ef9544cd11cde7ce43a1
URL:    http://git.openembedded.org/?p=openembedded-core.git&amp;a=commit;h=2c8dc1b00c0cf83da106ef9544cd11cde7ce43a1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>