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

(v2) cmd: dockerd: make systemd specific cgroups tweaks build-time optional #42431

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

metux
Copy link
Contributor

@metux metux commented May 27, 2021

When running under systemd, we have to do some tweaks for systemd's
non standard cgroups setups. This isn't required if we'll never be running
in such an environment (eg. there're many distros free of such Lennartisms).

Therefore make it possible to opt out at build time by settings the
'no_systemd' tag.

changes v2: fixed danling import
renamed 'nosystemd' tag to 'no_systemd'

Signed-off-by: Enrico Weigelt, metux IT consult info@metux.net

- What I did

- How I did it

- How to verify it

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

@thaJeztah
Copy link
Member

For future updates; could you update your existing PR instead of opening a new one?

@metux
Copy link
Contributor Author

metux commented May 27, 2021

For future updates; could you update your existing PR instead of opening a new one?

sorry, didn't know that this is possible at all.
how to do that exactly ? does it automatically pick up new commits when pushing to the same branch again ?

@thaJeztah
Copy link
Member

Yes, adding commits, or amending commits and force-push will update PRs

@AkihiroSuda
Copy link
Member

Does this reduce binary footprint?

@metux
Copy link
Contributor Author

metux commented May 31, 2021

Does this reduce binary footprint?

Yes, it does. not much, but it does.

@AkihiroSuda
Copy link
Member

Actual data?

@metux metux force-pushed the submit/optional-systemd-cgroups-v2 branch 3 times, most recently from b9f5b5e to 14bc234 Compare June 14, 2021 13:33
@metux metux force-pushed the submit/optional-systemd-cgroups-v2 branch 6 times, most recently from d9c64fe to dea1879 Compare August 25, 2023 12:40
When running under systemd, we have to do some tweaks for systemd's
non standard cgroups setups. This isn't required if we'll never be running
in such an environment (eg. there're many distros free of such Lennartisms).

Therefore make it possible to opt out at build time by settings the
'no_systemd' tag.

changes v2: fixed danling import
            renamed 'nosystemd' tag to 'no_systemd'
            dropped old build tags

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
@metux metux force-pushed the submit/optional-systemd-cgroups-v2 branch from dea1879 to 19f8fa7 Compare August 25, 2023 13:44
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

Successfully merging this pull request may close these issues.

None yet

3 participants