-
Notifications
You must be signed in to change notification settings - Fork 736
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Postinstall scriptlets of ['busybox'] have failed when trying to install apache2 #766
Comments
Hello, just as an update. I think the error is coming from the fact that apache2 recipe is creating httpd under /usr/sbin/ when doing the install. I don't know if a patch should be applied to busybox recipe or apache2 recipe. |
This release contains bug fixes only. The following CVEs have been addressed: CVE-2023-27783 CVE-2023-27784 CVE-2023-27785 CVE-2023-27786 CVE-2023-27787 CVE-2023-27788 CVE-2023-27789 Changelog: ========= dlt_jnpr_ether_cleanup: check subctx before cleanup by @Marsman1996 in openembedded#781 Bug openembedded#780 assert tcpedit dlt cleanup by @fklassen in openembedded#800 Fix bugs caused by strtok_r by @Marsman1996 in openembedded#783 Bug openembedded#782 openembedded#784 openembedded#785 openembedded#786 openembedded#787 openembedded#788 strtok r isuses by @fklassen in openembedded#801 Update en10mb.c by @david-guti in openembedded#793 PR openembedded#793 ip6 unicast flood by @fklassen in openembedded#802 Bug openembedded#719 fix overflow check for parse_mpls() by @fklassen in openembedded#804 PR openembedded#793 - update tests for corrected IPv6 MAC by @fklassen in openembedded#805 PR openembedded#793 - update tests for vlandel by @fklassen in openembedded#806 Feature openembedded#773 gh actions ci by @fklassen in openembedded#807 Feature openembedded#759: Upgrade autogen/libopts to 5.18.16 by @fklassen in openembedded#760 Bug openembedded#751 don't exit after send error by @fklassen in openembedded#761 Bug openembedded#750: configure: libpcap version robustness by @fklassen in openembedded#764 Bug openembedded#749 flow stats: avoid overstating flow packet count by @fklassen in openembedded#765 Bug openembedded#750 more libpcap version updates by @fklassen in openembedded#766 Bug openembedded#767 tests: support for out-of-tree tests by @fklassen in openembedded#768 Bug openembedded#750 - fix macOS test failure by @fklassen in openembedded#770 4.4.3 by @fklassen in openembedded#769 and openembedded#771 Signed-off-by: Archana Polampalli <[email protected]> Signed-off-by: Armin Kuster <[email protected]>
Have you found a solution for this problem? |
Hello, yes I have found the correct way. Don't know if I can really call it a solution since the problem from my point of view is not caused either by apache or busybox recipe. Look like that you can't have apache and httpd from busybox at the same time (busybox recipe will fail to create the simbolic link if httpd from apache is already part of rootfs). My solution was to find where the busybox configuration got modified and httpd was enabled and remove this. Maybe an extra check can be implemented and if httpd is already in the rootfs, the creation of the simbolic link can be skiped. Thanks, |
Hello,
I am using kirkstone branch and I added apache2 in the list of recipes I want to install:
IMAGE_INSTALL:append = " apache2"
I have also added meta-openembedded/meta-webserver in build/conf/bblayers.conf.
The recipe works, but I get an error when do_rootfs is executed for my image.
do_rootfs: Postinstall scriptlets of ['busybox'] have failed. If the intention is to defer them to first boot,
then please place them into pkg_postinst_ontarget:${PN} ().
Deferring to first boot via 'exit 1' is no longer supported.
In the details error, I can see this:
update-alternatives: Error: not linking ....../rootfs/usr/sbin/httpd to /bin/busybox.nosuid since ...../rootfs/usr/sbin/httpd exists and is not a link
Am I forgetting something?
Thanks in advance,
Flaviu
The text was updated successfully, but these errors were encountered: