updatectl update: Acquire downloads version that Install silently refuses
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start by tracing updatectl update through the Acquire and Install calls, then read the sysupdate worker logic that returns -EALREADY when the installed version is newer. Reproduce the GNOME OS case with nightly@20261107 installed and l.1 available. Done means deciding and implementing consistent handling so a downloaded update is either installed or the user is clearly told why it was not.
索引モデルが issue の本文から書いたものです。
説明
systemd version the issue has been seen with
main
Used distribution
GNOME OS
Linux kernel version used
7.3.0
CPU architectures issue was seen on
None
Component
other
Expected behaviour you didn't see
updatectl update host with nightly@20261107 installed and l.1 as the latest remote: Acquire downloads l.1 and reports the version back. updatectl calls Install with "". The Install worker says "No update
needed" (because nightly@20261107 > l.1), sysupdated returns -EALREADY, and updatectl silently treats that as success. We acquired an update, didn't install it, and the user gets no indication anything went wrong.
The question is: should updatectl pass the acquired version to Install ("downgrading" to the latest remotely available version), or should Acquire have refused to download in the first place, or is this the intended behavior?
All I can say that this is very confusing behavior to me.
Unexpected behaviour you saw
Steps to reproduce the problem
Use GNOME OS, build your own image (version l.1 by default) and make it available to sysupdate. Run updatectl update host. Get confused why it never gets installed even though it downloaded it.
Additional program output to the terminal or log subsystem illustrating the issue
- 主要言語
- C
- スター
- 17k
- フォーク
- 4.8k
- 平均マージ
- 2日 10時間
- マージ済み PR(30日)
- 342
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
systemd/systemd のほかの issue
-
login
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
hwdb needs-patch
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
systemd/systemd#44825 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
cryptsetup
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
documentation pid1
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
メンテナーはふだん 1 日以内に返信
-
needs-better-log-message network RFE 🎁
難易度 1/5 1〜3時間 初心者へのやさしさ 72/100
systemd/systemd#44563 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
systemd/systemd の issue をすべて見る
似ている issue
-
compiler-rt:asan
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
llvm/llvm-project#242921 ·
メンテナーはふだん 1 日以内に返信
-
Missing gcc __builtin_stdc_bit_width/floor/ceil signature makes intellisense wrongly report error 70オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
microsoft/vscode-cpptools#14874 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
FujiNetWIFI/fujinet-firmware#2401 ·
メンテナーはふだん 1 日以内に返信
-
category:port-update
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 2 日以内に返信
-
polish
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
ChupathingyCE/chupathingyce#1366 ·
メンテナーはふだん 1 日以内に返信