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 1505741 - [gssproxy] Error when reading config directory: File /etc/gssproxy/gssproxy.conf did not match provided patterns
Summary: [gssproxy] Error when reading config directory: File /etc/gssproxy/gssproxy.c...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: gssproxy
Version: 7.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Robbie Harwood
QA Contact: Ganna Kaihorodova
URL: https://pagure.io/gssproxy/pull-reque...
Whiteboard:
Depends On: 1507607 1507608
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-24 08:28 UTC by Yongcheng Yang
Modified: 2018-10-30 08:08 UTC (History)
5 users (show)

Fixed In Version: gssproxy-0.7.0-21.el7
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2018-10-30 08:07:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:3070 0 None None None 2018-10-30 08:08:14 UTC

Description Yongcheng Yang 2017-10-24 08:28:02 UTC
Description of problem:

Getting the warning after updating gssproxy to 0.7.0-9.el7:
"Oct 24 04:03:59 xxx.redhat.com gssproxy[710]: Error when reading config directory: File /etc/gssproxy/gssproxy.conf did not match provided patterns. Skipping."


Version-Release number of selected component (if applicable):
gssproxy-0.7.0-9.el7.x86_64


How reproducible:
100% easy

Steps to Reproduce:
1. systemctl restart gssproxy
2. systemctl status gssproxy

Actual results:
[root@bkr-hv01-guest14 ~]# rpm -q gssproxy
gssproxy-0.7.0-4.el7.x86_64
[root@bkr-hv01-guest14 ~]# systemctl restart gssproxy
[root@bkr-hv01-guest14 ~]# systemctl status gssproxy
● gssproxy.service - GSSAPI Proxy Daemon
   Loaded: loaded (/usr/lib/systemd/system/gssproxy.service; disabled; vendor preset: disabled)
   Active: active (running) since Tue 2017-10-24 04:03:21 EDT; 4s ago
  Process: 630 ExecStart=/usr/sbin/gssproxy -D (code=exited, status=0/SUCCESS)
 Main PID: 631 (gssproxy)
   CGroup: /system.slice/gssproxy.service
           └─631 /usr/sbin/gssproxy -D

Oct 24 04:03:20 bkr-hv01-guest14.dsal.lab.eng.bos.redhat.com systemd[1]: Starting GSSAPI Proxy Daemon...
Oct 24 04:03:21 bkr-hv01-guest14.dsal.lab.eng.bos.redhat.com systemd[1]: Started GSSAPI Proxy Daemon.
^^^^^^^^^^^^^^^^^^^^^ NO warning with 7.4 default version gssproxy-0.7.0-4.el7
[root@bkr-hv01-guest14 ~]# yum update gssproxy >/dev/null
[root@bkr-hv01-guest14 ~]# rpm -q gssproxy
gssproxy-0.7.0-9.el7.x86_64
[root@bkr-hv01-guest14 ~]# systemctl restart gssproxy
[root@bkr-hv01-guest14 ~]# systemctl status gssproxy
● gssproxy.service - GSSAPI Proxy Daemon
   Loaded: loaded (/usr/lib/systemd/system/gssproxy.service; disabled; vendor preset: disabled)
   Active: active (running) since Tue 2017-10-24 04:03:48 EDT; 3s ago
  Process: 695 ExecStart=/usr/sbin/gssproxy -D (code=exited, status=0/SUCCESS)
 Main PID: 696 (gssproxy)
   CGroup: /system.slice/gssproxy.service
           └─696 /usr/sbin/gssproxy -D

