Skip to content

Error: Linking tmp mounts to host #91

Open

Description

@mskarbek

I just tried to follow the basic example from install.md document. Unfortunately, this fails right at the start.

root@ishikawa ~# podman run --privileged --pid=host --net=none --security-opt label=type:unconfined_t ghcr.io/cgwalters/c9s-oscore bootc install --target-no-signature-verification /dev/nbd0
ERROR Linking tmp mounts to host: Exchanging /tmp <=> /tmp.tmp: Invalid argument (os error 22)
root@ishikawa ~# rpm -q podman
podman-4.2.0-9.el9_1.x86_64
root@ishikawa ~# cat /etc/os-release 
NAME="Red Hat Enterprise Linux"
VERSION="9.1 (Plow)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="9.1"
PLATFORM_ID="platform:el9"

Activity

  1. mskarbek commented on Apr 17, 2023

    @mskarbek
    Author

    Ok, a comment in the code states that this part is to avoid forcing the user to use bind mount for /tmp and /var/tmp. But that should also allow such case, not forbid it entirely. I'm perfectly capable of adding those two bind mounts. ;)

  2. mskarbek commented on Apr 17, 2023

    @mskarbek
    Author

    So, the funny thing is that I'm using OpenZFS as a container storage which, currently, doesn't support renameat2(). That is why I'm getting this error. renameat2() will (probably) come with the 2.2.0 release of OpenZFS, so for now, XFS for this particular use case will have to be enough or allowing to skip this and bind mount tmp directories manually (preferably).

  3. cgwalters commented on Dec 18, 2023

    @cgwalters
    Member

    This is probably fixed by #225

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions