fwupd-refresh.service 从 systemd 运行 12 小时后会定期失败

fwupd-refresh.service 从 systemd 运行 12 小时后会定期失败

手动执行成功。什么也没有发生。

Jul 30 19:28:02 server systemd[1]: Failed to start Refresh fwupd metadata and update motd.
Jul 31 07:27:59 server systemd[1]: Failed to start Refresh fwupd metadata and update motd.
Aug 01 18:43:00 server systemd[1]: Failed to start Refresh fwupd metadata and update motd.
Aug 02 06:13:04 server systemd[1]: Failed to start Refresh fwupd metadata and update motd.


/usr/bin/fwupdmgr refresh --force
WARNING: UEFI firmware can not be updated in legacy BIOS mode
  See https://github.com/fwupd/fwupd/wiki/PluginFlag:legacy-bios for more information.
Updating lvfs
Downloading…             [***************************************]
Downloading…             [***************************************]
Successfully downloaded new metadata: 0 local devices supported

Journal:
Jul 23 07:12:00 server fwupdmgr[1437081]: Updating lvfs
Jul 23 07:12:00 server fwupdmgr[1437081]: Downloading…: 0%
Jul 23 07:13:00 server fwupdmgr[1437081]: Idle…: 0%
Jul 23 07:13:00 server systemd[1]: fwupd-refresh.service: Main process exited, code=exited, status=1/FAIL>

配置没有显示任何不同:

cat /lib/systemd/system/fwupd-refresh.service
[Unit]
Description=Refresh fwupd metadata and update motd
Documentation=man:fwupdmgr(1)
After=network.target

[Service]
Type=oneshot
CacheDirectory=fwupdmgr
StandardError=null
ProtectSystem=strict
ProtectHome=read-only
User=fwupd-refresh
RestrictAddressFamilies=AF_NETLINK AF_UNIX AF_INET AF_INET6
SystemCallFilter=~@mount
ProtectKernelModules=yes
ProtectControlGroups=yes
RestrictRealtime=yes
SuccessExitStatus=2
ExecStart=/usr/bin/fwupdmgr refresh

Ubuntu:版本=“22.04.2 LTS (Jammy Jellyfish)”

fwupd 版本:运行时 org.freedesktop.fwupd 1.7.9

有什么建议吗?fwupd 有很多主题,但大部分都与旧版本有关。

相关内容