]> git.proxmox.com Git - proxmox-backup.git/commit
d/postinst: fixup userid for older termproxy tasks
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 18 Aug 2020 16:41:30 +0000 (18:41 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 19 Aug 2020 05:26:58 +0000 (07:26 +0200)
commitaafe8609e524e500bb1d047533c2dd68f154e40e
treebb8c35443c89ec8911a1ef1262b8d87db4274d7f
parenta8d69fcf05a82268b25b2da662ecccba4118bd80
d/postinst: fixup userid for older termproxy tasks

At the time when we can fix this up the new (and possibly an old)
server daemon process is running, so use the flock CLI tool from
util-linux to ensure we do the same locking as the server and thus we
avoid a race condition.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
debian/postinst