Bug 5719 - systemd: run-postinsts.service not working correctly
Summary: systemd: run-postinsts.service not working correctly
Status: RESOLVED FIXED
Alias: None
Product: System Startup
Classification: Runtime
Component: system-startup (show other bugs)
Version: 1.5
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.6
Assignee: Chen Qi
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-01-13 06:43 UTC by Chen Qi
Modified: 2014-02-10 05:40 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chen Qi 2014-01-13 06:43:37 UTC
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
Comment 1 Chen Qi 2014-02-10 05:40:13 UTC
Module: openembedded-core.git
Branch: master
Commit: 56490921d267b784118df43cbd107925c8b94200
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=56490921d267b784118df43cbd107925c8b94200

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

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

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