[Slackbuilds-users] capnproto sandbox violations

orbea at fredslev.dk orbea at fredslev.dk
Tue Jul 24 01:00:03 UTC 2018


I built capnproto with sandbox from SBo and found it resulted with a
open_wr violation for /etc/ld.so.cache~.

ldconfig < /dev/null > /dev/null 2>&1 || true
 * ACCESS DENIED:  open_wr:      /etc/ld.so.cache~

 * --------------------------- ACCESS VIOLATION SUMMARY ---------------------------
 * LOG FILE: "/tmp/sandbox-12065.log"
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: open_wr
S: deny
P: /etc/ld.so.cache~
A: /etc/ld.so.cache~
R: /etc/ld.so.cache~
C: ldconfig 
 * --------------------------------------------------------------------------------

This can be easily worked around by adding this line before 'autoreconf'.

  cd c++
    sed -i '/ldconfig </d' ./Makefile.am
    autoreconf -ivf

Can this be fixed in SBo?

The sandbox script can be found here.


And this can be reproduced with:

  sandbox ./capnproto.SlackBuild


More information about the SlackBuilds-users mailing list