summaryrefslogtreecommitdiff
path: root/src/core/dbus-timer.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2017-02-09 21:01:28 +0100
committerLennart Poettering <lennart@poettering.net>2017-02-09 21:04:22 +0100
commitfa07c85956e28db3f6e23c21b65d28d5edb77ba3 (patch)
tree027f8d71d7a94557cfdd9139dac586e833f5477b /src/core/dbus-timer.h
parent9c0f732c62b18304973f1ede23d4a48191f5db43 (diff)
dbus: permit seeing process list of units whose unit files are missing
Previously, we'd refuse the GetUnitProcesses() bus call if the unit file couldn't be loaded. Which is wrong, as admins should be able to inspect services whose unit files was deleted. Change this logic, so that we permit introspecting the processes of any unit that is loaded, regardless if it has a unit file or not. (Note that we won't load unit files in GetUnitProcess(), but only operate on already loaded ones. That's because only loaded units can have processes — as that's how our GC logic works — and hence loading the unit just for the process tree is pointless, as it would be empty). See: #4995
Diffstat (limited to 'src/core/dbus-timer.h')
0 files changed, 0 insertions, 0 deletions