diff --git a/kdumpctl b/kdumpctl
index 208faef..989da79 100755
--- a/kdumpctl
+++ b/kdumpctl
@@ -44,9 +44,16 @@ fi
 
 single_instance_lock()
 {
-	local rc timeout=5
+	local rc timeout=5 lockfile
 
-	if ! exec 9> /var/lock/kdump; then
+	if [[ -d /run/lock ]]; then
+		lockfile=/run/lock/kdump
+	else
+		# when updating package using virt-customize, /run/lock doesn't exist
+		lockfile=/tmp/kdump.lock
+	fi
+
+	if ! exec 9> $lockfile; then
 		derror "Create file lock failed"
 		exit 1
 	fi
diff --git a/kexec-tools.spec b/kexec-tools.spec
index b10c836..0929df8 100644
--- a/kexec-tools.spec
+++ b/kexec-tools.spec
@@ -275,6 +275,8 @@ if ! grep -qs "ostree" /proc/cmdline && [ $1 == 2 ] && grep -q get-default-crash
   kdumpctl get-default-crashkernel fadump > /tmp/old_default_crashkernel_fadump 2>/dev/null
 %endif
 fi
+# don't block package update
+:
 
 %post
 # Initial installation