Bug 2148753

Summary: 'file' is built without seccomp support
Product: [Fedora] Fedora Reporter: Richard W.M. Jones <rjones>
Component: fileAssignee: Vincent Mihalkovič <vmihalko>
Status: ASSIGNED --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: jkaluza, kdudka, lzaoral, odubaj, svashisht, vmihalko
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Richard W.M. Jones 2022-11-27 17:55:39 UTC
Description of problem:

Originally found / reported to me by Toolybird here:
https://github.com/libguestfs/libguestfs/issues/100#issuecomment-1328182986

In Fedora, it seems as if we intend to use seccomp support with
file.  In the past we have added patches to fix seccomp support.
However currently file is compiled without seccomp support:

checking for seccomp_init in -lseccomp... no

I think this is just a missing dependency.  If you compile the
unmodified package locally with a machine that has libseccomp-devel
installed then it works.

Version-Release number of selected component (if applicable):

file-5.42-4.fc38

How reproducible:

100%

Steps to Reproduce:
1. See latest build log:
https://koji.fedoraproject.org/koji/buildinfo?buildID=2036332

Comment 1 Ben Cotton 2023-02-07 15:11:27 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 38 development cycle.
Changing version to 38.