Last modified: 2014-07-07 14:52:05 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T69597, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67597 - Wikimetrics backup should warn about symlinks pointing out of /var/lib/wikimetrics
Wikimetrics backup should warn about symlinks pointing out of /var/lib/wikime...
Status: NEW
Product: Analytics
Classification: Unclassified
Wikimetrics (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-07 14:52 UTC by nuria
Modified: 2014-07-07 14:52 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description nuria 2014-07-07 14:52:05 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links