From 1d445eda4e645dd5f55b2aef8dbdba95c317b204 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 25 Oct 2018 23:01:41 +0200 Subject: [PATCH] core: reword polkit request a bit (#10524) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit "killing" is very UNIX terminology, and not really what this is about. Let's be more correct and say "send a UNIX signal" for the operation. Otherwise things are really weird if users call "journalctl --rotate" from the command line, which internally asks systemd to send SIGUSR2 to to journald: when german locale is selected this asks the user — roughly transliterated — whether they want to "eliminate" journald, which is definitely not the intended meaning. --- src/core/dbus-unit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/dbus-unit.c b/src/core/dbus-unit.c index daec85a73b7..97bceb19dd0 100644 --- a/src/core/dbus-unit.c +++ b/src/core/dbus-unit.c @@ -434,7 +434,7 @@ int bus_unit_method_kill(sd_bus_message *message, void *userdata, sd_bus_error * u, "kill", CAP_KILL, - N_("Authentication is required to kill '$(unit)'."), + N_("Authentication is required to send a UNIX signal to the processes of '$(unit)'."), true, message, error); -- 2.47.3