]> git.ipfire.org Git - thirdparty/systemd.git/commit
bus-unit-util: warn and ignore assignment of deprecated properties
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 30 May 2025 19:30:43 +0000 (04:30 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 3 Jun 2025 13:31:05 +0000 (15:31 +0200)
commitadd1bc28d30bfb3ee2ccc804221a635cf188b733
tree6a6a7480d061370bf116e5ba4c88eafe08074f96
parentcb109e00c45c8e92b1020e6249aac4a212e7f72d
bus-unit-util: warn and ignore assignment of deprecated properties

With 5da476ac7728b91ad3a49c1b126b3559b4fbeed8, we refused to set the
properties, but this relaxes the behavior, and now commands warn and
ignore the assignment.

Also, assignment of CPUAccounting property is now warned and ignored,
which is deprecated by 29da53dde32a0097134f6c3ba5fb5220dd6e5423.

Prompted by https://github.com/systemd/systemd/pull/37665#discussion_r2115676993
src/shared/bus-unit-util.c