Skip to content

Error relocating ... RELRO protection failed: No error information (SELinux related) #27895

@opelx

Description

@opelx

Issue Description

A simple start of the container fails with

Error relocating /lib/ld-musl-x86_64.so.1: RELRO protection failed: No error information

Steps to reproduce the issue

There are differences in running different versions of rclone/rclone from docker.io (and ghcr.io)

docker.io/rclone/rclone:1.72.0 vs docker.io/rclone/rclone:v1.72-stable

rclone/rclone:1.72.0 adds a layer
1 ADD alpine-minirootfs-3.22.2-x86_64.tar.gz / # buildkit
while rclone/rclone:v1.72-stable (1.72.1 probably) adds
1 ADD alpine-minirootfs-3.23.0-x86_64.tar.gz / # buildkit

which runs into unexpected behavior - Steps to reproduce the issue:

$ podman run --name rclone-sync-i --replace -ti --rm --entrypoint=ash docker.io/rclone/rclone:1.72.0
/data #
^+D
$ podman run --name rclone-sync-i --replace -ti --rm --entrypoint=ash docker.io/rclone/rclone:v1.72-stable
Error relocating /lib/ld-musl-x86_64.so.1: RELRO protection failed: No error information
Error relocating /bin/ash: RELRO protection failed: No error information
$ sudo ausearch -m avc -ts recent
----
time->Sun Jan 11 17:13:02 2026
type=AVC msg=audit(1768147982.779:2219): avc:  denied  { read } for  pid=851817 comm="ash" path="/lib/ld-musl-x86_64.so.1" dev="sda5" ino=713576 scontext=system_u:system_r:container_t:s0:c613,c956 tcontext=unconfined_u:object_r:container_file_t:s0:c183,c236 tclass=file permissive=0
----
time->Sun Jan 11 17:13:02 2026
type=AVC msg=audit(1768147982.780:2220): avc:  denied  { read } for  pid=851817 comm="ash" path="/bin/busybox" dev="sda5" ino=34303686 scontext=system_u:system_r:container_t:s0:c613,c956 tcontext=unconfined_u:object_r:container_file_t:s0:c183,c236 tclass=file permissive=0

Describe the results you received

It is noteworthy that rclone itself has no problems, only when the shell is required in the quadlet, e.g., in

Environment=RCLONE_PASSWORD_COMMAND=“cat /run/secrets/password”

the job is then terminated.

Describe the results you expected

I would not expect any problems between these version jumps...

podman info output

