dirvish does not delete lock file on some failures
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dirvish (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
dirivsh does not delete the dirvish/lock_file under some error conditions, specifically when the client server being backed up is unreachable and there is a pre-client command specified in the default.conf file. Below are the details from one such example. This happens frequently since upgrading to Ubuntu 16.04.
------
Contents of default.conf
client: user@hostname
tree: /home/debbie
pre-server: cp /backup2/
pre-client: /usr/bin/sudo /some/script
post-client: /some/other/script
----
June 29 - the client server is down. Result of the dirvish run:
19:32:29 /usr/sbin/dirvish --vault debbieb
ssh: connect to host debbieb.mmhatch.com port 22: No route to host
debbieb:default pre-client failed (65280)
-------
June 30
debbieb:
---------
ls -alh /backup2/
-rw-r--r-- 1 root root 4 Jun 29 19:32 /backup2/
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: dirvish 1.2.1-1.3
ProcVersionSign
Uname: Linux 4.4.0-128-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.18
Architecture: amd64
Date: Mon Jul 2 09:22:59 2018
InstallationDate: Installed on 2018-05-22 (41 days ago)
InstallationMedia: Ubuntu-Server 16.04.4 LTS "Xenial Xerus" - Release amd64 (20180228)
PackageArchitec
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: dirvish
UpgradeStatus: No upgrade log present (probably fresh install)
modified.