]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: remove support for RequiresOverridable= and RequisiteOverridable=
authorLennart Poettering <lennart@poettering.net>
Thu, 12 Nov 2015 18:21:47 +0000 (19:21 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 12 Nov 2015 18:27:24 +0000 (19:27 +0100)
commitf32b43bda454a70ae23d6802605d41b26dc24ce2
tree6c673526e557006c0337eb90a6dfc639c4208b2d
parent05c450966a08ff85fa8348e2fe41b722612fa3dc
core: remove support for RequiresOverridable= and RequisiteOverridable=

As discussed at systemd.conf 2015 and on also raised on the ML:

http://lists.freedesktop.org/archives/systemd-devel/2015-November/034880.html

This removes the two XyzOverridable= unit dependencies, that were
basically never used, and do not enhance user experience in any way.
Most folks looking for the functionality this provides probably opt for
the "ignore-dependencies" job mode, and that's probably a good idea.

Hence, let's simplify systemd's dependency engine and remove these two
dependency types (and their inverses).

The unit file parser and the dbus property parser will now redirect
the settings/properties to result in an equivalent non-overridable
dependency. In the case of the unit file parser we generate a warning,
to inform the user.

The dbus properties for this unit type stay available on the unit
objects, but they are now hidden from usual introspection and will
always return the empty list when queried.

This should provide enough compatibility for the few unit files that
actually ever made use of this.
18 files changed:
man/systemctl.xml
man/systemd-analyze.xml
man/systemd.target.xml
man/systemd.unit.xml
src/analyze/analyze.c
src/basic/unit-name.c
src/basic/unit-name.h
src/core/dbus-unit.c
src/core/job.c
src/core/load-fragment-gperf.gperf.m4
src/core/load-fragment.c
src/core/load-fragment.h
src/core/manager.h
src/core/target.c
src/core/transaction.c
src/core/unit.c
src/shared/generator.c
src/systemctl/systemctl.c