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

locksmithd: update deprecated unit parameters #981

Closed
tormath1 opened this issue Mar 22, 2023 · 0 comments · Fixed by flatcar/locksmith#20
Closed

locksmithd: update deprecated unit parameters #981

tormath1 opened this issue Mar 22, 2023 · 0 comments · Fixed by flatcar/locksmith#20
Labels
area/updates Issues related to the updates, update_engine_client, etc good first issue Get started with Flatcar contribution with this issue. kind/feature A feature request

Comments

@tormath1
Copy link
Contributor

Current situation

Warnings in the journal logs:

/usr/lib/systemd/system/locksmithd.service:8: Unit uses CPUShares=; please use CPUWeight= instead. Support for CPUShares= will be removed soon.
/usr/lib/systemd/system/locksmithd.service:9: Unit uses MemoryLimit=; please use MemoryMax= instead. Support for MemoryLimit= will be removed soon.

Implementation options

This file has to be modified
https://github.com/flatcar/locksmith/blob/80de3e41d32d801b1ca7de6370a2ad1decdb3b3f/systemd/locksmithd.service#L8-L9

Additional information

core@localhost ~ $ systemctl --version
systemd 252 (252)
+PAM +AUDIT +SELINUX -APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL -ACL +BLKID +CURL -ELFUTILS -FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY -P11KIT -QRENCODE -TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified

reference: https://www.freedesktop.org/software/systemd/man/systemd.resource-control.html#systemd%20252

@tormath1 tormath1 added kind/feature A feature request good first issue Get started with Flatcar contribution with this issue. area/updates Issues related to the updates, update_engine_client, etc labels Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/updates Issues related to the updates, update_engine_client, etc good first issue Get started with Flatcar contribution with this issue. kind/feature A feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant