Package: timeshift
Version: 19.01+ds-2
Severity: serious
Dear maintainer,
Please modify the timeshift program so that it does not use /mnt/timeshift or
any sub-directories under /mnt. FHS 3.0 says no package allowed to access this
directory directly. It is intended to use as a temporally mount point by a
system administrator[1]. Please switch to /run/timeshift instead.
On first run, if a user has a Btrfs root file system on an encrypted device by
LUKS and choose the BTRFS option in the Setup Wizard, the program automatically
creates the /mnt/timeshift/backup directory and mount there the device with the
root FS. On quit, this is not rolled back.
Such behavior violates the Debian Policy and potentially may cause to data loss
if there is something mounted by the user on their own.
[1]:
https://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.html#mntMountPointForATemporarilyMount
mymedia@barberry:~$ LANG=C sudo timeshift-gtk
First run mode (config file not found)
Selected default snapshot type: BTRFS
App config loaded: /etc/timeshift.json
Selected default snapshot device: /dev/sdb2
/dev/dm-2 is mounted at: /mnt/timeshift/backup, options:
rw,relatime,ssd,space_cache,subvolid=5,subvol=/
/dev/dm-2 is mounted at: /mnt/timeshift/backup, options:
rw,relatime,ssd,space_cache,subvolid=5,subvol=/
App config saved: /etc/timeshift.json
App config saved: /etc/timeshift.json
mymedia@barberry:~$ sudo rm /etc/timeshift.json
-- System Information:
Debian Release: buster/sid
APT prefers eoan-updates
APT policy: (500, 'eoan-updates'), (500, 'eoan-security'), (500, 'eoan')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.3.0-29-generic (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE=ru
(charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages timeshift depends on:
ii libc6 2.30-0ubuntu2
ii libcairo2 1.16.0-4
ii libgdk-pixbuf2.0-0 2.40.0+dfsg-1build1
ii libgee-0.8-20.20.2-1
ii libglib2.0-02.62.1-1
ii libgtk-3-0 3.24.12-1ubuntu1
ii libjson-glib-1.0-0 1.4.4-2
ii libvte-2.91-0 0.58.2-1ubuntu2
ii psmisc 23.2-1
ii rsync 3.1.3-6
timeshift recommends no packages.
timeshift suggests no packages.
-- no debconf information