We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
redhat-actions/buildah-build@v2
Building images by action failed on F41 and CentOS Stream 10 Is it somehow Selinux related or a problem with buildah?
Installation of packages works fine, but the other action failed.
[215/217] Installing perl-Module-Runtim 100% | 15.4 MiB/s | 31.5 KiB | 00m00s warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead [216/217] Installing glibc-gconv-extra- 100% | 90.0 MiB/s | 8.1 MiB | 00m00s warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead [217/217] Installing perl-FCGI-1:0.82-1 100% | 629.9 KiB/s | 95.8 KiB | 00m00s Complete! Found VERSION 5.40 Removed 24 files, 14 directories. 0 errors occurred. STEP 7/11: COPY ./s2i/bin/ $STI_SCRIPTS_PATH STEP 8/11: COPY ./root/ / STEP 9/11: RUN mkdir -p ${APP_ROOT}/etc/httpd.d && sed -i -f ${APP_ROOT}/etc/httpdconf-fed.sed /etc/httpd/conf/httpd.conf && chmod -R og+rwx /var/run/httpd /run/mod_fcgid ${APP_ROOT}/etc/httpd.d && chown -R 1001:0 ${APP_ROOT} && chmod -R ug+rwx ${APP_ROOT} && rpm-file-permissions chmod: changing permissions of '/var/run/httpd/htcacheclean': Operation not permitted chmod: changing permissions of '/opt/app-root/etc/httpd.d/50-mpm.conf.template': Operation not permitted error building at STEP "RUN mkdir -p ${APP_ROOT}/etc/httpd.d && sed -i -f ${APP_ROOT}/etc/httpdconf-fed.sed /etc/httpd/conf/httpd.conf && chmod -R og+rwx /var/run/httpd /run/mod_fcgid ${APP_ROOT}/etc/httpd.d && chown -R 1001:0 ${APP_ROOT} && chmod -R ug+rwx ${APP_ROOT} && rpm-file-permissions": error while running runtime: exit status 1 time="2024-09-30T12:29:40Z" level=error msg="exit status 1" Error: Error: buildah exited with code 1 Trying to pull quay.io/fedora/s2i-base:41... Getting image source signatures
See job https://github.com/sclorg/s2i-perl-container/actions/runs/11106097918/job/30853687487
It worked for F40 and C9S, but not in F41 and C10S.
The text was updated successfully, but these errors were encountered:
Only one note. We are able to build containers by podman w/o any issue. Either in CI systems or locally.
Steps that works were:
$ podman pull quay.io/fedora/s2i-base:41 $ podman run --rm -it quay.io/fedora/s2i-base:41 bash $ INSTALL_PKGS="perl perl-devel mod_fcgid perl-App-cpanminus perl-FCGI patch" && dnf install -y --setopt=tsflags=nodocs $INSTALL_PKGS && rpm -V $INSTALL_PKGS && perl -v | grep -qe "v$PERL_VERSION\." && echo "Found VERSION $PERL_VERSION" && dnf -y clean all --enablerepo='*' $ RUN mkdir -p ${APP_ROOT}/etc/httpd.d && sed -i -f ${APP_ROOT}/etc/httpdconf-fed.sed /etc/httpd/conf/httpd.conf && chmod -R og+rwx /var/run/httpd /run/mod_fcgid ${APP_ROOT}/etc/httpd.d && chown -R 1001:0 ${APP_ROOT} && chmod -R ug+rwx ${APP_ROOT} && rpm-file-permissions"
This works properly. I guess, there is some issue with buildah.
Sorry, something went wrong.
It is execute on host:
Ubuntu 22.04.5 LTS
It looks like switching from ubuntu-latest -> ubuntu-20.04 it is passing.
No branches or pull requests
Version
redhat-actions/buildah-build@v2
Describe the bug
Building images by action failed on F41 and CentOS Stream 10
Is it somehow Selinux related or a problem with buildah?
Installation of packages works fine, but the other action failed.
Steps to reproduce, workflow links, screenshots
See job https://github.com/sclorg/s2i-perl-container/actions/runs/11106097918/job/30853687487
It worked for F40 and C9S, but not in F41 and C10S.
The text was updated successfully, but these errors were encountered: