Skip to content
This repository was archived by the owner on Dec 26, 2020. It is now read-only.

add support for CentOS8 #309

Merged
merged 6 commits into from
Jul 18, 2020
Merged

add support for CentOS8 #309

merged 6 commits into from
Jul 18, 2020

Conversation

schurzi
Copy link
Contributor

@schurzi schurzi commented Jul 15, 2020

Adds testing environments for CentOS8 to local Kitchen and remote Travis
tests. Currently only local Kitchen Docker tests are verified.

Signed-off-by: Martin Schurz [email protected]

Adds testing environments for CentOS8 to local Kitchen and remote Travis
tests. Currently only local Kitchen Docker tests are verified.

Signed-off-by: Martin Schurz <[email protected]>
@schurzi schurzi requested a review from rndmh3ro July 15, 2020 13:06
@schurzi
Copy link
Contributor Author

schurzi commented Jul 15, 2020

solves #247 and #308

@schurzi schurzi changed the title add testing for CentOS8 add support for CentOS8 Jul 15, 2020
@schurzi
Copy link
Contributor Author

schurzi commented Jul 15, 2020

@rndmh3ro I think the broken tests are a problem of ssh-baseline. I will submit a merge request there

by default sshd will not use the crypto settings from sshd_config. To
make the settings effective we need to disable the system wide
CRYPTO_POLICY.

see: https://access.redhat.com/solutions/4410591

Signed-off-by: Martin Schurz <[email protected]>
schurzi added 2 commits July 17, 2020 14:28
Signed-off-by: Martin Schurz <[email protected]>
Signed-off-by: Martin Schurz <[email protected]>
@schurzi
Copy link
Contributor Author

schurzi commented Jul 17, 2020

well, I'm at a loss as to why this does not work in travis

@micheelengronne
Copy link
Member

micheelengronne commented Jul 17, 2020

Are you sure that ssh is correctly installed in this particular config ?

Travis complains that it does not find any /etc/ssh directory, consequently no /etc/ssh/ssh_config file.

Maybe, this config installs the ssh files in a different folder.

What bother me is the failed handler that indicates ssh is not correctly installed or handled by systemctl

@schurzi
Copy link
Contributor Author

schurzi commented Jul 17, 2020

I'm using the prebuild Docker Image from @rndmh3ro and this is also used in the local kitchen tests. The kitchen tests run fine and with no problem indication. So I'm asuming this is something in Travis CI, that blocks systemd. Especially the last problem with not startable sshd indicates, that systemd is not running correctly.

@rndmh3ro
Copy link
Member

Well, the mounting of the cgroups does not work (anymore) in travis. This PR should fix it: #310 for this branch.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants