Bug 1170494

Summary: YaST adds all subvolumes to /etc/fstab
Product: [openSUSE] openSUSE Tumbleweed Reporter: Arvin Schnell <aschnell>
Component: YaST2Assignee: YaST Team <yast-internal>
Status: CONFIRMED --- QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: aschnell
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://trello.com/c/xXNQvwJB
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: YaST logs

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