]> git.ipfire.org Git - thirdparty/systemd.git/commit
systemctl: stop saying "vendor preset"
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 1 Apr 2022 08:15:54 +0000 (10:15 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 4 May 2022 07:10:50 +0000 (09:10 +0200)
commitc1e0dc9c882dfae7ba4bf49c50fd253ea199e7d9
treeb9c0b479619567ef44cab6c7305dc4011d95090f
parentfa2ba7aea87ad1812f730f0c2ad86fbfe2ca6552
systemctl: stop saying "vendor preset"

We have vendor presets, and local admin presets, and runtime presets
(under /usr/lib, /usr/local/lib and /etc, /run, respectively). When we
display preset state, it can be configured in any of those places, so
we shouldn't say anything about the origin.

(Another nice advantage is that it improves alignment:

[root@f36 ~]# systemctl list-unit-files multipathd.service
UNIT FILE          STATE   VENDOR PRESET
multipathd.service enabled enabled

^ this looks we have a "PRESET" column that is empty.)
man/systemctl.xml
src/systemctl/systemctl-list-unit-files.c
src/systemctl/systemctl-show.c