]> git.proxmox.com Git - proxmox-backup.git/commit
change tape drive lock path
authorDietmar Maurer <dietmar@proxmox.com>
Mon, 12 Jul 2021 15:23:38 +0000 (17:23 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 12 Jul 2021 15:26:49 +0000 (17:26 +0200)
commita0cd0f9cec8ad092b439ca32a1500f567f7e28b6
treed0555fb31da1af87a70ffafd0ae796c046d16df1
parent49e47c491bf94a5ee86a8b86534f8f6f7ba44adb
change tape drive lock path

New kernel has stricter checks on tmpfs with stick-bit on directories, so some
commands (i.e. proxmox-tape changer status) fails when executed as root, because
permission checks fails when locking the drive.

This patch move the drive locks to /run/proxmox-backup/drive-lock.

Note: This is incompatible to old locking mechmanism, so users may not
run tape backups during update (or running backup can fail).
src/bin/proxmox-backup-api.rs
src/tape/drive/mod.rs
src/tape/mod.rs