Jochen Friedrich a écrit : > tags 370132 + help moreinfo > thanks > > Hi Aurelien, > >>> snmpd no longer works on ia64. It dies when receiving first query. > >> I have got the same exact problem on s390. Given that this bug renders > > I tested this in a chroot on merulo and raptor by running snmpd as user > and using a different port number, but this way i couldn't reproduce the > crash. > > Questions: > > 1. Did you do any modifications of /etc/snmp/snmpd.conf? Yes, I uncommented the "disk / 10000" line. This is actually the change that trigger the segfault.
> 2. Could you remove /var/lib/snmp/snmpd.conf and retest? Same problem > 3. Is snmpd still crashing if you rename the /usr/share/snmp/mibs/ directory? Same problem > 4. Could you run snmpd using gdb (using -f to make snmpd run in foreground)? Here is the backtrace: Program received signal SIGSEGV, Segmentation fault. 0x77c20e60 in getmntent_r () from /lib/tls/libc.so.6 (gdb) (gdb) bt #0 0x77c20e60 in getmntent_r () from /lib/tls/libc.so.6 #1 0x77c20738 in getmntent () from /lib/tls/libc.so.6 #2 0x77e9f196 in init_disk () from /usr/lib/libnetsnmpmibs.so.9 #3 0x77d9849a in run_config_handler () from /usr/lib/libnetsnmp.so.9 #4 0x77d98748 in read_config () from /usr/lib/libnetsnmp.so.9 #5 0x77d9a50c in read_config_files () from /usr/lib/libnetsnmp.so.9 #6 0x77d9ab4c in read_configs () from /usr/lib/libnetsnmp.so.9 #7 0x77d805d2 in init_snmp () from /usr/lib/libnetsnmp.so.9 #8 0x00403898 in SnmpdReconfig () #9 0x77b6d0c2 in __libc_start_main () from /lib/tls/libc.so.6 #10 0x004025d0 in ?? () I haven't the time to dig more into the problem, but it *may* be a bug in the glibc. -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' [EMAIL PROTECTED] | [EMAIL PROTECTED] `- people.debian.org/~aurel32 | www.aurel32.net -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]