UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Read only file system: '/root/.local' when using -t lxc

    Scheduled Pinned Locked Moved Libertine
    3 Posts 2 Posters 600 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V Offline
      virtenv
      last edited by

      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

      arubislanderA 1 Reply Last reply Reply Quote 0
      • arubislanderA Offline
        arubislander @virtenv
        last edited by

        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.

        πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
        Happily running Ubuntu Touch
        JingPad (24.04-1.x daily)
        OnePlus Nord N10 5G (24.04-2.x daily)
        PinePhone OG (20.04)
        Meizu Pro 5 (16.04 DEV)

        1 Reply Last reply Reply Quote 0
        • V Offline
          virtenv
          last edited by

          Thank you. Actually, since the type chroot is the default, I don't write it.
          And yes, it works with or without sudo.

          Regards

          1 Reply Last reply Reply Quote 0

          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
          • First post
            Last post