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 -