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.
Bug 1265917 - ipa server log files are world-readable
Summary: ipa server log files are world-readable
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: ipa
Version: 8.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: IPA Maintainers
QA Contact: Namita Soman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-24 07:27 UTC by Sudhir Menon
Modified: 2019-07-30 13:24 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-07-30 13:24:39 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Sudhir Menon 2015-09-24 07:27:04 UTC
Description of problem: ipa server log files are world-readable
 

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


How reproducible:Always


Steps to Reproduce:
1. Login to IPA server.
2. check the permissions of the log file.


Actual results: The log files are world-readable.

/var/log/ipa
[root@ipa01 ipa]# ls -l
total 12
-rw-r--r--. 1 root root 5355 Sep 24 12:06 default.log
-rw-r--r--. 1 root root 3898 Sep 24 12:08 server.log

Expected results: Log files shouldn't be world-readable unless required.

Additional info:

Comment 5 Tomas Babej 2015-09-24 13:36:48 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/5324

Comment 6 Petr Vobornik 2017-04-06 16:24:53 UTC
IdM team doesn't have capacity to fix this bug for RHEL 7.4. Moving to next RHEL version. Fixing the bug there will depend on capacity of FreeIPA upstream. Without sufficient  justification there is a chance that it will be moved again later.

Comment 10 Thomas Woerner 2019-07-30 13:24:39 UTC
This has been fixed already with https://github.com/freeipa/freeipa/commit/f62a0fdb904d2a4bb1961847e240dbb6df3b0b67 in standard_logging_setup

$ git tag --contains f62a0fdb904d2a4bb1961847e240dbb6df3b0b67
rc_4-7-0-1
rc_4-7-0-2
rc_4-8-0-1
release-4-6-0
release-4-6-1
release-4-6-2
release-4-6-3
release-4-6-4
release-4-6-5
release-4-7-0
release-4-7-1
release-4-7-2
release-4-8-0


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