Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: retry read of kexec_crash_size #169

Merged
merged 1 commit into from
Sep 12, 2023

Conversation

richm
Copy link
Contributor

@richm richm commented Sep 6, 2023

Cause: Reading /sys/kernel/kexec_crash_size can report errno 16 - device busy.

Consequence: The role fails because it cannot read the value.

Fix: Retry the read.

Result: The role does not fail if /sys/kernel/kexec_crash_size is busy.

Signed-off-by: Rich Megginson rmeggins@redhat.com

Cause: Reading /sys/kernel/kexec_crash_size can report errno 16 - device busy.

Consequence: The role fails because it cannot read the value.

Fix: Retry the read.

Result: The role does not fail if /sys/kernel/kexec_crash_size is busy.

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
@richm
Copy link
Contributor Author

richm commented Sep 6, 2023

[citest]

@richm
Copy link
Contributor Author

richm commented Sep 6, 2023

[citest bad]

@richm
Copy link
Contributor Author

richm commented Sep 6, 2023

rhel6 is a known issue

@richm richm requested a review from spetrosi September 6, 2023 18:16
@richm richm merged commit ce322fe into linux-system-roles:main Sep 12, 2023
22 of 23 checks passed
@richm richm deleted the retry-read-kexec_crash_size branch September 12, 2023 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant