Skip Navigation
Posts
3
Comments
6
Joined
3 days ago
  • ooo i see. ok i did not consider that

  • Linux @lemmy.ml
    Nico198X @europe.pub
    europe.pub [HELP] Podman quadlet adding files to container - Europe Pub

    Hey there! i have an Owncast container that needs two extra files added to it every time it starts up because the base image doesn’t include them. they can be downloaded from within the container. i just need a way to tell the container to always do that when it starts up. i’ve tried adding this to ...

  • well, we can download these libraries from within the container. i just want a way to tell the container to always do that on startup

  • Selfhosted @lemmy.world
    Nico198X @europe.pub

    Podman quadlet adding files to container

    Hey there!

    i have an Owncast container that needs two extra files added to it every time it starts up because the base image doesn't include them. they can be downloaded from within the container. i just need a way to tell the container to always do that when it starts up.

    i've tried adding this to my quadlet:

    [Container]

    Exec=apk update && apk add --no-cache mesa-va-gallium mesa-dri-gallium

    but it doesn't work.

    does anyone know how to correctly automate this?

    thanks!

  • so, actually no change even with setting SELinux to Permissive. so i guees it isn't SELinux after all...

  • AMD Radeon RX 7600

    6.15.4-1-default

    i have not tried that. i'll give that a go. i ASSUME it's a selinux permissions issue, but i thought i had that all cleared.

  • Selfhosted @lemmy.world
    Nico198X @europe.pub

    Owncast, SELinux, Podman, Hardware Accelaration

    SOLVED: turns out mesa is not enough for this. i also had to install:

    mesa-va-gallium mesa-dri-gallium

    now we're good!


    hi all!

    i've hit a wall here and could use your input if you have any thoughts!

    i'm running Owncast latest via rootful Podman on a distro with SELinux.

    i'm trying to implement hardware acceleration via the server's AMD GPU, but it is not working.

    AMD Radeon RX 7600

    Kernel: 6.15.4-1-default

    i've turned VAAPI on in the web admin settings.

    the container comes with ffmpeg 6 and libva.

    For SELinux, i've run:

    setsebool -P container_use_devices true

    In my quadlet i've added:

    [Container]

    AddDevice=/dev/dri

    Exec=apk add mesa

    the devices appear rw in the container:

    /app # ls -l /dev/dri

    total 0

    crw-rw---- 1 root 486 226, 0 Jul 9 15:58 card0

    crw-rw---- 1 root 489 226, 128 Jul 9 15:58 renderD128

    here is the error i'm getting:

    `time="2025-07-09T15:58:46Z" level=error msg="[AVHWDevi