Oct 24 04:03:48 bkr-hv01-guest14.dsal.lab.eng.bos.redhat.com systemd[1]: Starting GSSAPI Proxy Daemon...
Oct 24 04:03:48 bkr-hv01-guest14.dsal.lab.eng.bos.redhat.com gssproxy[695]: Error when reading config directory: File /etc/gssproxy/gssproxy.conf di...pping.
Oct 24 04:03:48 bkr-hv01-guest14.dsal.lab.eng.bos.redhat.com systemd[1]: Started GSSAPI Proxy Daemon.
Hint: Some lines were ellipsized, use -l to show in full.
[root@bkr-hv01-guest14 ~]# systemctl restart gssproxy
[root@bkr-hv01-guest14 ~]# systemctl status gssproxy -l
● gssproxy.service - GSSAPI Proxy Daemon
   Loaded: loaded (/usr/lib/systemd/system/gssproxy.service; disabled; vendor preset: disabled)
   Active: active (running) since Tue 2017-10-24 04:03:59 EDT; 2s ago
  Process: 710 ExecStart=/usr/sbin/gssproxy -D (code=exited, status=0/SUCCESS)
 Main PID: 711 (gssproxy)
   CGroup: /system.slice/gssproxy.service
           └─711 /usr/sbin/gssproxy -D

Oct 24 04:03:59 bkr-hv01-guest14.dsal.lab.eng.bos.redhat.com systemd[1]: Starting GSSAPI Proxy Daemon...
Oct 24 04:03:59 bkr-hv01-guest14.dsal.lab.eng.bos.redhat.com gssproxy[710]: Error when reading config directory: File /etc/gssproxy/gssproxy.conf did not match provided patterns. Skipping.
Oct 24 04:03:59 bkr-hv01-guest14.dsal.lab.e
^^^^^^^^^^^^^^^^^^^^^^^^^ Warning occurs if updating to gssproxy-0.7.0-9.el7
[root@bkr-hv01-guest14 ~]# yum downgrade -y gssproxy-0.7.0-8.el7.x86_64.rpm 
[root@bkr-hv01-guest14 ~]# rpm -q gssproxy
gssproxy-0.7.0-8.el7.x86_64
[root@bkr-hv01-guest14 ~]# systemctl restart gssproxy
[root@bkr-hv01-guest14 ~]# systemctl status gssproxy
● gssproxy.service - GSSAPI Proxy Daemon
   Loaded: loaded (/usr/lib/systemd/system/gssproxy.service; disabled; vendor preset: disabled)
   Active: active (running) since Tue 2017-10-24 04:22:22 EDT; 5s ago
  Process: 1059 ExecStart=/usr/sbin/gssproxy -D (code=exited, status=0/SUCCESS)
 Main PID: 1060 (gssproxy)
   CGroup: /system.slice/gssproxy.service
           └─1060 /usr/sbin/gssproxy -D

Oct 24 04:22:22 bkr-hv01-guest14.dsal.lab.eng.bos.redhat.com systemd[1]: Starting GSSAPI Proxy Daemon...
Oct 24 04:22:22 bkr-hv01-guest14.dsal.lab.eng.bos.redhat.com systemd[1]: Started GSSAPI Proxy Daemon.
^^^^^^^^^^^^^^^^^^^^^ NO warning with 7.4 previous version gssproxy-0.7.0-8.el7
[root@bkr-hv01-guest14 ~]# 


Expected results:
No warning

Additional info:
gssproxy-0.7.0-9.el7 is to fix bug 1458913:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$ bugzilla query --fixed_in=gssproxy-0.7.0-9.el7
#1458913 ON_QA      - rharwood - gssproxy silently dies at startup if config files contain duplicate sections

Comment 1 Robbie Harwood 2017-10-27 17:59:42 UTC
Filed ding-libs issue in https://pagure.io/SSSD/ding-libs/issue/3182

Will also work around in our own code.

Comment 6 Ganna Kaihorodova 2018-08-08 12:59:21 UTC
Bugzilla verified with package version:

[root@hp-dl380pgen8-02-vm-5 ~]# rpm -q ipa-server gssproxy
ipa-server-4.6.4-3.el7.x86_64
gssproxy-0.7.0-21.el7.x86_64

Comment 8 errata-xmlrpc 2018-10-30 08:07:58 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/RHBA-2018:3070


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