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
CentOS 7 Docker test gets stuck starting Fail2Ban #21
Comments
Steps to reproduce locally:
|
Unfortunately, it looks like for many, the solution was just waiting for a newer release of systemd (past 219). But using CentOS / EPEL with fail2ban, that's the release that's current and it might be some time (if ever) before a newer systemd version comes out. So... what to do? |
It's not just |
Likely because systemd is the PID1 inside the container... anyways, I have to mothball this right now, and will have to take it up again later. Not sure where to go with it unless/until CentOS updates the repo upstream. Maybe I can do a yum update in my downstream docker container so it's already running the latest systemd version on first boot? |
The above seems to have fixed the issue locally. Will re-run latest tests on Travis too. |
To summarize: The problem was systemd was out of date, and since it was updated alongside fail2ban (while the container was running, with PID 1 as systemd), systemd started getting funky problems. To fix, I made sure |
@geerlingguy Thanks a ton. This saved me. |
Lol, this just saved me again on a separate role. I should really search my own issue queues for these weird problems before spending another 3 hours debugging the problem! |
During the Travis tests, CentOS 7 gets stuck on:
I can reproduce the issue on Docker for Mac 1.12.0/.1, and if I run
journalctl --no-pager
, I notice a lot of the following:It seems these messages occur after I install fail2ban, which triggers an update to systemd (with
yum install -y fail2ban
):Some references that could be helpful:
The text was updated successfully, but these errors were encountered: