Skip to content
Snippets Groups Projects
Commit 1e9b9c7b authored by Mahe Tardy's avatar Mahe Tardy Committed by Mahé
Browse files

pkg/sensors/tracing: fix enforcer security tests


Because of root-images update in previous commit, the enforcer security
tests started failing, after investigation we realized that the
difference was that the old image mounted /tmp on the disk fs and the
new one with tmpfs. Then the direct-write-tester.c program was failing
using O_DIRECT (because apparently it fails on tmpfs). It failed
silently on recent linux versions however because O_DIRECT on tmpfs
might just be a noop.

/var/tmp should be backed by disk so it should be a fix for our issue.

Signed-off-by: default avatarMahe Tardy <mahe.tardy@gmail.com>
parent 9e8f0053
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment