[Error] opensuse netcfg failed to upgrade
- 主要言語
- Go
- スター
- 13k
- フォーク
- 541
- 平均マージ
- 20時間 47分
- マージ済み PR(30日)
- 4
説明
**Describe the bug**
When installing netcfg for a distrobox based on OpenSuSE tumbleweed then I receive the following error:
```
error: unpacking of archive failed on file /etc/hostnamel;8320b: cpio: rename failed - Device or resource busy
```
This was reported also here: https://forums.opensuse.org/t/error-to-upgrade-netcfg-distrobox/181934
However, the solution to umount /etc/hostname does not help
**To Reproduce**
```
distrobox enter test
sudo zypper in netcfg -y
```
**Expected behavior**
I can install the netcfg package without issues. It works outside distrobox, so I assume that it is not the package.
**Desktop (please complete the following information):**
podman: 5.8.1
distrobox: 1.8.2.4
on opensuse tumbleweed, the distrobox is installed from the OpenSuSE repository
**Additional context**
This was reported also here: https://forums.opensuse.org/t/error-to-upgrade-netcfg-distrobox/181934
コントリビューションガイド
調査の方向性
このエラーは、OpenSuSE の distrobox コンテナ内に netcfg をインストールすると発生し、/etc/hostname が使用中として報告されます。まず、distrobox がコンテナのマウントや /etc/hostname のようなファイルをどのように管理しているかを調べます。コンテナのセットアップとエントリーロジックについて、特に bind mount 周辺を中心に distrobox のソースを確認します。テストコンテナで問題を再現し、ファイルがプロセスによってロックされているかどうかを確認します。upstream podman または OpenSuSE に既知の回避策や修正があるか確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- bash, linux, shell
- 領域
- cli, tooling
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100