Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FC40 : rpm-ostree install cri-o fails with error "Hardlinking (...) to conmon: File exists" #5124

Open
adrien-constant opened this issue Oct 8, 2024 · 0 comments

Comments

@adrien-constant
Copy link

Describe the bug

When I run rpm-ostree install cri-o it fails.
It used to work but I am not sure why / when the issue appeared.

Reproduction steps

Execute the commands :

CRIO_VERSION=main
cat <<EOF | sudo tee /etc/yum.repos.d/cri-o.repo
[cri-o]
name=CRI-O
baseurl=https://pkgs.k8s.io/addons:/cri-o:/prerelease:/$CRIO_VERSION/rpm/
enabled=1
gpgcheck=1
gpgkey=https://pkgs.k8s.io/addons:/cri-o:/prerelease:/$CRIO_VERSION/rpm/repodata/repomd.xml.key
EOF

sudo rpm-ostree refresh-md --force
sudo rpm-ostree install cri-o

Expected behavior

It should work and install cri-o

Actual behavior

It fails with error :

$ sudo rpm-ostree install cri-o
Inactive requests:
  ethtool (already provided by ethtool-2:6.10-1.fc40.x86_64)
Checking out tree 7cccdb7... done
Enabled rpm-md repositories: fedora-cisco-openh264 updates fedora cri-o kubernetes updates-archive
Importing rpm-md... done
rpm-md repo 'fedora-cisco-openh264' (cached); generated: 2024-03-12T11:45:42Z solvables: 3
rpm-md repo 'updates' (cached); generated: 2024-10-08T01:34:11Z solvables: 28640
rpm-md repo 'fedora' (cached); generated: 2024-04-14T18:51:11Z solvables: 74881
rpm-md repo 'cri-o' (cached); generated: 2024-10-08T01:50:41Z solvables: 25
rpm-md repo 'kubernetes' (cached); generated: 2023-11-16T11:35:09Z solvables: 285
rpm-md repo 'updates-archive' (cached); generated: 2024-10-08T02:09:53Z solvables: 46136
Resolving dependencies... done
Checking out packages... done
error: Checkout cri-o-1.32.0~dev-150500.23.1.x86_64: Hardlinking 4f/6fe25aae7420f0a01f88f2295bee9a2b701fddb5c2dacff97b66d5171d2f70.file to conmon: File exists

System details

$ rpm-ostree status
State: idle
AutomaticUpdatesDriver: Zincati
  DriverState: active; periodically polling for updates (last checked Tue 2024-10-08 17:30:39 UTC)
Deployments:
● fedora:fedora/x86_64/coreos/stable
                  Version: 40.20240906.3.0 (2024-09-23T17:17:26Z)
                   Commit: 7cccdb7762ea086274edf7026e4450988ec4c140c66ccb6363c2d6c4eada8e80
             GPGSignature: Valid signature by 115DF9AEF857853EE8445D0A0727707EA15B79CC

$ rpm-ostree --version
rpm-ostree:
 Version: '2024.7'
 Git: 21911f1510b44d8962b28ff86a92f789f1db0095
 Features:
  - rust
  - compose
  - container
  - fedora-integration
NAME="Fedora Linux"
VERSION="40.20240906.3.0 (CoreOS)"
ID=fedora
VERSION_ID=40
VERSION_CODENAME=""
PLATFORM_ID="platform:f40"
PRETTY_NAME="Fedora CoreOS 40.20240906.3.0"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:40"
HOME_URL="https://getfedora.org/coreos/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora-coreos/"
SUPPORT_URL="https://github.com/coreos/fedora-coreos-tracker/"
BUG_REPORT_URL="https://github.com/coreos/fedora-coreos-tracker/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=40
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=40
SUPPORT_END=2025-05-13
VARIANT="CoreOS"
VARIANT_ID=coreos
OSTREE_VERSION='40.20240906.3.0'

Additional information

Since the issue seems to be related to conmon :

$ whereis conmon
conmon: /usr/bin/conmon
$ /usr/bin/conmon --version
conmon version 2.1.10
commit: 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant