Skip to content
New issue

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

Fail2ban still failing on Travis CI #26

Closed
back-2-95 opened this issue Mar 12, 2017 · 7 comments
Closed

Fail2ban still failing on Travis CI #26

back-2-95 opened this issue Mar 12, 2017 · 7 comments

Comments

@back-2-95
Copy link

I have hangout still with fail2ban even if I have the latest version of your centos7 docker image where this was fixed: #21

TASK [geerlingguy.security : Ensure fail2ban is running and enabled on boot.] **
@back-2-95
Copy link
Author

Interesting, if I skip security role for my travis test I get now the same for Postfix:

TASK [geerlingguy.postfix : Ensure postfix is started and enabled at boot.] ****

@geerlingguy
Copy link
Owner

@back-2-95 - can you tell me which Docker image it is? You might need to run a Docker pull on it to make sure you have the latest. I just updated my Ansible centos7 image a day or two ago because of the exact same issue (systemd got out of date).

@back-2-95
Copy link
Author

Yes, I have docker pull on my before_install for a forked version of geerlingguy/docker-${distro}-ansible:latest. I need to check if building that again helps.

@geerlingguy
Copy link
Owner

@back-2-95 - Ah yes, in that case, you need to go into Docker Hub and trigger a new build manually—every few months, when there's a major systemd package update in CentOS, this seems to happen again. The problem is the first thing you install will trigger a systemd restart internally, and once that happens, the Docker container's ability to start and stop services goes haywire (at least until you do a docker stop && docker start—which can't easily be done when doing CI testing inside Travis!).

@back-2-95
Copy link
Author

I tried using your original build and it worked.
Weird 'coz I had my forked image build yesterday.
Well this still fixes it.

@geerlingguy
Copy link
Owner

Strange! Well, I'll close this out, and if you find anything else helpful, please post back here. Thanks!

@back-2-95
Copy link
Author

Yes thanks!

We needed to force Quay to build our forked version to get systemd updated.

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

No branches or pull requests

2 participants