Hallo,
das Problem ist das der ntpd Daemon beim Start keine Netzwerkverbindung hat. Logisch diese wird ja erst nach dem KDE Start hergestellt.
daemon.log wirft folgende Meldung aus:
Apr 9 16:08:18 primus-pilus ntpd[6049]: Listening on interface #0 wildcard, 0.0.0.0#123 Disabled
Apr 9 16:08:18 primus-pilus ntpd[6049]: Listening on interface #1 lo, 127.0.0.1#123 Enabled
Apr 9 16:08:18 primus-pilus ntpd[6049]: kernel time sync status 0040
Apr 9 16:08:18 primus-pilus ntpd[6049]: frequency initialized -20.795 PPM from /var/lib/ntp/ntp.drift
Apr 9 16:08:20 primus-pilus ntpd_initres[6050]: host name not found: 0.de.pool.ntp.org
Apr 9 16:08:20 primus-pilus ntpd_initres[6050]: couldn't resolve `0.de.pool.ntp.org', giving up on it
[...]
Apr 9 16:08:20 primus-pilus ntpd_initres[6050]: host name not found: 3.de.pool.ntp.org
Apr 9 16:08:20 primus-pilus ntpd_initres[6050]: couldn't resolve `3.de.pool.ntp.org', giving up on it
Das Problem ist nun das nach dem die Verbindung steht ntpd keinen Finger rührt. Er erkennt zwar das nun eine Verbindung besteht, nutzt sie aber nicht:
Apr 8 15:24:10 primus-pilus ntpd[5820]: Listening on interface #2 eth0, 192.168.178.22#123 Enabled
Apr 8 15:24:10 primus-pilus ntpd[5820]: new interface(s) found: waking up resolver
Dann macht er nichts mehr.
Nur wenn ich ntpd nun manuell restarte syncronisiert er die Systemuhr.
Wie bekomme ich es hin das ntpd nachdem er Netz hat seinen Dienst tut anstatt in "Schockstarre" zu bleiben? Ich könnte ihn natürlich über einen cronjob neu starten, aber da muss es doch eine elegantere Lösung geben...
Grüße
Thomas