diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2014-11-04 14:51:22 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2014-11-18 19:13:47 +0000 |
commit | 1f1649eadaabd61e1b5a38516ac6c3e72e36ef44 (patch) | |
tree | 8cc58186e99e5b8f3ed2a52f534497cd26d808cc /bus | |
parent | 84db0981e087f0010dbd591b97db94d492de8f7a (diff) | |
download | dbus-1f1649eadaabd61e1b5a38516ac6c3e72e36ef44.tar.gz |
Use DBUS_SYSTEM_LOG_WARNING for failure to alter fd-limits
Reviewed-by: Alban Crequy <alban.crequy@collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=85105
Diffstat (limited to 'bus')
-rw-r--r-- | bus/activation.c | 2 | ||||
-rw-r--r-- | bus/bus.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/bus/activation.c b/bus/activation.c index ffedf4c5..9610c04b 100644 --- a/bus/activation.c +++ b/bus/activation.c @@ -1704,7 +1704,7 @@ child_setup (void *user_data) { /* unfortunately we don't actually know the service name here */ bus_context_log (activation->context, - DBUS_SYSTEM_LOG_INFO, + DBUS_SYSTEM_LOG_WARNING, "Failed to reset fd limit before activating " "service: %s: %s", error.name, error.message); @@ -671,7 +671,7 @@ raise_file_descriptor_limit (BusContext *context) if (context->initial_fd_limit == NULL) { - bus_context_log (context, DBUS_SYSTEM_LOG_INFO, + bus_context_log (context, DBUS_SYSTEM_LOG_WARNING, "%s: %s", error.name, error.message); dbus_error_free (&error); return; @@ -686,7 +686,7 @@ raise_file_descriptor_limit (BusContext *context) */ if (!_dbus_rlimit_raise_fd_limit_if_privileged (65536, &error)) { - bus_context_log (context, DBUS_SYSTEM_LOG_INFO, + bus_context_log (context, DBUS_SYSTEM_LOG_WARNING, "%s: %s", error.name, error.message); dbus_error_free (&error); return; |