#3511 sssd incorrectly checks 'try_inotify' thinking it is the wrong section
Closed: Fixed 2 years ago Opened 2 years ago 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

2 years ago

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

2 years ago

Metadata Update from @lslebodn:
- Issue assigned to lslebodn

2 years ago

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

2 years ago

Sorry i didn't notice easy fix tag

master:
* 8955840

sssd-1-14:
* 69e61a5

sssd-1-13:
* c51334a

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)

2 years ago

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

2 years ago

Login to comment on this ticket.

Metadata