ethereum / mist

[DEPRECATED] Mist. Browse and use Ðapps on the Ethereum network.
http://ethereum.org
GNU General Public License v3.0
7.44k stars 2.12k forks source link

mist relies on deprecated `timedatectl status` output #496

Closed gcarq closed 8 years ago

gcarq commented 8 years ago

Mist relies on an outdated timedatectl output string: NTP enabled:

$ mist                                                                                                                              [git][inox-patchset/.][49.0.2623.108]
CONNECT to IPC PATH: /home/random/.ethereum/geth.ipc
CONNECT to IPC PATH: /home/random/.ethereum/geth.ipc
NODECONNECTOR ERROR { [Error: connect ECONNREFUSED /home/random/.ethereum/geth.ipc]
  code: 'ECONNREFUSED',
  errno: 'ECONNREFUSED',
  syscall: 'connect',
  address: '/home/random/.ethereum/geth.ipc' }
Couldn't get time from NTP time sync server. [Error: can't find 'ntp enabled:' line in timedatectl output]
Backend language set to:  en
NODECONNECTOR ERROR { [Error: connect ECONNREFUSED /home/random/.ethereum/geth.ipc]
  code: 'ECONNREFUSED',
  errno: 'ECONNREFUSED',
  syscall: 'connect',
  address: '/home/random/.ethereum/geth.ipc' }
`--> timedatectl --version
systemd 229
+PAM -AUDIT -SELINUX -IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN
$ timedatectl status                                                                                                                [git][inox-patchset/.][49.0.2623.108]
      Local time: Sat 2016-04-16 07:21:50 CEST
  Universal time: Sat 2016-04-16 05:21:50 UTC
        RTC time: Sat 2016-04-16 05:21:50
       Time zone: Europe/Vienna (CEST, +0200)
 Network time on: yes
NTP synchronized: yes
 RTC in local TZ: no

Tested on Linux 4.4.6-1-ck #1 SMP PREEMPT Thu Apr 7 19:28:23 CEST 2016 x86_64 GNU/Linux with aur/mist 0.6.2-1 provided by @5chdn

fjl commented 8 years ago

os-timesync 1.0.5 fixes this issue.

5chdn commented 8 years ago

Is this related? https://github.com/ethereum/mist/issues/583

lock[bot] commented 6 years ago

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.