Page MenuHomePhabricator

Remove unused gerrit2 reserved UID 444
Closed, ResolvedPublic

Description

In July 2016 we went to reserve uid 444 for the gerrit2 user: https://wikitech.wikimedia.org/w/index.php?title=UID&diff=prev&oldid=742205 The UID is not used on the Gerrit hosts. Instead we have Puppet creating the gerrit2 user and the next available UID is assigned by the system. It happens to be the same (498) on both hosts, but that is not reserved.

Given we never used the uid 444, I propose we remove it from the list of reserved UID.

Side note: we have another task T338470 which is to rename the user gerrit2gerrit and assign the already reserved uid 925

Event Timeline

[gerrit1003:~] $ grep 444 /etc/passwd
[gerrit1003:~] $ grep gerrit /etc/passwd
gerrit2:x:498:1001::/var/lib/gerrit2:/bin/bash
gerrit-deploy:x:497:498::/var/lib/gerrit-deploy:/bin/bash


[gerrit2002:~] $ grep 444 /etc/passwd
[gerrit2002:~] $ grep gerrit /etc/passwd
gerrit2:x:498:1001::/var/lib/gerrit2:/bin/bash
gerrit-deploy:x:497:498::/var/lib/gerrit-deploy:/bin/bash

guess that's all there is to this ticket. but we should also do the other one.

P.S. The other one says we were expecting to do this during a coming migration to bookworm.

Dzahn changed the task status from Open to In Progress.Jan 3 2024, 6:05 PM
Dzahn claimed this task.

Removing the never used 444 uid was all I was looking for in this task =) Thanks!