Page MenuHomePhabricator

Rename gerrit2 unix user to gerrit and assign a fixed uid
Open, LowPublic

Description

When switching over Gerrit (ex: T326368 ) we have to rsync the LFS data, search indices and cache which requires a follow up chown -R gerrit2 on each affected base paths. Using a central fixed uid for the user would save us from having to do the chown.

While changing the uid, I'd like to also rename the user from the confusing gerrit2 to gerrit.

Event Timeline

Change 928580 had a related patch set uploaded (by Hashar; author: Hashar):

[operations/puppet@production] admin: reserve gerrit uid/gid

https://gerrit.wikimedia.org/r/928580

Change 928580 merged by Jbond:

[operations/puppet@production] admin: reserve gerrit uid/gid

https://gerrit.wikimedia.org/r/928580

This will most likely wait until (if ever) we migrate to Bookworm.

LSobanski moved this task from Incoming to Backlog on the collaboration-services board.