You are not logged in.

#1 2013-08-02 17:41:53

OlaffTheGreat
Member
Registered: 2013-06-03
Posts: 107

LXC containers Vs Chroot, best to isolate LaTeX

Hi,
I first installed Archlinux a few days ago (SSD + LVM + encrypted disk). Everything works fine.
Now, I plan to install LaTeX wich is always tricky due to many settings.
To keep the system clean and to avoid too much maintenance on LaTeX, I want to isolate it.
To do so, I thought first about a chroot. However the more I read about LXC containers the more I think it could be a valuable solution.
So I'd like to have your opinion and advices on this matter before proceeding.


Lenovo Thinkpad x230 i5-3320M 2.6GHz 250GB SSD (M4) 16GB
SSD | SeaBIOS | GPT | BTRFS | OpenRC | Xfce4 | Zsh | Tmux | Spacemacs
* "Aware Newbie" *
Ibus IM for language script support (e.g. 日本語 - 中文)

Offline

#2 2013-08-02 17:47:09

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,546
Website

Re: LXC containers Vs Chroot, best to isolate LaTeX

I don't know how this would keep the system clean or avoid maintenance.  You'd still have to do just as much to keep the latex install up to date, plus you'd have to keep up the container.

Have you run into problems with a default install of latex?  I have texlive-most from the repos installed on all my systems and I don't see it as tricky at all.  I know of at least one user who has a non-managed (by pacman) install of latex in /opt/ which is another option.  Is there some further advantage to an LXC container?

I hope this doesn't sound OT - if you've ruled out both of these options, then go for it, but the /opt/ install option in particular may be worth considering.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2013-09-24 11:46:11

OlaffTheGreat
Member
Registered: 2013-06-03
Posts: 107

Re: LXC containers Vs Chroot, best to isolate LaTeX

I come back to this question after a while, always run troubles that change issues managing priority order.
I wondered about LXC or chroot mainly because headaches I had first when setting up LaTeX.
Then, once I had a main syst crisis that forced me to reinstall the whole of it. I was stuck in front of tricky settings of some LaTeX packages I couldn't find in official mainstream (some rare languages and physics) and I searched a way to simplify me this. Eventually I found much tricky to play around LXC (almost with systemd's requirement). so I considered a regular installation which works well. Now have to think about those peculiar packages.


Lenovo Thinkpad x230 i5-3320M 2.6GHz 250GB SSD (M4) 16GB
SSD | SeaBIOS | GPT | BTRFS | OpenRC | Xfce4 | Zsh | Tmux | Spacemacs
* "Aware Newbie" *
Ibus IM for language script support (e.g. 日本語 - 中文)

Offline

#4 2013-10-10 03:09:54

solar
Member
Registered: 2011-03-01
Posts: 77

Re: LXC containers Vs Chroot, best to isolate LaTeX

I just see you replied recently Olaff... personally, I have myself been away from computers (thus linux) for quite some time.. just did a 4 gb update of the arch box seemed to work lol.. anyway... LXC for creating a container as you say for linux is better than chroot, I would say... yes and go with that.

Just keep in mind, LXC is *not* secure.. so had it been other requirements, it wouldn'f fulfill your hopes. LXC shares the underlying kernel though and overall gives nicer interface I would say than chroot (not really that much difference but might as well dwelve into the developments of our lovely os).

I just wanted to say this, so in case yo ugt used to it, to keep an eye on the development of LXC containers till it hits the milestone of "1.0", i.e. is considered 'secure' (again, that is to say, when the design vouches for security... there are always ways to test security of course).


I am hilariously insane. yup. you won't notice though.. I promise...I think.

Offline

Board footer

Powered by FluxBB