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

Fstab cleanup fix #1197

Conversation

japokorn
Copy link
Contributor

@japokorn japokorn commented Feb 8, 2024

Formats with multiple layers (e.g. LUKS) were not handled properly in fstab. This resulted in fstab entries not being properly cleaned from fstab when destroy actions were executed. This fixes the issue by using different variables with correct values based on action type.

Copy link
Member

@vojtechtrefny vojtechtrefny left a comment

Choose a reason for hiding this comment

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

Looks good to me, but please add a test case covering this issue.

Formats with multiple layers (e.g. LUKS) were not handled properly in
fstab. This resulted in fstab entries not being properly cleaned from
fstab when destroy actions were executed. This fixes the issue by using
different variables with correct values based on action type.
@japokorn japokorn force-pushed the 3.9-devel-fstab_cleanup_fix branch from c0dd3a4 to ef65def Compare March 6, 2024 13:51
@japokorn
Copy link
Contributor Author

japokorn commented Mar 6, 2024

Looks good to me, but please add a test case covering this issue.

Added the test.

Copy link
Member

@vojtechtrefny vojtechtrefny left a comment

Choose a reason for hiding this comment

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

Looks good to me now, thank you.

@vojtechtrefny vojtechtrefny merged commit 8341d80 into storaged-project:3.9-devel Mar 6, 2024
10 of 12 checks passed
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.

2 participants