sensu / sensu-ruby-runtime

The Sensu Go Ruby Runtime Asset
MIT License
3 stars 23 forks source link

Support for centos8 #24

Closed TheMysteriousX closed 3 years ago

TheMysteriousX commented 5 years ago

Using the centos7 asset on centos8 mostly works, but due to updated libraries, some of the checks I've written for centos7 fail - for example, mokutil needs a more recent version of libcrypto to verify secureboot.

As I needed to fix it for myself, I thought I'd share the changes I made.

This is pretty much a straight up copy of the centos7 dockerfile, with:

This works for me - I'm still in the process of rolling out sensu go, but I deployed it onto my instance, and it's happily running all the other checks.

If you'd like me to make any additional changes, please let me know.

TheMysteriousX commented 4 years ago

This needs a further change for centos 8.1

curl: /var/cache/sensu/sensu-agent/.../lib/libcrypto.so.1.1: version `OPENSSL_1_1_1b' not found (required by /lib64/libssh.so.4)

I had a quick attempt at bundling libssh which seems to have solved the issue. I'll tidy it up and add it tomorrow.

jspaleta commented 4 years ago

hey, just checking in now that holiday PTO is over. did you get a chance to deal with the libssl issue?