Red Hat Enterprise Linux Image Builder fails to build images and produces error: "error: failed to exec scriptlet interpreter /bin/sh: Permission denied"
Issue
- Red Hat Enterprise Linux Image Builder fails to build images while using
# composer-cli
command or from thecockpit
WebUI. -
The following error is shown in the logs
May 21 09:01:19 server osbuild-worker[27114]: time="2023-05-21T09:01:19-04:00" level=info msg=" libbytesize-2.5-3.el9.x86_64" jobId=51e04c63-5c6b-497e-b64e-bb07448455e5 May 21 09:01:19 server osbuild-worker[27114]: time="2023-05-21T09:01:19-04:00" level=info msg=" error: failed to exec scriptlet interpreter /bin/sh: Permission denied" jobId=51e04c63-5c6b-497e-b64e-bb07448455e5 May 21 09:01:19 server osbuild-worker[27114]: time="2023-05-21T09:01:19-04:00" level=info msg=" error: %prein(libutempter-1.2.1-6.el9.x86_64) scriptlet failed, exit status 127" jobId=51e04c63-5c6b-497e-b64e-bb07448455e5 May 21 09:01:19 server osbuild-worker[27114]: time="2023-05-21T09:01:19-04:00" level=info msg=" error: libutempter-1.2.1-6.el9.x86_64: install failed" jobId=51e04c63-5c6b-497e-b64e-bb07448455e5
Environment
- Red Hat Enterprise Linux >= 8.3.
- Red Hat Enterprise Linux 9.x.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.