Bug 3767 - ERROR: postinst /etc/rpm-postinsts/* failed
Summary: ERROR: postinst /etc/rpm-postinsts/* failed
Status: VERIFIED FIXED
Alias: None
Product: System Startup
Classification: Runtime
Component: system-startup (show other bugs)
Version: 1.4
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 1.4 M4
Assignee: Chen Qi
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-01-22 07:28 UTC by Chen Qi
Modified: 2013-01-30 05:25 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chen Qi 2013-01-22 07:28:37 UTC
This error occurs when the /etc/rpm-postinst/ directory is empty. 
In this situation, the i is set to '/etc/rpm-postinst/*'.

There should be no error message if the /etc/rpm-postinst/ directory is empty.
Comment 1 Chen Qi 2013-01-22 08:20:28 UTC
This is a similar bug to bug#3172.
Comment 2 Chen Qi 2013-01-23 06:11:29 UTC
merged into poky/master: bd10a6d257ab5ce2fc961788c278af7c43637404

http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/postinst-error
Comment 3 Chen Qi 2013-01-29 08:38:03 UTC
This patch introduces a serious problem. A follow up patch will be sent soon.
Comment 4 Chen Qi 2013-01-29 09:15:09 UTC
A follow-up patch has been sent to OE-core.
Sorry for the inconvenience.
Comment 5 Saul Wold 2013-01-29 17:34:17 UTC
In the future when a patch is pending please mark in progress review
Comment 6 Chen Qi 2013-01-30 02:01:46 UTC
(In reply to comment #5)
> In the future when a patch is pending please mark in progress review

Got it :)
Comment 7 Chen Qi 2013-01-30 02:37:45 UTC
Saul helped send out a patch with a much clearer commit message and it has been merged.
(Thanks a lot.)

poky/master: 96180955d06e9ae74cd8e8c2a980167c485c2df1
http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=e893cf0b3843701e80f5c9f47be04d1a88e5ed68
Comment 8 liang li 2013-01-30 05:25:50 UTC
no error below in log.do_rootfs log file:
"ls: cannot access /etc/rpm-postinsts/: No such file or directory".
no related error messages when qemuppc minimal image booted up with git master branch commit 27c8af1e3a9092caa19bd813c4dd0747de766dc5.