]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core: reword polkit request a bit (#10524)
authorLennart Poettering <lennart@poettering.net>
Thu, 25 Oct 2018 21:01:41 +0000 (23:01 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 25 Oct 2018 21:01:41 +0000 (06:01 +0900)
"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

index daec85a73b74b642dff8fbc12e99bbf3fcf84d49..97bceb19dd01fd95db8842ddbb285480a8bbe6c9 100644 (file)
@@ -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);