chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e866af3
)
timesysnc: reword network watching messages, and move resolver errors to debug
author
Kay Sievers
<kay@vrfy.org>
Sun, 25 May 2014 05:40:17 +0000
(13:40 +0800)
committer
Kay Sievers
<kay@vrfy.org>
Sun, 25 May 2014 05:46:43 +0000
(13:46 +0800)
src/timesync/timesyncd.c
patch
|
blob
|
history
diff --git
a/src/timesync/timesyncd.c
b/src/timesync/timesyncd.c
index b28beadd31ac067f111060ca351e8e7326a6c8a6..a56bbc30ca7c188a6d1dc160e7d046dba7d8f3f3 100644
(file)
--- a/
src/timesync/timesyncd.c
+++ b/
src/timesync/timesyncd.c
@@
-834,7
+834,7
@@
static int manager_resolve_handler(sd_resolve_query *q, int ret, const struct ad
m->resolve_query = sd_resolve_query_unref(m->resolve_query);
if (ret != 0) {
m->resolve_query = sd_resolve_query_unref(m->resolve_query);
if (ret != 0) {
- log_
info
("Failed to resolve %s: %s", m->current_server_name->string, gai_strerror(ret));
+ log_
debug
("Failed to resolve %s: %s", m->current_server_name->string, gai_strerror(ret));
/* Try next host */
return manager_connect(m);
/* Try next host */
return manager_connect(m);
@@
-1146,10
+1146,10
@@
static int manager_network_event_handler(sd_event_source *s, int fd, uint32_t re
connected = (m->server_socket != -1);
if (connected && !online) {
connected = (m->server_socket != -1);
if (connected && !online) {
- log_info("No network connectivity
. Suspending
.");
+ log_info("No network connectivity
, watching for changes
.");
manager_disconnect(m);
} else if (!connected && online) {
manager_disconnect(m);
} else if (!connected && online) {
- log_info("Network con
nectivity detected. Resuming
.");
+ log_info("Network con
figuration changed, trying to establish connection
.");
if (m->current_server_address) {
r = manager_begin(m);
if (r < 0)
if (m->current_server_address) {
r = manager_begin(m);
if (r < 0)