Page MenuHomePhabricator

Librenms sessions are stored inside the deployment directory
Closed, ResolvedPublic

Description

It seems that librenms sessions are stored within the deployment directory in /srv/deployment/librenms/librenms/storage/framework/sessions/. As a result at every puppet run, puppet changes the permission of all the new files, resulting in a very spammy and unnecessary puppet run:

...
Notice: /Stage[main]/Librenms/File[/srv/deployment/librenms/librenms/storage/framework/sessions/pYFY...SNIP.../mode: mode changed '0644' to '0660'
...

Details

Related Gerrit Patches:

Event Timeline

Volans triaged this task as Medium priority.Nov 28 2019, 1:36 PM
Volans created this task.
Restricted Application added a project: Operations. · View Herald TranscriptNov 28 2019, 1:36 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 573268 had a related patch set uploaded (by Jbond; owner: John Bond):
[operations/puppet@production] librenms: librenms and puppet managing files with different permissions

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

Change 573268 merged by Jbond:
[operations/puppet@production] librenms: librenms and puppet managing files with different permissions

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

jbond closed this task as Resolved.Wed, Feb 19, 2:06 PM
jbond claimed this task.
jbond added a subscriber: jbond.

i have excluded the files in this directory from puppet managment