network: use higher log level when we cannot bind resolve hook varlink socket
This commit is contained in:
@@ -245,7 +245,7 @@ int manager_varlink_init_resolve_hook(Manager *m, int fd) {
|
||||
r = sd_varlink_server_listen_address(s, "/run/systemd/resolve.hook/io.systemd.Network",
|
||||
0666 | SD_VARLINK_SERVER_MODE_MKDIR_0755);
|
||||
if (ERRNO_IS_NEG_PRIVILEGE(r)) {
|
||||
log_info_errno(r, "Failed to bind to systemd-resolved hook varlink socket, ignoring: %m");
|
||||
log_warning_errno(r, "Failed to bind to systemd-resolved hook varlink socket, ignoring: %m");
|
||||
return 0;
|
||||
}
|
||||
} else
|
||||
|
||||
Reference in New Issue
Block a user