Problem installing suricata 6.0.2 in Fedora

facing the following error:

chown: cannot access ‘/var/log/suricata/*’: No such file or directory
warning: %post(suricata-6.0.2-1.fc34.aarch64) scriptlet failed, exit status 1
Error in POSTIN scriptlet in rpm package suricata

same error message when installing with root user.

does anyone got any solution to this problem?

Looks like an issue in the Fedora/EPEL RPM. You might want to try the RPMs that we provide:

https://copr.fedorainfracloud.org/coprs/g/oisf/suricata-6.0/

They don’t appear to have this issue. But I’ll try to look into why the Fedora provided RPMs do.