Skip to content

locksmithd: update deprecated unit parameters  #981

@tormath1

Description

@tormath1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/updatesIssues related to the updates, update_engine_client, etcgood first issueGet started with Flatcar contribution with this issue.kind/featureA feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions