storaged-project / blivet

A python module for configuration of block devices
GNU Lesser General Public License v2.1
98 stars 85 forks source link

Fstab cleanup fix #1197

Closed japokorn closed 6 months ago

japokorn commented 7 months ago

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 commented 6 months ago

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

Added the test.