Skip to content

SELinux blocking collectors #424

@KDisen

Description

@KDisen

I've been trying to implement this but have been facing issues with SELinux. If I set SELinux to permissive, I can see all of the containers in zabbix. Once I enforce selinux, I start getting collector errors.

I checked my audit.log for podman or prometheus, but I don't receive any denials...

level=ERROR source=collector.go:127 msg="collector failed" name=container duration_seconds=1.782841557 err="deadline exceeded\ngithub.com/containers/prometheus-podman-exporter/pdcs.init\n\t:1\nruntime.doInit1\n\t/opt/hostedtoolcache/go/1.24.7/x64/src/runtime/proc.go:7410\nruntime.doInit\n\t/opt/hostedtoolcache/go/1.24.7/x64/src/runtime/proc.go:7377\nruntime.main\n\t/opt/hostedtoolcache/go/1.24.7/x64/src/runtime/proc.go:254\nruntime.goexit\n\t/opt/hostedtoolcache/go/1.24.7/x64/src/runtime/asm_amd64.s:1700"

Any suggestions will be appreciated.

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