After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 782514 - tracker-extract-iso crashes due to seccomp restriction
tracker-extract-iso crashes due to seccomp restriction
Status: RESOLVED FIXED
Product: tracker
Classification: Core
Component: Extractor
git master
Other Linux
: Normal normal
: ---
Assigned To: tracker-extractor
tracker-extractor
Depends on:
Blocks:
 
 
Reported: 2017-05-11 13:07 UTC by Felipe Borges
Modified: 2017-05-11 13:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
libtracker-common: Whitelist openat() (1.81 KB, patch)
2017-05-11 13:11 UTC, Carlos Garnacho
committed Details | Review

Description Felipe Borges 2017-05-11 13:07:23 UTC
the tracker-extract process crashes because tracker-extract-iso uses Osinfo specific methods to classify an ISO, which includes enumerating the files in an ISO to determine which operating system it is (if any).
    
osinfo_loader_find_files () uses g_file_enumerate_children (), which relies on the "openat" system call. Since Tracker does sandboxing with seccomp, this system call was blocked for this process.
Comment 1 Carlos Garnacho 2017-05-11 13:11:10 UTC
Created attachment 351625 [details] [review]
libtracker-common: Whitelist openat()

With the same caveats than open().
Comment 2 Carlos Garnacho 2017-05-11 13:13:29 UTC
Pushed the fix to master/1.12.

Attachment 351625 [details] pushed as 620a1be - libtracker-common: Whitelist openat()