chiark / gitweb /
unit: drop the Names= option
authorLennart Poettering <lennart@poettering.net>
Fri, 22 Jun 2012 14:24:57 +0000 (16:24 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 22 Jun 2012 14:24:57 +0000 (16:24 +0200)
commit8ff290af3b7db00eef76bdec61fee4aca7d84d0b
treef378f2089f6582f1a15a45134827b130b9bdce89
parenta3a3e5b6ae7836152052d77a9e6032a9e84e2039
unit: drop the Names= option

Names= is a source of errors, simply because alias names specified like
this only become relevant after a unit has been loaded but cannot be
used to load a unit.

Let's get rid of the confusion and drop this field. To establish alias
names peope should use symlinks, which have the the benefit of being
useful as key to load a unit, even though they are not taken into
account if unit names are listed but they haven't been explicitly
referenced before.
TODO
man/systemd.unit.xml
src/core/load-fragment-gperf.gperf.m4
src/core/load-fragment.c
src/core/load-fragment.h