Page MenuHomePhabricator

Logrotate parsoid logs failing
Closed, ResolvedPublic

Description

(Not the best place to file this, but...)

On all wtp* hosts...

Cron <root@wtp1017> /usr/sbin/logrotate /etc/logrotate.d/parsoid

error: skipping "/var/log/parsoid/parsoid.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.


Version: unspecified
Severity: normal

Details

Reference
bz73145

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:57 AM
bzimport added a project: Parsoid.
bzimport set Reference to bz73145.

Hm, I wonder if OCG has the same problem?

gerritadmin wrote:

Change 171902 had a related patch set uploaded by Yuvipanda:
parsoid: Log rotate as parsoid, not root

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

gerritadmin wrote:

Change 171902 merged by Yuvipanda:
parsoid: Log rotate as parsoid, not root

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