-
Notifications
You must be signed in to change notification settings - Fork 49
locksmithd: update deprecated unit parameters #981
Copy link
Copy link
Closed
flatcar/locksmith
#20Labels
area/updatesIssues related to the updates, update_engine_client, etcIssues related to the updates, update_engine_client, etcgood first issueGet started with Flatcar contribution with this issue.Get started with Flatcar contribution with this issue.kind/featureA feature requestA feature request
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/updatesIssues related to the updates, update_engine_client, etcIssues related to the updates, update_engine_client, etcgood first issueGet started with Flatcar contribution with this issue.Get started with Flatcar contribution with this issue.kind/featureA feature requestA feature request