Skip to content

sssd man-page: Fix man-page for offline_timeout*#8755

Merged
justin-stephenson merged 1 commit into
SSSD:masterfrom
asakure:man_page_offline_timeout
Jun 4, 2026
Merged

sssd man-page: Fix man-page for offline_timeout*#8755
justin-stephenson merged 1 commit into
SSSD:masterfrom
asakure:man_page_offline_timeout

Conversation

@asakure

@asakure asakure commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Currently, all the offline_timeout* options are in the wrong section due to which 'sssctl config-check' gives a WARNING. Ideally, they should be in DOMAIN SECTIONS.

This PR will move all offline_timeout* options into DOMAIN SECTIONS.

Resolves: #7289

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request moves the documentation for offline_timeout, offline_timeout_max, and offline_timeout_random_offset to a different section in the sssd.conf.5.xml man page. The review feedback highlights a typo in a parameter name (offlinet_timeout_max) and suggests grammatical corrections to improve the readability of the documentation.

Comment thread src/man/sssd.conf.5.xml
Comment on lines +2831 to +2834
With offline_timeout set to 60 (default value) there is no point
in setting offlinet_timeout_max to less than 120 as it will
saturate instantly. General rule here should be to set
offline_timeout_max to at least 4 times offline_timeout.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

There is a typo in the parameter name: offlinet_timeout_max should be offline_timeout_max.

Suggested change
With offline_timeout set to 60 (default value) there is no point
in setting offlinet_timeout_max to less than 120 as it will
saturate instantly. General rule here should be to set
offline_timeout_max to at least 4 times offline_timeout.
With offline_timeout set to 60 (default value) there is no point
in setting offline_timeout_max to less than 120 as it will
saturate instantly. General rule here should be to set
offline_timeout_max to at least 4 times offline_timeout.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has been corrected.

Comment thread src/man/sssd.conf.5.xml Outdated
Comment on lines +2806 to +2807
Note that the maximum length of each interval
is defined by offline_timeout_max (apart of random part).

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The phrase "apart of random part" is grammatically incorrect. It should be "apart from the random part".

Suggested change
Note that the maximum length of each interval
is defined by offline_timeout_max (apart of random part).
Note that the maximum length of each interval
is defined by offline_timeout_max (apart from the random part).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has been corrected.

Comment thread src/man/sssd.conf.5.xml Outdated
Comment on lines +2800 to +2803
The offline_timeout default value is 60.
The offline_timeout_max default value is 3600.
The offline_timeout_random_offset default value is 30.
The end result is amount of seconds before next retry.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The phrase "is amount of seconds before next retry" is grammatically incorrect. It should be "is the number of seconds before the next retry".

Suggested change
The offline_timeout default value is 60.
The offline_timeout_max default value is 3600.
The offline_timeout_random_offset default value is 30.
The end result is amount of seconds before next retry.
The offline_timeout default value is 60.
The offline_timeout_max default value is 3600.
The offline_timeout_random_offset default value is 30.
The end result is the number of seconds before the next retry.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has been corrected as well & re-pushed.

Currently, all the offline_timeout* options are in the wrong section
due to which 'sssctl config-check' gives a WARNING. Ideally, they should
be in DOMAIN SECTIONS.

This PR will move all offline_timeout* options into DOMAIN SECTIONS
and also fix a typo along with a couple of grammatical corrections.

Resolves: SSSD#7289
Signed-off-by: Akshay Sakure <[email protected]>
Reviewed-by: Justin Stephenson <[email protected]>
@sssd-bot

sssd-bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

The pull request was accepted by @justin-stephenson with the following PR CI status:


🟢 osh-diff-scan:fedora-rawhide-x86_64:upstream (success)
🟢 rpm-build:centos-stream-10-x86_64:upstream (success)
🟢 rpm-build:fedora-43-x86_64:upstream (success)
🟢 rpm-build:fedora-44-x86_64:upstream (success)
🟢 rpm-build:fedora-rawhide-x86_64:upstream (success)
🟢 testing-farm:fedora-43-x86_64:upstream (success)
🟢 testing-farm:fedora-44-x86_64:centos-stream-10 (success)
🟢 testing-farm:fedora-44-x86_64:upstream (success)
🔴 testing-farm:fedora-rawhide-x86_64:upstream (failure)
🟢 Analyze (target) / cppcheck (success)
🟡 Build / freebsd (in_progress)
🟡 Build / make-distcheck (in_progress)
🔴 ci / intgcheck (centos-10) (failure)
🟡 ci / intgcheck (fedora-43) (in_progress)
🟡 ci / intgcheck (fedora-44) (in_progress)
🟡 ci / intgcheck (fedora-45) (in_progress)
🟢 ci / prepare (success)
🔴 ci / system (centos-10) (failure)
🟡 ci / system (fedora-43) (in_progress)
🟡 ci / system (fedora-44) (in_progress)
🟡 ci / system (fedora-45) (in_progress)
➖ Coverity scan / coverity (skipped)
🟡 Static code analysis / codeql (in_progress)
🟢 Static code analysis / pre-commit (success)
🔴 Static code analysis / python-system-tests (failure)


There are unsuccessful or unfinished checks. Make sure that the failures are not related to this pull request before merging.

@sssd-bot
sssd-bot force-pushed the man_page_offline_timeout branch from 74ebbba to 9d3c99f Compare June 4, 2026 18:50
@justin-stephenson
justin-stephenson merged commit c183ecb into SSSD:master Jun 4, 2026
10 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[rule/allows_nss_options]: Attribute 'offline_timeout_random_offset' is not allowed in section 'nss'. Check for typos

3 participants