core: be more restrictive on the dependency types we allow to be created transiently
authorLennart Poettering <lennart@poettering.net>
Thu, 9 Jan 2020 11:01:45 +0000 (12:01 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 9 Jan 2020 14:42:34 +0000 (15:42 +0100)
commit404308486aa285c67c5af4c8e7d6be393ce5a3c7
tree9d65ee459bb555430bfe78496983a98a41ca8bb6
parentcf57766d792f15d5bc1c14ebb423db3cb74f105b
core: be more restrictive on the dependency types we allow to be created transiently

We should allow the ones that the [Unit] section of regular unit files
may accet, but no other, in particular not the internal deps we
synthesize as reverse of explicitly configured ones, such was WantedBy=.

Fixes: #14251
src/core/dbus-unit.c