•  
      request #37601 SSH folder for codendiadm should keep its owner in dev container
    Infos
    #37601
    Joris MASSON (jmasson)
    2024-04-24 17:42
    2024-04-23 17:07
    39192
    Details
    SSH folder for codendiadm should keep its owner in dev container

    When you keep a dev Tuleap container for some time, the OCI image might change (new versions are published, etc.) When such a change occurs, the actual Unix user IDs for system users might change. When that's the case, the new user codendiadm might not be owner of /var/lib/tuleap/.ssh/ folder anymore (because it kept the previous codendiadm user id as owner, which might be randomly assigned to another user now, for example tuleaprt, dummy, etc.
    When that happens, Git System events will fail with a cryptic error message saying that it cannot resolve gl-adm, which means codendiadm cannot push to the gitolite admin repository, which is necessary to enact any change for gitolite repositories.

    When starting the dev container, we should reassign the owner for the .ssh folder, so that it is always owned by the "current" codendiadm user and Git repositories can be created and updated as usual.

    Dev tools
    Empty
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Joris MASSON (jmasson)
    Closed
    2024-04-24
    Attachments
    Empty
    References
    Referencing request #37601

    Follow-ups