systemd-timesyncd.serviceを有効にできません。

systemd-timesyncd.serviceを有効にできません。

すべてのフォーラムと質問を調査しましたが、私の問題に対する有効な回答が見つかりませんでした。ネットワーク時間同期サービスが機能しません。 timedatectlサービスがなくても正常に動作しているようですが、systemd-timesyncdが有効になっていないとマークされています。

torof@OMEN:~$ timedatectl status
                  Local time: Fri 2019-02-08 15:12:47 CET
              Universal time: Fri 2019-02-08 14:12:47 UTC
                    RTC time: Fri 2019-02-08 14:12:47
                   Time zone: Europe/Paris (CET, +0100)
   System clock synchronized: yes
   systemd-timesyncd.service active: no
             RTC in local TZ: no

すでにlibnss-systemdインストールされています。

システムログを確認しましたが、問題が何であるかを理解できず、サービスヘルプを有効にして再起動することもできませんでした。

torof@OMEN:~$ systemctl status systemd-timesyncd
● systemd-timesyncd.service - Network Time Synchronization
   Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; disabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Fri 2019-02-08 13:57:04 CET; 13min ago
     Docs: man:systemd-timesyncd.service(8)
  Process: 4383 ExecStart=/lib/systemd/systemd-timesyncd (code=exited, status=238/STATE_DIRECTORY)
 Main PID: 4383 (code=exited, status=238/STATE_DIRECTORY)

Feb 08 13:57:04 OMEN systemd[1]: systemd-timesyncd.service: Main process exited, code=exited, status=238/STATE_DIRECTORY
Feb 08 13:57:04 OMEN systemd[1]: systemd-timesyncd.service: Failed with result 'exit-code'.
Feb 08 13:57:04 OMEN systemd[1]: Failed to start Network Time Synchronization.
Feb 08 13:57:04 OMEN systemd[1]: systemd-timesyncd.service: Service has no hold-off time, scheduling restart.
Feb 08 13:57:04 OMEN systemd[1]: systemd-timesyncd.service: Scheduled restart job, restart counter is at 5.
Feb 08 13:57:04 OMEN systemd[1]: Stopped Network Time Synchronization.
Feb 08 13:57:04 OMEN systemd[1]: systemd-timesyncd.service: Start request repeated too quickly.
Feb 08 13:57:04 OMEN systemd[1]: systemd-timesyncd.service: Failed with result 'exit-code'.
Feb 08 13:57:04 OMEN systemd[1]: Failed to start Network Time Synchronization.

何が間違っているのか、どこで見つかったのか、どうやって解決しますか?

ベストアンサー1

これsystemd Githubの問題次の行をリストします。解決策:

chmod 0700 /var/lib/private

おすすめ記事