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.

Bug 1433362

Summary: Report file operation errors as warnings
Product: Red Hat Enterprise Linux 7 Reporter: Pavel Vomacka <pvomacka>
Component: mod_auth_gssapiAssignee: Simo Sorce <ssorce>
Status: CLOSED ERRATA QA Contact: Varun Mylaraiah <mvarun>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.4CC: jheger, ksiddiqu, mkosek, pvomacka
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-01 21:01:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pavel Vomacka 2017-03-17 13:03:31 UTC
Description:
The failures to change permissions and chown the ccache do not prevent us from continuing to use this ccache. Log messages are confusing to mod_auth_gssapi users as they leave an impression things are completely broken.

Proposed change: 
Change log level to warning to avoid filling up logs with errors.

Comment 2 Pavel Vomacka 2017-03-17 13:34:27 UTC
This is relevant to login AD users into FreeIPA WebUI.

Comment 4 Kaleem 2017-06-06 11:30:56 UTC
Please provide the steps to verify this.

Comment 5 Pavel Vomacka 2017-06-08 15:45:53 UTC
Hello Kaleem and Varun,

Steps to verify: 
1. Set up IPA master and AD and trust between them
2. On AD side create an AD user
3. Create Iduseroverride for the user from AD.
4. Log in into IPA WebUI as AD user
5. Check /var/log/httpd/error_log on IPA server
6. Following messages should be logged as warnings not as errors.
Log example:
[timestamp] [:warn] [pid 17100] [client 10.10.10.10:49390] failed to set perms (3140) on file (/var/run/ipa/ccaches/admin)!, referer: https://example.test/ipa/ui/

In case that those set perms on ccaches are logged as warning, it works.

Comment 6 Varun Mylaraiah 2017-06-08 16:25:23 UTC
Verified 
ipa-server-4.5.0-15.el7.x86_64
gssproxy-0.7.0-4.el7.x86_64
sssd-1.15.2-43.el7.x86_64

/var/log/httpd/error_log
=========================
[Thu Jun 08 12:21:07.594142 2017] [:warn] [pid 17075] [client 10.67.116.109:57620] failed to set perms (3140) on file (/var/run/ipa/ccaches/aduser1)!, referer: https://auto-hv-02-guest09.hbacexwl1.test/ipa/ui/
[Thu Jun 08 12:21:07.595292 2017] [:warn] [pid 17069] [client 10.67.116.109:57654] failed to set perms (3140) on file (/var/run/ipa/ccaches/aduser1)!, referer: https://auto-hv-02-guest09.hbacexwl1.test/ipa/ui/
[Thu Jun 08 12:21:07.595444 2017] [:warn] [pid 17100] [client 10.67.116.109:57656] failed to set perms (3140) on file (/var/run/ipa/ccaches/aduser1)!, referer: https://auto-hv-02-guest09.hbacexwl1.test/ipa/ui/

Comment 7 errata-xmlrpc 2017-08-01 21:01:46 UTC
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/RHEA-2017:2071