Description
Describe the bug
Timeshift restore on GUI fails silently (BTRFS snapshot).
Timeshift in CLI has a segmentation fault (not sure how to get more debugging info) (BTRFS snapshot).
Not 100% sure that this isn't me not having partitions and stuff looking right (I'm sorry if I am reporting user error).
To Reproduce
Steps to reproduce the behavior:
- Sudo timeshift --restore
- Select any snapshot
- Program exits with Segmentation Fault
Expected behavior
Expected snapshot to be restored
Screenshots
System:
- EndeavourOS (kernel 6.7.6-zen1-1-zen
- KDE Plasma 5.27 (occurs in TTY as well)
- timeshift 24.01.1-1
- Disk information
[matt@Matt-Desktop ~]$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 465.8G 0 disk
├─sda1 8:1 0 16M 0 part
├─sda2 8:2 0 244.1G 0 part
└─sda3 8:3 0 221.6G 0 part /storagedrv
sdb 8:16 1 57.6G 0 disk
└─sdb1 8:17 1 57.6G 0 part
nvme0n1 259:0 0 931.5G 0 disk
├─nvme0n1p1 259:1 0 100M 0 part /boot/efi
├─nvme0n1p2 259:2 0 637.9G 0 part /home
└─nvme0n1p5 259:3 0 292.9G 0 part /run/timeshift/21382/backup
/run/timeshift/21200/backup
/
nvme1n1 259:4 0 3.6T 0 disk
└─nvme1n1p1 259:5 0 3.6T 0 part /mnt/new_game_drive
[matt@Matt-Desktop ~]$
[matt@Matt-Desktop ~]$ sudo btrfs subvolume list /
ID 648 gen 136175 top level 5 path @
ID 990 gen 136170 top level 5 path swap
ID 1034 gen 136170 top level 5 path timeshift-btrfs/snapshots/2024-02-25_14-55-27/@
ID 1040 gen 136170 top level 5 path timeshift-btrfs/snapshots/2024-02-25_15-18-47/@
ID 1042 gen 136170 top level 5 path timeshift-btrfs/snapshots/2024-02-25_15-24-05/@
ID 1670 gen 136175 top level 5 path timeshift-btrfs/snapshots/2024-02-25_19-12-17/@
[matt@Matt-Desktop ~]$
[matt@Matt-Desktop ~]$ sudo btrfs subvolume list /home
ID 256 gen 64430 top level 5 path matt/@
Found and attaching log file.
2024-02-25_21-43-17_restore.log
=======================================================================
Stepping through things it looks like we go off rails right after init_mount_list() which looks to be reading from fstab. So including fstab output below.
UUID=1E2F-5409 /boot/efi vfat noatime 0 2
UUID=baf2eb9e-0edc-4fd9-86b3-8959f11bff33 / btrfs defaults,subvol=/@ 0 1
/swap/swapfile none swap defaults 0 0
/dev/sda3 /storagedrv ext4 defaults 0 0
/dev/nvme0n1p2 /home btrfs defaults 0 0
/dev/nvme1n1p1 /mnt/new_game_drive btrfs defaults 0 0
Looking at the log I am noticing the following line
[21:43:24] missing: dev: UUID=baf2eb9e-0edc-4fd9-86b3-8959f11bff33, path: /, options: noatime
which does not match the options I have set for that volume in fstab( defaults,subvol=/@).