Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1476755 - Red Hat Insights reports permissions problem on /var/log/cron
Red Hat Insights reports permissions problem on /var/log/cron
Status: CLOSED ERRATA
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: rhevm-appliance (Show other bugs)
4.1.2
All Linux
unspecified Severity medium
: ovirt-4.2.2
: ---
Assigned To: Yuval Turgeman
Jiri Belka
: ZStream
Depends On:
Blocks: 1477841
  Show dependency treegraph
 
Reported: 2017-07-31 07:24 EDT by Anthony Green
Modified: 2018-05-15 15:02 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1477841 (view as bug list)
Environment:
Last Closed: 2018-05-15 15:00:03 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Integration
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:1525 None None None 2018-05-15 15:02 EDT

  None (edit)
Description Anthony Green 2017-07-31 07:24:06 EDT
Description of problem:
Red Hat Insights is reporting the fact that users other than root can read /var/log/cron.  It suggests tightening these up to the default permissions for 
cron logs on RHEL, which are read/write by root only.  

Version-Release number of selected component (if applicable):

rhvm-appliance-4.1.20170511.0-1.el7.noarch


How reproducible:
Always

Steps to Reproduce:
1. ls -l /var/log/cron
2.
3.

Actual results:
[root@rhvm ~]# ls -l /var/log/cron
-rw-r--r--. 1 root root 8564 Jul 31 07:01 /var/log/cron


Expected results:
[root@ocp ~]# ls -l /var/log/cron
-rw-------. 1 root root 6870 Jul 31 07:01 /var/log/cron


Additional info:
Comment 3 Gonza 2018-01-29 05:25:14 EST
Tried with:
rhvm-appliance-4.2-20171219.0

# ls -l /var/log/cron
-rw-r--r--. 1 root root 1618 Jan 29 05:22 /var/log/cron
Comment 4 Yuval Turgeman 2018-01-29 05:59:47 EST
Nice catch, it was added to spin-kickstarts for rhvm-4.1 only
Comment 6 Jiri Belka 2018-03-07 10:22:47 EST
ok, rhvm-appliance-4.2-20180202.0.x86_64.rhevm.ova

# ls -l /var/log/cron
-rw-------. 1 root root 188 Mar  7 10:20 /var/log/cron
Comment 11 errata-xmlrpc 2018-05-15 15:00:03 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:1525

Note You need to log in before you can comment on or make changes to this bug.