Closed rodnymolina closed 3 years ago
See this for more context.
Installer should add libseccomp-dev as a package dependency as only then we can guarantee that /usr/include/libseccom.h will be present. This may not be the proper header to utilize as we may need the seccomp.h that comes with the current kernel-headers.
We are looking for the libc linux headers, so the package we want is linux-libc-dev
on ubuntu.
There seems to be a misalignment in regards to the Sysbox's expected libseccomp.h path (i.e. /usr/include/linux/libseccomp.h) and the one where Ubuntu install this header (i.e. /usr/include/libseccomp.h).
The libc linux headers are installed at /usr/include/linux
.
Problem was fixed via PR #137. Refer to the description of that PR for the problem cause and fix.
Closing!
I'm able to consistently reproduce this one in GCP's Ubuntu-Bionic and Ubuntu-Focal VMs:
There seems to be two separated issues to fix here:
1)
Installer should add libseccomp-dev as a package dependency as only then we can guarantee thatThis may not be the proper header to utilize as we may need the seccomp.h that comes with the current kernel-headers./usr/include/libseccom.h
will be present.2) There seems to be a misalignment in regards to the Sysbox's expected libseccomp.h path (i.e. /usr/include/linux/libseccomp.h) and the one where Ubuntu install this header (i.e. /usr/include/libseccomp.h).