Re: Configuring NETSNMP_TEMP_FILE_PATTERN

2008-07-28 Thread Dave Shield
2008/7/24 Jan Safranek <[EMAIL PROTECTED]>: > I checked in to trunk (rev. 17121) new ./configure with > --with-temp-file-pattern option, which allows users to override the > default /tmp/snmpdXX. > > Would anyone mind if I put it also to 5.4.x branch? Seems sensible. I've applied this patch to

Re: Configuring NETSNMP_TEMP_FILE_PATTERN

2008-07-24 Thread Jan Safranek
Thomas Anders wrote: > Jan Safranek wrote: >> I've already tried this, but snmptrapd still creates files in /tmp. And >> if I patch the net-snmp-config.h.in manually, it creates it wherever I >> want. >> >> There should be some #ifndef NETSNMP_TEMP_FILE_PATTERN in the .h file to >> make it working.

Re: Configuring NETSNMP_TEMP_FILE_PATTERN

2008-07-23 Thread Thomas Anders
Jan Safranek wrote: > I've already tried this, but snmptrapd still creates files in /tmp. And > if I patch the net-snmp-config.h.in manually, it creates it wherever I > want. > > There should be some #ifndef NETSNMP_TEMP_FILE_PATTERN in the .h file to > make it working... You're right. I've reali

Re: Configuring NETSNMP_TEMP_FILE_PATTERN

2008-07-23 Thread Jan Safranek
Thomas Anders wrote: > Jan Safranek schrieb: >> Is there any way, how to modify NETSNMP_TEMP_FILE_PATTERN without >> patching net-snmp-config.h.in? Like some well-hidden argument to >> ./configure or so? I don't like snmptrapd putting files into /tmp >> (resp. SELinux does not like it, see >>

Re: Configuring NETSNMP_TEMP_FILE_PATTERN

2008-07-23 Thread Thomas Anders
Jan Safranek schrieb: > Is there any way, how to modify NETSNMP_TEMP_FILE_PATTERN without > patching net-snmp-config.h.in? Like some well-hidden argument to > ./configure or so? I don't like snmptrapd putting files into /tmp > (resp. SELinux does not like it, see > http://danwalsh.livejournal.

Configuring NETSNMP_TEMP_FILE_PATTERN

2008-07-23 Thread Jan Safranek
Is there any way, how to modify NETSNMP_TEMP_FILE_PATTERN without patching net-snmp-config.h.in? Like some well-hidden argument to ./configure or so? I don't like snmptrapd putting files into /tmp (resp. SELinux does not like it, see http://danwalsh.livejournal.com/11467.html). Jan -