Static /tmp files leading to surpising effects #2

Closed
opened 2025-12-28 18:01:49 +00:00 by sami · 0 comments
Owner

Originally created by @roman-khimov on GitHub (Sep 22, 2023).

Originally assigned to: @532910 on GitHub.

Current Behavior

http-gw (and likely others) role saves a file with neofs-http-gw binary into /tmp/neofs-http-gw-linux-amd64 and leaves it after the exit which leads to the following:

  • version upgrades are no longer possible to perform from the same host until this file is deleted
  • any previously-existing garbage file can be used instead of a proper binary
  • other processes can do something with the same static name
  • some disk space is used without any real reason

Expected Behavior

Some private tmp space should be used for a particular play/role run, it should be cleaned up after the use.

Originally created by @roman-khimov on GitHub (Sep 22, 2023). Originally assigned to: @532910 on GitHub. ## Current Behavior http-gw (and likely others) role saves a file with neofs-http-gw binary into /tmp/neofs-http-gw-linux-amd64 and leaves it after the exit which leads to the following: * version upgrades are no longer possible to perform from the same host until this file is deleted * any previously-existing garbage file can be used instead of a proper binary * other processes can do something with the same static name * some disk space is used without any real reason ## Expected Behavior Some private tmp space should be used for a particular play/role run, it should be cleaned up after the use.
sami 2025-12-28 18:01:49 +00:00
  • closed this issue
  • added the
    bug
    label
Sign in to join this conversation.
No labels
bug
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/ansible-goodies#2
No description provided.