Package: obnam Version: 1.19.1-1 Severity: normal Context: I have a shell script pushing obnam backups from my desktop to multiple other machines using SFTP. All remote backups are GPG-encrypted using obnam's built-in capability, in exactly the same way. This has been working flawlessly for over a year.
Suddenly, backing up to just one of those machines results in the above error message. fsck results in the same error. The remote causing the error is running an up-to-date stretch, as are multiple other machines that are accepting backups just fine. This happens reliably every time on this one machine, and never happens on the other machines. This is the trace that shows up in my syslog: Oct 19 20:10:23 t410 obnam: CRITICAL Caught OSError: [Errno 2] No such file or directory: '/tmp/tmp8XfPQ3/S.gpg-agent.rstrd'#012Traceback (most recent call last):#012 File "/usr/lib/python2.7/dist-packages/obnamlib/app.py", line 208, in process_args#012 cliapp.Application.process_args(self, args)#012 File "/usr/lib/python2.7/dist-packages/cliapp/app.py", line 589, in process_args#012 method(args[1:])#012 File "/usr/lib/python2.7/dist-packages/obnamlib/plugins/fsck_plugin.py", line 320, in fsck#012 self.repo.lock_everything()#012 File "/usr/lib/python2.7/dist-packages/obnamlib/repo_interface.py", line 422, in lock_everything#012 self.lock_chunk_indexes()#012 File "/usr/lib/python2.7/dist-packages/obnamlib/fmt_6/repo_fmt_6.py", line 751, in lock_chunk_indexes#012 self._raw_lock_chunk_indexes()#012 File "/usr/lib/python2.7/dist-packages/obnamlib/fmt_6/repo_fmt_6.py", line 734, in _raw_lock_chunk_indexes#012 self._chunksums.start_changes()#012 File "/usr/lib/python2.7/dist-packages/obnamlib/fmt_6/repo_tree.py", line 82, in start_changes#012 self.dirname)#012 File "/usr/lib/python2.7/dist-packages/obnamlib/hooks.py", line 187, in call#012 self.hooks[name].call_callbacks(*args, **kwargs)#012 File "/usr/lib/python2.7/dist-packages/obnamlib/hooks.py", line 64, in call_callbacks#012 callback(*args, **kwargs)#012 File "/usr/lib/python2.7/dist-packages/obnamlib/plugins/encryption_plugin.py", line 128, in toplevel_init#012 pubkeys.add(self.pubkey)#012 File "/usr/lib/python2.7/dist-packages/obnamlib/encryption.py", line 216, in add#012 self.gpg(True, ['--import'], stdin=key)#012 File "/usr/lib/python2.7/dist-packages/obnamlib/encryption.py", line 232, in gpg#012 self._cleanup()#012 File "/usr/lib/python2.7/dist-packages/obnamlib/encryption.py", line 181, in _cleanup#012 shutil.rmtree(self._gpghome)#012 File "/usr/lib/python2.7/shutil.py", line 252, in rmtree#012 onerror(os.remove, fullname, sys.exc_info())#012 File "/usr/lib/python2.7/shutil.py", line 250, in rmtree#012 os.remove(fullname)#012OSError: [Errno 2] No such file or directory: '/tmp/tmp8XfPQ3/S.gpg-agent.rstrd' -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (990, 'testing'), (700, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages obnam depends on: ii libc6 2.24-3 ii python 2.7.11-2 ii python-cliapp 1.20160724-1 ii python-fuse 2:0.2.1-14 ii python-larch 1.20151025-1 ii python-paramiko 2.0.0-1 ii python-tracing 0.9-1 ii python-ttystatus 0.32-1 ii python-yaml 3.12-1 obnam recommends no packages. obnam suggests no packages. -- no debconf information