Bug 233767 - sysutils/munin-common: Temporary file will fail to clean up.
Summary: sysutils/munin-common: Temporary file will fail to clean up.
Status: Closed Not Accepted
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Mathieu Arnold
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-04 08:17 UTC by takefu
Modified: 2019-05-15 10:00 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (mat)


Attachments
munin-common-2.0.43.patch (512 bytes, patch)
2018-12-04 08:17 UTC, takefu
no flags Details | Diff
munin-common-2.0.49_1.patch (6.11 KB, patch)
2019-05-14 08:50 UTC, takefu
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description takefu 2018-12-04 08:17:06 UTC
Created attachment 199809 [details]
munin-common-2.0.43.patch

test-mktemp Script Execution mktemp(1) is not intended for the operation, to mass-produce a lot of zero-byte files in /.
Comment 1 Mathieu Arnold freebsd_committer 2019-01-24 16:02:37 UTC
I don't understand the problem you are fixing.  This script creates exactly *one* temporary file, and removes it right after creation.  Where is this "mass-produce" and "lot" coming from?
Comment 2 takefu 2019-05-14 08:50:02 UTC
Created attachment 204371 [details]
munin-common-2.0.49_1.patch

@@MKTEMP@@, such as the Amavis plug-in is related.

FIX:
  CONFVAR_SUBSTITUTION_FILES Description correction
  plugins/node.d/amavis.in Change of File verification method

ADD:
  plugins/node.d/mbmon_.in Command switch append
Comment 3 Mathieu Arnold freebsd_committer 2019-05-15 10:00:45 UTC
I still don't understand.

Feel free to submit the patch upstream.