host:
  arch: amd64
  buildahVersion: 1.42.2
  cgroupControllers:
  - cpu
  - memory
  - pids
  cgroupManager: systemd
  cgroupVersion: v2
  conmon:
    package: conmon-2.1.13-2.fc43.x86_64
    path: /usr/bin/conmon
    version: 'conmon version 2.1.13, commit: '
  cpuUtilization:
    idlePercent: 98.75
    systemPercent: 0.59
    userPercent: 0.66
  cpus: 4
  databaseBackend: sqlite
  distribution:
    distribution: fedora
    variant: coreos
    version: "43"
  eventLogger: journald
  freeLocks: 2013
  hostname: coreos-test
  idMappings:
    gidmap:
    - container_id: 0
      host_id: 1000
      size: 1
    - container_id: 1
      host_id: 524288
      size: 65536
    uidmap:
    - container_id: 0
      host_id: 1000
      size: 1
    - container_id: 1
      host_id: 524288
      size: 65536
  kernel: 6.17.11-300.fc43.x86_64
  linkmode: dynamic
  logDriver: journald
  memFree: 3031781376
  memTotal: 8313876480
  networkBackend: netavark
  networkBackendInfo:
    backend: netavark
    dns:
      package: aardvark-dns-1.17.0-1.fc43.x86_64
      path: /usr/libexec/podman/aardvark-dns
      version: aardvark-dns 1.17.0
    package: netavark-1.17.1-1.fc43.x86_64
    path: /usr/libexec/podman/netavark
    version: netavark 1.17.1
  ociRuntime:
    name: crun
    package: crun-1.25.1-1.fc43.x86_64
    path: /usr/bin/crun
    version: |-
      crun version 1.25.1
      commit: 156ae065d4a322d149c7307034f98d9637aa92a2
      rundir: /run/user/1000/crun
      spec: 1.0.0
      +SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +CRIU +LIBKRUN +WASM:wasmedge +YAJL
  os: linux
  pasta:
    executable: /usr/bin/pasta
    package: passt-0^20250919.g623dbf6-1.fc43.x86_64
    version: |
      pasta 0^20250919.g623dbf6-1.fc43.x86_64-pasta
      Copyright Red Hat
      GNU General Public License, version 2 or later
        <https://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
      This is free software: you are free to change and redistribute it.
      There is NO WARRANTY, to the extent permitted by law.
  remoteSocket:
    exists: true
    path: /run/user/1000/podman/podman.sock
  rootlessNetworkCmd: pasta
  security:
    apparmorEnabled: false
    capabilities: CAP_CHOWN,CAP_DAC_OVERRIDE,CAP_FOWNER,CAP_FSETID,CAP_KILL,CAP_NET_BIND_SERVICE,CAP_SETFCAP,CAP_SETGID,CAP_SETPCAP,CAP_SETUID,CAP_SYS_CHROOT
    rootless: true
    seccompEnabled: true
    seccompProfilePath: /usr/share/containers/seccomp.json
    selinuxEnabled: true
  serviceIsRemote: false
  slirp4netns:
    executable: /usr/bin/slirp4netns
    package: slirp4netns-1.3.1-3.fc43.x86_64
    version: |-
      slirp4netns version 1.3.1
      commit: e5e368c4f5db6ae75c2fce786e31eef9da6bf236
      libslirp: 4.9.1
      SLIRP_CONFIG_VERSION_MAX: 6
      libseccomp: 2.6.0
  swapFree: 0
  swapTotal: 0
  uptime: 86h 33m 40.00s (Approximately 3.58 days)
  variant: ""
plugins:
  authorization: null
  log:
  - k8s-file
  - none
  - passthrough
  - journald
  network:
  - bridge
  - macvlan
  - ipvlan
  volume:
  - local
registries:
  search:
  - docker.io
  - quay.io
  - registry.fedoraproject.org
  - registry.access.redhat.com
store:
  configFile: /var/home/core/.config/containers/storage.conf
  containerStore:
    number: 8
    paused: 0
    running: 7
    stopped: 1
  graphDriverName: overlay
  graphOptions: {}
  graphRoot: /var/home/core/.local/share/containers/storage
  graphRootAllocated: 25163726848
  graphRootUsed: 14780850176
  graphStatus:
    Backing Filesystem: xfs
    Native Overlay Diff: "true"
    Supports d_type: "true"
    Supports shifting: "false"
    Supports volatile: "true"
    Using metacopy: "false"
  imageCopyTmpDir: /var/tmp
  imageStore:
    number: 19
  runRoot: /run/user/1000/containers
  transientStore: false
  volumePath: /var/home/core/.local/share/containers/storage/volumes
version:
  APIVersion: 5.7.1
  BuildOrigin: Fedora Project
  Built: 1765324800
  BuiltTime: Wed Dec 10 01:00:00 2025
  GitCommit: f845d14e941889ba4c071f35233d09b29d363c75
  GoVersion: go1.25.4 X:nodwarf5
  Os: linux
  OsArch: linux/amd64
  Version: 5.7.1

Podman in a container

No

Privileged Or Rootless

Rootless

Upstream Latest Release

Yes

Additional environment details

$ cat /etc/os-release
NAME="Fedora Linux"
VERSION="43.20251214.3.0 (CoreOS)"
RELEASE_TYPE=stable
ID=fedora
VERSION_ID=43
VERSION_CODENAME=""
PRETTY_NAME="Fedora CoreOS 43.20251214.3.0"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:43"
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=43
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=43
SUPPORT_END=2026-12-02
VARIANT="CoreOS"
VARIANT_ID=coreos
OSTREE_VERSION='43.20251214.3.0'
IMAGE_VERSION='43.20251214.3.0'

Additional information

Newer versions of rclone are also affected.

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions