Page MenuHomePhabricator

Wikimetrics backup should warn about symlinks pointing out of /var/lib/wikimetrics
Closed, DeclinedPublic

Description

Wikimetrics backup should warn about symlinks pointing out of '/var/lib/wikimetrics'.

The '/var/lib/wikimetrics' is the directory that holds all public reports for wikimetrics, this directory is created by puppet.

Within that directory there are symlinks that give a more friendly name to reports, for example: "/NewlyRegistered/enwiki.json" might point to a file that just has an id like "/12345/full.report.json".

Now, the target of any symlink (the "12345/full_report.json") should be located inside the /var/lib/wikimetrics directory, if there are symlinks to paths located outside the directory backup script should log an error.

The backup script does not de-reference directories.


Version: unspecified
Severity: normal

Details

Reference
bz67597

Related Objects

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:39 AM
bzimport set Reference to bz67597.
bzimport added a subscriber: Unknown Object (MLST).
Nuria created this task.Jul 7 2014, 2:52 PM
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald TranscriptDec 10 2015, 11:03 PM
mforns closed this task as Declined.Mar 26 2019, 2:06 PM
mforns added a subscriber: mforns.

Declining because Wikimetrics is being discontinued. See: T211835.

Restricted Application added a project: Analytics. · View Herald TranscriptMar 26 2019, 2:06 PM