Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
sysutils/snmp_exporter/files/snmp_exporter.in | ||
---|---|---|
43–47 | Mmmm, unless the pid file is removed when the daemon is stopped, it may have been created using nobody, and the daemon will not be able to write to it under the prometheus group. |
sysutils/snmp_exporter/files/snmp_exporter.in | ||
---|---|---|
43–47 | hmm, how should I fix this, add something to pkg-message? |
sysutils/snmp_exporter/files/snmp_exporter.in | ||
---|---|---|
43–47 | Why not simply remove the file here before creating it? |
sysutils/snmp_exporter/files/snmp_exporter.in | ||
---|---|---|
43–47 | As in, just ${RM} -f it, and remove the whole -e check? |
sysutils/snmp_exporter/files/snmp_exporter.in | ||
---|---|---|
43–47 | Yes, or you could add a test to check that it has the correct user, and chown or rm it if it has the wrong user. (And make a note to remove this check in like two years when you're sure that it is not needed any more. |
BTW, @fabian.freyer_physik.tu-berlin.de , how do you think if we move this to net-mgmt to align with prometheus itself and other exporters?
@lwhsu: sorry for not answering sooner. That sounds like a good idea. What would need to be done to move this?