Page MenuHomePhabricator

make labs instance's /var/log/ readable by default
Closed, ResolvedPublic

Description

Author: ben

Description:

make common logs in labs instances readable by normal users, either by relaxing
the permissions (640 -> 644) or by addinrg normal users to the adm group.
Specifically /var/log/syslog and /var/log/messages.

Referred To By:
{T80955}

Details

Reference
rt2712

Event Timeline

• rtimport raised the priority of this task from to Medium.Dec 18 2014, 1:11 AM
• rtimport added a project: ops-core.
• rtimport set Reference to rt2712.

laner wrote:

I'd much prefer to relax the permissions than add people to adm. The
latter may give more permissions than we are expecting, and it's not
something we'd really want to do globally.
On Wed, Mar 28, 2012 at 7:40 AM, Ben Hartshorne via RT
<core-ops at rt> wrote:

Tue Mar 27 22:40:46 2012: Request 2712 was acted upon.
 Transaction: Ticket created by ben
      Queue: core-ops
    Subject: make labs instance's /var/log/ readable by default
      Owner: Nobody
 Requestors: <bhartshorne at wikimedia> >

make common logs in labs instances readable by normal users, either by relaxing
the permissions (640 -> 644) or by addinrg normal users to the adm group.
Specifically /var/log/syslog and /var/log/messages.

Status changed from 'new' to 'open' by RT_System

https://gerrit.wikimedia.org/r/#patch,sidebyside,4157,2,manifests/base.pp

merged and works:
<dzahn at wikistats-01:~$ tail /var/log/messages

svc: failed to register

lockdv1 RPC service (errno 97).
<dzahn at wikistats-01:~$ tail /var/log/mail>

Status changed from 'open' to 'resolved' by dzahn

Reference by ticket #2846 added by dzahn

Dzahn changed the visibility from "WMF-NDA (Project)" to "Public (No Login Required)".Jun 16 2017, 7:31 PM
Dzahn changed the edit policy from "WMF-NDA (Project)" to "All Users".