]> git.ipfire.org Git - thirdparty/systemd.git/commit
bus-unit-util: don't validate partition designator client side
authorLennart Poettering <lennart@poettering.net>
Thu, 25 Feb 2021 12:36:43 +0000 (13:36 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 25 Feb 2021 12:36:43 +0000 (13:36 +0100)
commit2a7865cc431f585d09a35daf186eab7c92e596bb
tree1a8178dadfa13c4ba4a0767fe40303fbaf5e63aa
parentd60e3b405df6aafd27d2072a4e055fb116ab4527
bus-unit-util: don't validate partition designator client side

When we parse properties set via "systemctl set-property" we should
validate to the point where the data we pass over the bus makes rough
sense, but we shouldn't needlessly check whether specified enum values
are among the known enum values. The server side checks that anyway
again, and it's kinda nice if an older systemctl can be used to talk to
a newer systemd.
src/shared/bus-unit-util.c