Bug 1170494 - YaST adds all subvolumes to /etc/fstab
YaST adds all subvolumes to /etc/fstab
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: YaST2
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: YaST Team
Jiri Srain
Depends on:
  Show dependency treegraph
Reported: 2020-04-24 20:48 UTC by Arvin Schnell
Modified: 2020-05-13 10:21 UTC (History)
1 user (show)

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---

YaST logs (87.00 KB, application/x-xz)
2020-04-24 20:49 UTC, Arvin Schnell

Note You need to log in before you can comment on or make changes to this bug.
Description Arvin Schnell 2020-04-24 20:48:55 UTC
I have a partition with btrfs that already has the subvolumes to
work with snapper, say .snapshots and a few snapper snapshots, e.g.
.snapshots/1/snapshot. The partition is not mounted.

I start YaST to mount the partition. Now YaST does not only add
the main btrfs to fstab but also all subvolumes, e.g. including
.snapshots/1/snapshot. That is not the correct setup for snapper.

Unfortunately this is not just a cosmetic mistake. Using snapper
to delete snapshots now has the effect that the btrfs snapshots
are deleted but not the entries in fstab. This results in a boot
failure next time.
Comment 1 Arvin Schnell 2020-04-24 20:49:24 UTC
Created attachment 836773 [details]
YaST logs