encrypted remote backup hangs on "start 'encfsctl encode' process"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Back In Time |
Fix Released
|
Critical
|
Germar |
Bug Description
Hi there,
I've installed backintime 1.1.4 from sources on opensuse 13.2.
Local backups (unencrypted & encrypted) and unencrypted remote backups work fine. Encrypted remote backups, however, "hang" on "start 'encfsctl encode' process". (Other actions, like snapshots-list, do work fine with same settings.)
Console output (slightly anonymized) is limited:
akki@system:~> backintime --profile-id 1 --backup
Back In Time
Version: 1.1.4
Back In Time comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; type `backintime --license' for details.
INFO: Lock
WARNING: Inhibit Suspend failed.
INFO: mount ssh_encfs: user@remotehost
INFO: mount ssh_encfs: / on /home/akki/
INFO: mount ssh_encfs: /home/akki/
INFO: on process begins
INFO: Profile_id: 1
INFO: start 'encfsctl encode' process
INFO: [qt4systrayicon] begin loop
Processes at this time:
akki@system:~> ps -ef | grep backintime
root 2095 1 0 15:57 ? 00:00:00 /usr/bin/python3 /usr/share/
akki 2142 1 0 15:57 ? 00:00:00 python3 /usr/share/
akki 4234 2178 0 16:20 pts/0 00:00:00 /bin/sh /usr/bin/backintime --profile-id 1 --backup
akki 4235 4234 0 16:20 pts/0 00:00:00 python3 /usr/share/
akki 4236 4235 0 16:20 ? 00:00:00 ssh-agent python3 /usr/share/
akki 4261 1 0 16:20 ? 00:00:00 sshfs -p 22 -o ServerAliveInte
akki 4274 1 0 16:20 ? 00:00:00 encfs --extpass=
akki 4287 1 0 16:20 ? 00:00:00 encfs --extpass=
akki 4290 4235 0 16:20 pts/0 00:00:01 /usr/bin/python3 /usr/share/
akki 4293 4235 0 16:20 pts/0 00:00:00 encfsctl encode --extpass=
akki 4348 2392 0 16:26 pts/1 00:00:00 grep --color=auto backintime
Terminating encfsctl process
akki@system:~> kill -s term 4293
results in:
INFO: [qt4systrayicon] begin loop
INFO: Call rsync to take the snapshot
INFO: Command "rsync -rtDHh --links --no-p --no-g --no-o --info=progress2 --no-i-r --rsh="ssh -p 22 " --delete --delete-excluded -v --chmod=Du+wx --exclude="/" --exclude="/" --exclude="" --include="//" --exclude="" --exclude="*" --exclude="/*" --exclude="/" --include="/" --exclude="*" /home/akki/
INFO: Save config file
cp: reguläre Datei „/home/
WARNING: Command "cp "/home/
INFO: Save permissions
Traceback (most recent call last):
File "/usr/share/
start_app()
File "/usr/share/
ret = take_snapshot( cfg, True )
File "/usr/share/
ret = snapshots.
File "/usr/share/
ret_val, ret_error = self._take_
File "/usr/share/
with bz2.BZ2File( self.get_
File "/usr/lib64/
self._fp = _builtin_
FileNotFoundError: [Errno 2] No such file or directory: '/home/
INFO: stop 'encfsctl encode' process
Exception ignored in: <bound method Encode.__del__ of <encfstools.Encode object at 0x7f81034a1748>>
Traceback (most recent call last):
File "/usr/share/
File "/usr/share/
File "/usr/lib64/
File "/usr/lib64/
BrokenPipeError: [Errno 32] Broken pipe
INFO: [qt4systrayicon] end loop
Snapshot log:
========== Take snapshot (profile 1): Sun May 17 16:20:30 2015 ==========
[I] …
[I] Snapshot erstellen
[I] rsync -rtDHh --links --no-p --no-g --no-o --info=progress2 --no-i-r --rsh="ssh -p 622 " --delete --delete-excluded -v --chmod=Du+wx --exclude="/" --exclude="/" --exclude="" --include="//" --exclude="" --exclude="*" --exclude="/*" --exclude="/" --include="/" --exclude="*" /home/akki/
[I] Snapshot erstellen (rsync: building file list ... done)
[I] Snapshot erstellen (rsync: ./)
[I] Snapshot erstellen (rsync: deleting i4wE1MYRGf8Q8oa
[I] Snapshot erstellen (rsync: deleting i4wE1MYRGf8Q8oa
[I] Snapshot erstellen (rsync: deleting i4wE1MYRGf8Q8oa
[I] Snapshot erstellen (rsync: deleting i4wE1MYRGf8Q8oa
[I] Snapshot erstellen (rsync: deleting i4wE1MYRGf8Q8oa
[I] Snapshot erstellen (rsync: deleting i4wE1MYRGf8Q8oa
[I] Snapshot erstellen (rsync: deleting .encfs6.xml)
[I] Snapshot erstellen (rsync: sent 41 bytes received 692 bytes 488.67 bytes/sec)
[I] Snapshot erstellen (rsync: total size is 0 speedup is 0.00)
[I] Einstellungen speichern …
[I] Zugriffsrechte speichern …
(After that, the backup directory is completely empty; all prior snapshots and encfs configuration file are deleted.)
Unfortunately, I can't find any error message or other output of encfsctl in my log files. Any ideas?
Thanks,
Akki
Related branches
Changed in backintime: | |
status: | New → Triaged |
Changed in backintime: | |
status: | Triaged → Fix Committed |
Changed in backintime: | |
status: | Fix Committed → Fix Released |
URGS. That's really bad, that BIT will use empty in/exclude patterns and dst after encfsctl was terminated! Sorry for that! I hope this was only test files?
Which encfs version do you use?