forked from proxmox-mirrors/proxmox-backup
to avoid issues when removing a group or snapshot directory where two threads hold a lock to the same directory, move locking to the tmpfs backed '/run' directory. also adds double stat'ing to make it possible to remove locks without certain race condition issues. this new mechanism is only employed when we can be sure, that a reboot has occured so that all processes are using the new locking mechanism. otherwise, two separate process could assume they have exclusive rights to a group or snapshot. bumps the rust version to 1.81 so we can use `std::fs::exists` without issue. Signed-off-by: Shannon Sterz <s.sterz@proxmox.com> Acked-by: Wolfgang Bumiller <w.bumiller@proxmox.com> [TL: drop unused format_err import] Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com> |
||
|---|---|---|
| .. | ||
| scripts | ||
| source | ||
| changelog | ||
| control | ||
| copyright | ||
| lintian-overrides | ||
| pmt.bc | ||
| pmtx.bc | ||
| postinst | ||
| prerm | ||
| proxmox-backup-client.bash-completion | ||
| proxmox-backup-client.bc | ||
| proxmox-backup-client.install | ||
| proxmox-backup-debug.bc | ||
| proxmox-backup-docs.install | ||
| proxmox-backup-docs.links | ||
| proxmox-backup-docs.lintian-overrides | ||
| proxmox-backup-file-restore.bash-completion | ||
| proxmox-backup-file-restore.bc | ||
| proxmox-backup-file-restore.install | ||
| proxmox-backup-file-restore.postinst | ||
| proxmox-backup-file-restore.triggers | ||
| proxmox-backup-manager.bc | ||
| proxmox-backup-server.bash-completion | ||
| proxmox-backup-server.install | ||
| proxmox-backup-server.maintscript | ||
| proxmox-backup-server.udev | ||
| proxmox-tape.bc | ||
| pxar.bc | ||
| rules | ||