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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register Login