Timesyncd 服务返回(代码=已退出,状态=227/NO_NEW_PRIVILEGES)

Timesyncd 服务返回(代码=已退出,状态=227/NO_NEW_PRIVILEGES)

我在 Ubuntu 服务器 18.04 上,时钟不同步

:~$ timedatectl status
                      Local time: jeu. 2022-12-22 09:36:48 CET
                  Universal time: jeu. 2022-12-22 08:36:48 UTC
                        RTC time: n/a
                       Time zone: Europe/Paris (CET, +0100)
       System clock synchronized: no
systemd-timesyncd.service active: yes
                 RTC in local TZ: no

尝试启动服务:

sudo systemctl restart systemd-timesyncd.service
Job for systemd-timesyncd.service failed because the control process exited with error code.
See "systemctl status systemd-timesyncd.service" and "journalctl -xe" for details.

地位 :

 systemctl status systemd-timesyncd.service
● systemd-timesyncd.service - Network Time Synchronization
   Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2022-12-22 09:26:36 CET; 9min ago
     Docs: man:systemd-timesyncd.service(8)
  Process: 28171 ExecStart=/lib/systemd/systemd-timesyncd (code=exited, status=227/NO_NEW_PRIVILEGES)
 Main PID: 28171 (code=exited, status=227/NO_NEW_PRIVILEGES)

我不明白为什么它不起作用

相关内容