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
cgroup delegation issue #38749
Comments
Because of moby/moby#38749 we can't start puppetserver under systemd. That makes all our acceptance tests useless.
Because of moby/moby#38749 we can't start puppetserver under systemd. That makes all our acceptance tests useless.
Needed because of moby/moby#38749
This is needed because of docker/for-linux#835 and moby/moby#38749. Long story short: systemd on CentOS 7.7 is broken with current versions of Docker.
This is needed because of docker/for-linux#835 and moby/moby#38749. Long story short: systemd on CentOS 7.7 is broken with current versions of Docker.
We are running into this issue, when running Docker CE 19.03.12 under RHEL 7.8. We created an image using registry.redhat.io/ubi7/ubi-init:latest, which is based on systemd. We installed BIND in the container, and attempted to start the named.service. Even though the named.pid was created, the service encountered these systemd errors: Jul 20 09:09:32 dns-s4 systemd[1]: New main PID 115 does not belong to service, and PID file is not owned by root. Refusing. The cgroup file shows: Right now, the only workarounds I see are:
|
This is to workaround moby/moby#38749
The older CentOS7 image works around moby/moby#38749 We don't currently have a solution for CentOS8 :(
The older CentOS7 image works around moby/moby#38749 We don't currently have a solution for CentOS8 :(
Needed because of moby/moby#38749
Description
The information in /proc/PID/cgroup is duplicated, what breaks systemd.
Steps to reproduce the issue:
1.Install any Linux image contains systemd 237 all above (ubuntu-18.04, Fedora-28)
2. Log in to container and install opendkim.
3. Start the service and see it failed to start
Describe the results you received:
File /proc/PID/cgroup inside container reports /docker/HASH> twice:
Describe the results you expected:
path /docker/HASH has to be mentioned only once, like this:
Additional information you deem important (e.g. issue happens only occasionally):
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):
Related to systemd/systemd#11752
The text was updated successfully, but these errors were encountered: