HomePhabricator

phabricator: Auto rsync phab1001 to phab2001 (codfw)
1333860d7e29Unpublished

Unpublished Commit · Learn More

Publishing Disabled: All publishing is disabled for this repository.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

phabricator: Auto rsync phab1001 to phab2001 (codfw)

This was done to fix the issue with rsync breaking permissions.

We can now enable automatic syncing from phab1001 (active_server)
to phab2001 (passive server).

<mutante> !log phab2001 - changing UID/GID for phd user

from 997:997 to 498:498 to make it match phab1001
to fix rsync breaking permissions.

(rsync forces --numeric-ids when fetching from and rsyncd configured
with chroot=yes). (also see T79786#1831969)

chown -R phw:www-data /srv/repos/

< mutante> !log "reserved" UID 498 for phd on
https://wikitech.wikimedia.org/wiki/UID
phab2001: find -exec chown to fix all the files , restart cron

Bug: T137928
Change-Id: Ib5ed3fa9abe647da23eee185340e54d6da15cc2d

Details

Provenance
PaladoxAuthored on Aug 4 2017, 11:22 AM
ChangeId
Ib5ed3fa9abe647da23eee185340e54d6da15cc2d

Commit No Longer Exists

This commit no longer exists in the repository.