From 48971cec0c6555cb4c9c82bcef29ed690fb15aa3 Mon Sep 17 00:00:00 2001 From: Adam Glasgall Date: Sat, 6 Feb 2016 13:54:17 -0500 Subject: [PATCH] fix path for lockfile --- debian/changelog | 7 +++++++ invirt-cache-acls | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index d016a44..0468294 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +invirt-web (0.1.46) precise; urgency=medium + + * www-data can't write to /run, it turns out. Put the lockfile in + /var/lock instead. + + -- Adam Glasgall Sat, 06 Feb 2016 13:53:43 -0500 + invirt-web (0.1.45) precise; urgency=medium * Add trusty preseed files that we apparently forgot to package diff --git a/invirt-cache-acls b/invirt-cache-acls index a8953d4..5c58b8d 100755 --- a/invirt-cache-acls +++ b/invirt-cache-acls @@ -6,4 +6,4 @@ cells () { } kinit -k -t /etc/invirt/keytab daemon/$(hostname -f) aklog $(cells) -with-lock-ex -f /run/invirt-cache-acls.lock python /var/www/invirt-web/cache_acls.py +with-lock-ex -f /var/lock/invirt-cache-acls.lock python /var/www/invirt-web/cache_acls.py -- 1.7.9.5