Skip to content

Instantly share code, notes, and snippets.

@cransom
Created June 27, 2016 18:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cransom/c8825f9419fca8b0e087e5c691f62929 to your computer and use it in GitHub Desktop.
Save cransom/c8825f9419fca8b0e087e5c691f62929 to your computer and use it in GitHub Desktop.
[root@router-ogre-cransom-834032d-dev-0:/etc/systemd/system/systemd-timesyncd.service.d]# status systemd-timedated
● systemd-timedated.service - Time & Date Service
Loaded: loaded (/nix/store/vhmfyv475ixsgpnar0a9qi6i3xik7rmg-systemd-229/example/systemd/system/systemd-timedated.service; bad; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2016-06-27 18:03:18 UTC; 34min ago
Docs: man:systemd-timedated.service(8)
man:localtime(5)
http://www.freedesktop.org/wiki/Software/systemd/timedated
Process: 3146 ExecStart=/nix/store/vhmfyv475ixsgpnar0a9qi6i3xik7rmg-systemd-229/lib/systemd/systemd-timedated (code=exited, status=1/FAILURE)
Main PID: 3146 (code=exited, status=1/FAILURE)
Jun 27 18:03:18 router-ogre-cransom-834032d-dev-0 systemd[1]: Starting Time & Date Service...
Jun 27 18:03:18 router-ogre-cransom-834032d-dev-0 systemd-timedated[3146]: /etc/localtime should be a symbolic link to a time zone data file in /usr/share/zoneinfo/.
Jun 27 18:03:18 router-ogre-cransom-834032d-dev-0 systemd[1]: Started Time & Date Service.
Jun 27 18:03:18 router-ogre-cransom-834032d-dev-0 systemd[1]: systemd-timedated.service: Main process exited, code=exited, status=1/FAILURE
Jun 27 18:03:18 router-ogre-cransom-834032d-dev-0 systemd[1]: systemd-timedated.service: Unit entered failed state.
Jun 27 18:03:18 router-ogre-cransom-834032d-dev-0 systemd[1]: systemd-timedated.service: Failed with result 'exit-code'.
[root@router-ogre-cransom-834032d-dev-0:/etc/systemd/system/systemd-timesyncd.service.d]# ls -la /etc/localtime
lrwxrwxrwx 1 root root 75 Jun 27 17:59 /etc/localtime -> /nix/store/qgd4fmdhwcn9mz2s02dxmkd5pwwbz0dp-tzdata-2015g/share/zoneinfo/UTC
https://github.com/systemd/systemd/blob/a849538e3bf0097595fc1fd86bcda608d1151b4c/src/basic/time-util.c#L1192-L1196
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment