[Slackbuilds-users] capnproto sandbox violations

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


Hi,

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"
 * 
VERSION 1.0
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.

http://slackbuilds.org/repository/14.2/system/sandbox/

And this can be reproduced with:

  sandbox ./capnproto.SlackBuild

Thanks,
Hunter


More information about the SlackBuilds-users mailing list