Announcement

Collapse
No announcement yet.

enabling cagefs breaks source guardian

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • enabling cagefs breaks source guardian

    Hi,
    We have source guardian installed as a php extension, but enabling cagefs breaks it.

    Code:
    PHP Startup: Unable to load dynamic library /usr/local/php5/lib/php/extensions/no-debug-non-zts-20090626/ixed.5.3.lin - /usr/local/php5/lib/php/extensions/no-debug-non-zts-20090626/ixed.5.3.lin: cannot open shared object file: No such file or directory
    I have solved this problem by the following commands:

    Code:
    mkdir -p /usr/share/cagefs-skeleton//usr/local/php5/lib/php/extensions/no-debug-non-zts-20090626/
    
    cp /usr/local/php5/lib/php/extensions/no-debug-non-zts-20090626/* /usr/share/cagefs-skeleton//usr/local/php5/lib/php/extensions/no-debug-non-zts-20090626/
    but I was wondering if what I did is right and does not raise a security threat?
    Also, is it possible to embed it into cagefs script so that enabling cagefs would copy "source guardian" files as well?

    Thanks

  • #2
    You need to add it to CageFS:



    CageFS is a white listing technology. It doesn detect "bad" things. It just approves "known/safe" things.

    Comment

    Working...
    X