Skip to content

podman relabel issue #27184

@tazihad

Description

@tazihad

Issue Description

A strange issue. I have extracted ventoy and used this to format a USB. However after this my podman command stopped working.
Command:

podman run -d \
  --name=qbittorrent \
  --restart=on-failure \
  --network=host \
  --userns=keep-id \
  --user root \
  -e PUID=1000 \
  -e PGID=1000 \
  -e QBT_WEBUI_PORT=58080 \
  -v qbittorrent-config:/config \
  -v $HOME/Downloads:/downloads:Z \
  docker.io/qbittorrentofficial/qbittorrent-nox:latest

error:

Error: lsetxattr(label=system_u:object_r:container_file_t:s0:c438,c654) /home/zihad/Downloads/ventoy-1.1.07/Ventoy2Disk.ini: operation not permitted

I don't understand why a ventoy file not letting me mount this directory. If I delete the ventoy directory. Podman command works.

This is on Fedora 43

Steps to reproduce the issue

Steps to reproduce the issue

  1. Use extract and use ventoy
  2. run the podman command and try to mount the directory ventoy exist
  3. It throws relabel error.

Describe the results you received

Describe the results you receivedError: lsetxattr(label=system_u:object_r:container_file_t:s0:c438,c654) /home/zihad/Downloads/ventoy-1.1.07/Ventoy2Disk.ini: operation not permitted

Describe the results you expected

Describe the results you expected:
It should have mount the directory.

podman info output

podman version 5.6.1

Podman in a container

No

Privileged Or Rootless

Rootless

Upstream Latest Release

Yes

Additional environment details

Additional environment details

Additional information

Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good First IssueThis issue would be a good issue for a first time contributor to undertake.bugweekkind/bugCategorizes issue or PR as related to a bug.triagedIssue has been triagedvolunteers-wantedIssues good for community/volunteer contributions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions