giovtorres / docker-centos7-slurm

Slurm Docker Container on CentOS 7
MIT License
85 stars 56 forks source link

feat: Update to Slurm 21.08.8 #47

Closed stefan-k closed 2 years ago

stefan-k commented 2 years ago

This commit updates Slurm to version 21.08.8. This version fixes major security issues in Slurm:

giovtorres commented 2 years ago

Thank you for this. Now that #46 is in, could you rebase this branch?

stefan-k commented 2 years ago

Sure! :)

The CI is apparently failing because of this:

[...]

../test/recipes/80-test_ssl_new.t .................. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/29 subtests 

[...]

Test Summary Report
-------------------
../test/recipes/80-test_ssl_new.t                (Wstat: 256 Tests: 29 Failed: 1)
  Failed test:  12
  Non-zero exit status: 1
Files=158, Tests=2636, 97 wallclock secs ( 1.67 usr  0.23 sys + 84.89 cusr 13.93 csys = 100.72 CPU)
Result: FAIL
make[1]: *** [_tests] Error 1
make[1]: Leaving directory `/openssl-1.1.1l'
make: *** [tests] Error 2
The command '/bin/sh -c set -ex     && wget --quiet [https://www.openssl.org/source/openssl-${OPENSSL_VERSION}.tar.gz](https://www.openssl.org/source/openssl-$%7BOPENSSL_VERSION%7D.tar.gz)     && tar xzf openssl-${OPENSSL_VERSION}.tar.gz     && pushd openssl-${OPENSSL_VERSION}     && ./config --prefix=/opt/openssl --openssldir=/etc/ssl     && make     && make test     && make install     && echo "/opt/openssl/lib" >> /etc/ld.so.conf.d/openssl.conf     && ldconfig     && popd     && rm -rf openssl-${OPENSSL_VERSION}.tar.gz' returned a non-zero code: 2
Unable to find image 'docker-centos7-slurm:test' locally
docker: Error response from daemon: pull access denied for docker-centos7-slurm, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.

[...]

This either seems to be an issue with OpenSSL or access to docker hub depends on a secret which is not available to this PR because it is issued from my personal fork.