CageFS и Latex / Texlive
Форум
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and cPanel
  1. Christos Panagiotakis
  2. Monday, 12 November 2012
  3.  Subscribe via email
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\'t 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:

 /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
Rate this post:
  1. 13.11.2012 05:11:22
  2. # 1
Anton Volkov Accepted Answer
Posts: 47
Joined: 03.04.2012
0
Votes
Undo
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.


  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
гость
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.