#3511 sssd incorrectly checks 'try_inotify' thinking it is the wrong section
Closed: Fixed Opened by jhrozek.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1490501

Description of problem:
[rule/allowed_sssd_options]: Attribute 'try_inotify' is not allowed in section
'sssd'. Check for typos.
Version-Release number of selected component (if applicable):
sssd-1.15.2-50.el7
How reproducible:
Always
Steps to Reproduce:
1. add try_inotify option to the [sssd] section
Actual results:
(Mon Sep 11 15:02:52:190955 2017) [sssd] [sss_ini_call_validators] (0x0020):
[rule/allowed_sssd_options]: Attribute 'try_inotify' is not allowed in section
'sssd'. Check for typos.
Additional info:
It does correctly set the option.
[sssd]
services = sudo, nss, ifp, pam, ssh
domains = example.local
try_inotify = false
(Mon Sep 11 15:02:52:190955 2017) [sssd] [sss_ini_call_validators] (0x0020):
[rule/allowed_sssd_options]: Attribute 'try_inotify' is not allowed in section
'sssd'. Check for typos.
(Mon Sep 11 15:02:52:191688 2017) [sssd] [sss_confdb_create_ldif] (0x0400):
Processing attribute [try_inotify]
(Mon Sep 11 15:02:52:191706 2017) [sssd] [sss_confdb_create_ldif] (0x4000):
try_inotify: false
[sssd]
services = sudo, nss, ifp, pam, ssh
domains = example.local
try_inotify = true
(Mon Sep 11 15:05:02:859450 2017) [sssd] [sss_ini_call_validators] (0x0020):
[rule/allowed_sssd_options]: Attribute 'try_inotify' is not allowed in section
'sssd'. Check for typos.
(Mon Sep 11 15:05:02:860188 2017) [sssd] [sss_confdb_create_ldif] (0x0400):
Processing attribute [try_inotify]
(Mon Sep 11 15:05:02:860206 2017) [sssd] [sss_confdb_create_ldif] (0x4000):
try_inotify: true

Metadata Update from @jhrozek:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1490501

The fix is just about adding try_inotify to the right section insrc/config/cfg_rules.ini

Metadata Update from @jhrozek:
- Issue set to the milestone: None
- Issue tagged with: easyfix

https://github.com/SSSD/sssd/pull/382

Metadata Update from @lslebodn:
- Issue assigned to lslebodn

Metadata Update from @lslebodn:
- Issue tagged with: PR

Sorry i didn't notice easy fix tag

master:
* 895584001760e8188db486bc39f9938624822d35

sssd-1-14:
* 69e61a52493a8c143f83763c2dd783cabea5c9f4

sssd-1-13:
* c51334a1147ee657d49a05351eec9c41349a92fb

Metadata Update from @lslebodn:
- Issue close_status updated to: Fixed
- Issue set to the milestone: SSSD 1.15.4
- Issue status updated to: Closed (was: Open)

Metadata Update from @jhrozek:
- Issue set to the milestone: SSSD 1.16.0 (was: SSSD 1.15.4)

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/4537

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata