Read only file system: '/root/.local' when using -t lxc
-
Hello supporters,
following question.
a) Google Pixel 3a XL
b) Linux ubuntu-phablat 4.9.124-...When I run
$ sudo libertine-container-manager create -i someID -n 'Some Name' -t lxc
the command ends with an OSError:
Read only file system: '/root/.local'He wants to create the .local directory and it fails but the root / permissions should not be modified by user.
Everything works fine, when I use -t chroot.
Q: How could I get it working with -t lxc ?
Regards
-
Hi @virtenv,
You shouldn't be using sudo with libertine-container-manager. It is surprising that it works with -t chroot if you are using sudo.
On to your question. The short of it is that it is currently not possible to use a lxc container for Libertine. There have been experiments in getting it to work, but these are not well documented and require doing some unsupported operations on the root filesystem.
So, for now, if you need to ask the question, you probably should stick with chroots.
-
Thank you. Actually, since the type chroot is the default, I don't write it.
And yes, it works with or without sudo.Regards