Bug 1955904

Summary: error: bwrap test failed: Invalid cross-device link (os error 18)
Product: [Fedora] Fedora Reporter: Martin Pitt <mpitt>
Component: rpm-ostreeAssignee: Colin Walters <walters>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 34CC: dustymabe, jonathan, lucab, miabbott, philip.wyett, robertthomasfairley, travier, walters
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 2021.4-3.fc34 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-01 12:04:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Martin Pitt 2021-05-01 11:06:55 UTC
Description of problem: Since around two weeks ago, building rpm-ostrees fails on my system. It does not depend on which particular tree I build, it happens on the official Silverblue one.


Version-Release number of selected component (if applicable):

rpm-ostree-2021.4-1.fc34.x86_64
ostree-2021.2-2.fc34.x86_64

How reproducible: Always


Steps to Reproduce: As root:

cd /var/tmp
mkdir -p ostree-cache
ostree --repo=ostree-repo init --mode=archive-z2
git clone https://pagure.io/workstation-ostree-config
cd workstation-ostree-config/
rpm-ostree compose tree --unified-core --cachedir=/var/tmp/ostree-cache --repo=/var/tmp/ostree-repo fedora-silverblue.yaml


Actual results:
Fails immediately with

error: bwrap test failed, see <https://github.com/coreos/rpm-ostree/pull/429>: Invalid cross-device link (os error 18)


Expected results: Tree building works

Comment 1 Martin Pitt 2021-05-01 11:10:34 UTC
Confirmed that after rolling back to my build from April 10, *this* bug is fixed, and the reproducer at least starts to download packages. The most obvious package diffs are rpm-ostree 2021.4-1.fc34 -> 2021.3-2.fc34
 and ostree 2021.2-2.fc34 -> 2021.1-2.fc34, but giving the full output here just in case:


