Package: unison Version: 2.13.16-4 Severity: critical Justification: causes serious data loss
Hi, I'm regularly replicating my home directory to an USB harddisk using unison. This morning the USB drive got disconnected during the synchronization (hw error). Instead of noticing that one of the replica roots have completely disappeared and aborting, unison started to delete large amounts of data from my home directory. Luckily I could restore most of it, but this behaviour makes unison unsuitable as a serious synchronization tool. Possible solution: unison should do a stat() on the replica roots before delete operations and if the st_dev field changes (i.e. the file system containing the replica is unmounted or is over-mounted) it should abort the synchronization. This is not a complete solution as it does not protect from e.g. bind mounts, but it would at least cover the "removable device fails causing the mount to go away" case. Gabor -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (101, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.15 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages unison depends on: ii libc6 2.3.5-12 GNU C Library: Shared libraries an Versions of packages unison recommends: ii openssh-client [ssh-client] 1:4.2p1-5 Secure shell client, an rlogin/rsh -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]