Announcement

Collapse
No announcement yet.

CageFS and Latex / Texlive

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

  • CageFS and Latex / Texlive

    We got a few sites that using texlive on their forums.
    More specifically they use dvips binary, convert and latex
    from

    /usr/local/bin/dvips/usr/bin/convert
    and
    /usr/local/bin/latex
    which latex is a symlink to
    latex -> /usr/local/texlive/2011/bin/x86_64-linux/latex
    dvips is also there
    dvips -> /usr/local/texlive/2011/bin/x86_64-linux/dvips*

    I tried to add in cagefs.mp /usr/local/texlive
    but those sites don work when I will put them in cagefs.

    Is there something else that I am missing to make it work under CageFS ?

    cagefs.mp is now:

    Code:
     /var/lib/mysql
    
    /dev/pts
    
    /usr/local/apache/domlogs
    
    /proc
    
    /var/run/proxyexec/cagefs.sock
    
    # You can add personal (individual) mounts for users, like below.
    
    # Please, start line with "@" symbol, and then specify path and permissions (comma separated).
    
    # These directories will be virtualized for each user.
    
    @/var/spool/cron,700
    
    @/var/run/screen,777
    
    @/var/cache/php-eaccelerator,777
    
    /opt/alt

  • #2
    Hi Christos!

    You should create file /etc/cagefs/conf.d/latex.cfg with the following content:
    [texlive]
    comment=texlive
    paths=/usr/local/bin/dvips/usr/bin/convert, /usr/local/bin/latex

    And then please execute
    cagefsctl --update

    You do not need to add any paths to /etc/cagefs/cagefs.mp file.

    http://.%20./.%20./.%20./.%20./user/185/

    Comment

    Working...
    X