conda-forge / podman-feedstock

A conda-smithy repository for podman.
BSD 3-Clause "New" or "Revised" License
1 stars 7 forks source link

Trouble finding `rootlessport` #40

Open dhirschfeld opened 1 year ago

dhirschfeld commented 1 year ago

Comment:

Error: could not find rootlessport in one of [/usr/local/libexec/podman /usr/local/lib/podman /usr/libexec/podman /usr/lib/podman]. To resolve this error, set the helper_binaries_dir key in the [engine] section of containers.conf to the directory containing your helper binaries

dhirschfeld commented 1 year ago

Might nee to configure HELPER_BINARIES_DIR in the build: https://github.com/containers/podman/blob/0745fe892853e405f9ab5187bf92fb2d290f45f7/Makefile#L119

nightfox0909 commented 8 months ago

I managed to get this working by manually adding the directory that has the rootlessport binary.

To find the directory with rootlessport, i used find \ -name rootlessport which gave me /home/sp/miniconda3/libexec/podman/rootlessport

I then edited the containers.conf at /home/sp/miniconda3/share/containers/containers.conf( use podman info to find your path ) and added this to the [engine] section

helper_binaries_dir = [ "/home/sp/miniconda3/libexec/podman" ]

manics commented 8 months ago

Maybe https://github.com/conda-forge/podman-feedstock/blob/main/recipe/0002-relative-paths-for-system-config-and-binaries.patch needs an update to set this additional path dynamically?