snmpd -f (some issue)

<[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi All,

I added few lines of  C code in net-snmp source files. My code includes open (), read () operations on a normal file (flat/text) and handling some string arrays.

I could read file contents and set my strings correctly and code is executing correctly when I run snmpd with -f option (-f: do not fork from the shell). But file operations are failing completely when -f option is not used along with snmpd.

Thanks for any help/ relevant information to this kind of problem.


Mahesh
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.