Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
Currently, the /var/log/insights-client/ directory has below permissions:
# ls -ld /var/log/insights-client/
drwxrwxr-x+ 2 root root 120 Mar 25 03:35 /var/log/insights-client/
usually, application logs have permissions like: 640
# ll -ld /var/log/squid/ /var/log/tomcat/ /var/log/foreman/ /var/log/foreman-installer/
drwxr-x---. 3 foreman foreman 4096 Mar 24 03:32 /var/log/foreman/
drwxr-x---. 2 root root 4096 Mar 11 05:21 /var/log/foreman-installer/
drwxr-x---. 2 squid squid 4096 Mar 24 03:32 /var/log/squid/
drwxrwx---. 2 tomcat root 8192 Mar 24 03:32 /var/log/tomcat/
The customer expects that the insights-client log directory and all log files under it should also have 640 permissions.
Version-Release number of selected component (if applicable):
insights-client-3.0.3-9.el7_5.noarch
How reproducible:
Always
Steps to Reproduce:
1. Install insights-client package
2. Confirm permissions of /var/log/insights-client directory
3.