❱❱❱ sudo rpm-ostree db diff
ostree diff commit from: rollback deployment (2eabaffe03d7805971692a49f3aea7bb62e90a188b283aca519ed48e49bf05f9)
ostree diff commit to:   booted deployment (6941f3e2b88fe895c80baa9d9c19b32ff7804cea28e2b7c98b8c28abd911f639)
Downgraded:
  buildah 1.20.1-1.fc34 -> 1.20.0-1.fc34
  cockpit-bridge 242-1.fc34 -> 241-1.fc34
  cockpit-system 242-1.fc34 -> 241-1.fc34
  cockpit-ws 242-1.fc34 -> 241-1.fc34
  container-selinux 2:2.160.0-1.fc34 -> 2:2.158.0-1.gite78ac4f.fc34
  cups-libs 1:2.3.3op2-4.fc34 -> 1:2.3.3op2-3.fc34
  curl 7.76.1-1.fc34 -> 7.76.0-1.fc34
  fedora-gpg-keys 34-1 -> 34-0.14
  fedora-logos 34.0.2-2.fc34 -> 34.0.2-1.fc34
  fedora-release-common 34-1 -> 34-0.14
  fedora-release-identity-silverblue 34-1 -> 34-0.14
  fedora-release-silverblue 34-1 -> 34-0.14
  fedora-repos 34-1 -> 34-0.14
  ffmpeg-libs 4.4-1.fc34 -> 4.4-0.7.20210323git0be265e.fc34
  firefox 87.0-12.fc34 -> 87.0-7.fc34
  firefox-wayland 87.0-12.fc34 -> 87.0-7.fc34
  flatpak-session-helper 1.10.2-3.fc34 -> 1.10.2-2.fc34
  glibmm24 2.66.0-2.fc34 -> 2.64.5-4.fc34
  grub2-common 1:2.06~rc1-4.fc34 -> 1:2.06~rc1-3.fc34
  grub2-efi-x64 1:2.06~rc1-4.fc34 -> 1:2.06~rc1-3.fc34
  grub2-pc 1:2.06~rc1-4.fc34 -> 1:2.06~rc1-3.fc34
  grub2-pc-modules 1:2.06~rc1-4.fc34 -> 1:2.06~rc1-3.fc34
  grub2-tools 1:2.06~rc1-4.fc34 -> 1:2.06~rc1-3.fc34
  grub2-tools-minimal 1:2.06~rc1-4.fc34 -> 1:2.06~rc1-3.fc34
  kernel 5.11.14-300.fc34 -> 5.11.12-300.fc34
  kernel-core 5.11.14-300.fc34 -> 5.11.12-300.fc34
  kernel-modules 5.11.14-300.fc34 -> 5.11.12-300.fc34
  kernel-modules-extra 5.11.14-300.fc34 -> 5.11.12-300.fc34
  libavdevice 4.4-1.fc34 -> 4.4-0.7.20210323git0be265e.fc34
  libcurl 7.76.1-1.fc34 -> 7.76.0-1.fc34
  libhandy 1.2.1-1.fc34 -> 1.2.0-2.fc34
  librsvg2 2.50.4-1.fc34 -> 2.50.3-1.fc34
  librsync 2.3.2-1.fc34 -> 2.3.1-4.fc34
  mpfr 4.1.0-6.fc34 -> 4.1.0-5.fc34
  mtr 2:0.94-3.fc34 -> 2:0.94-2.fc34
  openldap 2.4.57-3.fc34 -> 2.4.57-2.fc34
  ostree 2021.2-2.fc34 -> 2021.1-2.fc34
  ostree-grub2 2021.2-2.fc34 -> 2021.1-2.fc34
  ostree-libs 2021.2-2.fc34 -> 2021.1-2.fc34
  python3-google-auth 1:1.28.1-1.fc34 -> 1:1.27.0-1.fc34
  python3-xlib 0.29-1.fc34 -> 0.28-3.fc34
  rpm-ostree 2021.4-1.fc34 -> 2021.3-2.fc34
  rpm-ostree-libs 2021.4-1.fc34 -> 2021.3-2.fc34
  selinux-policy 34.3-1.fc34 -> 34.2-1.fc34
  selinux-policy-targeted 34.3-1.fc34 -> 34.2-1.fc34
  skopeo 1:1.2.3-1.fc34 -> 1:1.2.2-24.fc34
  syncthing 1.15.1-1.fc34 -> 1.14.0-1.fc34
  volume_key-libs 0.3.12-11.fc34 -> 0.3.12-10.fc34
  waybar 0.9.7-1.fc34 -> 0.9.5-4.fc34
  wget 1.21.1-3.fc34 -> 1.21.1-2.fc34
  xorg-x11-server-Xwayland 21.1.1-1.fc34 -> 21.1.0-1.fc34
  xorg-x11-server-common 1.20.11-1.fc34 -> 1.20.10-5.fc34
Removed:
  git-2.31.1-1.fc34.x86_64
  git-core-doc-2.31.1-1.fc34.noarch
  patchutils-0.4.2-5.fc34.x86_64
  perl-DynaLoader-1.47-474.fc34.x86_64
  perl-Error-1:0.17029-5.fc34.noarch
  perl-File-Find-1.37-474.fc34.noarch
  perl-Git-2.31.1-1.fc34.noarch
  perl-NKF-1:2.1.4-19.fc34.x86_64
  perl-TermReadKey-2.38-9.fc34.x86_64
  perl-lib-0.65-474.fc34.x86_64
  w3m-0.5.3-50.git20210102.fc34.x86_64

Comment 2 Martin Pitt 2021-05-01 11:52:24 UTC
FTR, "SELinux enabled, but no policy found" was a bug specific to my tree definition, please ignore.

(I did not explicitly install selinux-policy-targeted, presumably it used to be pulled in by something else in the past. I can't for the life of me figure out how to build a tree without selinux support -- selinux: false alone does not work.)

Comment 3 Martin Pitt 2021-05-01 12:04:49 UTC
I upgraded to very latest Fedora 34 now, with

  rpm-ostree 2021.4-1.fc34 -> 2021.4-3.fc34
  rpm-ostree-libs 2021.4-1.fc34 -> 2021.4-3.fc34

and this is fixed again. Sorry for the noise!