Public
Authored by Luca Giambonini

file and fakeroot

calling file inside a fakeroot trow an error:

[almack@testing: ~/core/drkonqi (testing *<)]$ file -bi /chakra/core/drkonqi/pkg/drkonqi/usr/lib/drkonqi 
application/x-pie-executable; charset=binary
[almack@testing: ~/core/drkonqi (testing *<)]$ fakeroot 
[root@testing: ~/core (testing *<)]$ file -bi /chakra/core/drkonqi/pkg/drkonqi/usr/lib/drkonqi 
Bad system call

strace outside a fakeroot: https://code.chakralinux.org/snippets/12

strace with file compiled with SCMP_ACT_TRAP https://code.chakralinux.org/snippets/13

Edited
11.1 KB
Markdown is supported
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