sous-chefs / rsyslog

Development repository for the rsyslog cookbook
https://supermarket.chef.io/cookbooks/rsyslog
Apache License 2.0
65 stars 199 forks source link

/var/log/* has the wrong group on RHEL and friends #152

Closed bish0polis closed 4 years ago

bish0polis commented 5 years ago

Cookbook version

6.0.7

Chef-client version

14.10.9

Platform Details

CentOS 7

Scenario:

/etc/rsyslog.conf :

$DirOwner adm
$DirGroup adm

This doesn't match how the files are installed, however:

# rpm -qf /etc/rsyslog.conf --dump | grep /etc/rsyslog.conf
/etc/rsyslog.conf 3232 1540910955 452bf7d5aca09e7a24c303c5b33f8402c2c76893ed1f1bbbb9314f399f71c2bd 0100644 root root 1 0 0 X

(the second 'root' is the group)

RHELs typically chgrp everything as root in that tree.

Steps to Reproduce:

  1. rhel7
  2. use cookbook
  3. observe files changing group-ownership from stock install

Expected Result:

(up to date)

Actual Result:

Files are chgrped as adm.

github-actions[bot] commented 4 years ago

Marking stale due to inactivity. Remove stale label or comment or this will be closed in 7 days. Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help! Thanks, Sous-Chefs.

github-actions[bot] commented 4 years ago

Closing due to inactivity. If this is still an issue please reopen or open another issue. Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help! Thanks, Sous-Chefs.