[systemd-commits] 2 commits - src/udev units/systemd-timesyncd.service.in

Tom Gundersen tomegun at kemper.freedesktop.org
Tue May 13 03:44:43 PDT 2014


 src/udev/udev-event.c              |    2 +-
 units/systemd-timesyncd.service.in |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 1514d70819246df8d1cd1388216ef91d8276fd52
Author: Tom Gundersen <teg at jklm.no>
Date:   Tue May 13 12:23:14 2014 +0200

    udev: rename netif - properly break lines in kmsg
    
    Before:
    
    30,997,4553484,-;systemd-udevd[439]: renamed network interface wwan0 to wwp0s20u4i6systemd-udevd[439]: renamed network interface wlan0 to wlp3s0
    30,998,1175077801,c;systemd-udevd[2345]: renamed network interface wwan0 to wwp0s20u4i6
    
    After:
    
    30,834,4553484,-;systemd-udevd[439]: renamed network interface wwan0 to wwp0s20u4i6
    30,835,4732949,-;systemd-udevd[439]: renamed network interface wlan0 to wlp3s0
    30,988,1175077801,-;systemd-udevd[2345]: renamed network interface wwan0 to wwp0s20u4i6

diff --git a/src/udev/udev-event.c b/src/udev/udev-event.c
index 5998be2..2cab42b 100644
--- a/src/udev/udev-event.c
+++ b/src/udev/udev-event.c
@@ -771,7 +771,7 @@ static int rename_netif(struct udev_event *event)
                 log_error("error changing net interface name %s to %s: %s",
                           oldname, name, strerror(-r));
         else
-                print_kmsg("renamed network interface %s to %s", oldname, name);
+                print_kmsg("renamed network interface %s to %s\n", oldname, name);
 
         return r;
 }

commit 09681374393d74d9d6c92e44f9e6fa091ad61555
Author: Tom Gundersen <teg at jklm.no>
Date:   Tue May 13 09:39:03 2014 +0200

    timesyncd: start after networkd
    
    This is needed for the network monitor to work (as it requires networkd to set up the correct directories first).

diff --git a/units/systemd-timesyncd.service.in b/units/systemd-timesyncd.service.in
index 4a363f7..21015c6 100644
--- a/units/systemd-timesyncd.service.in
+++ b/units/systemd-timesyncd.service.in
@@ -9,6 +9,7 @@
 Description=Network Time Synchronization
 Documentation=man:systemd-timesyncd.service(8)
 ConditionCapability=CAP_SYS_TIME
+After=systemd-networkd.service
 
 [Service]
 Type=notify



More information about the systemd-commits mailing list