• 1 Post
  • 14 Comments
Joined 2 years ago
cake
Cake day: July 26th, 2024

help-circle


  • I think I have uids set up, but I’m not positive they’re set up correctly.

    Here’s an example of /etc/subuid for example, with it a bit anonymised for my specific user setup:

    core:524288:65536
    syncthing:589824:65536
    userA:655360:65536
    userB:720896:65536
    userC:786432:65536
    

    Syncthing in this case isn’t running any podman containers, all sharing is done bare-metal. userA is working, but userB and userC do look like they’re configured “correctly” at first glance. podman system info seems to be outputting the results above

      idMappings:
        gidmap:
        - container_id: 0
          host_id: 1101
          size: 1
        - container_id: 1
          host_id: 786432
          size: 65536
        uidmap:
        - container_id: 0
          host_id: 1101
          size: 1
        - container_id: 1
          host_id: 786432
          size: 65536
    

    Note: The user in question here is uid 1101, another new user I created for testing purposes.



  • As far as I understand, it should as it’s embedded inside the actual image file and not mounted.

    I’m having other strange behaviour on non-1000 uid accounts. For example, running docker.io/library/httpd using the podman examples page on an account that isn’t userid 1000 will create an issue where it complains that libgcc_0 isn’t installed. This works flawlessly on the uid 1000 user.

    It does make me think that something needs to be configured for non-uid 1000 users on podman. This is not replicable on arch linux on my raspberry pi, fwiw.