Bug#370132: [Pkg-net-snmp-devel] Bug#370132: snmpd segfaults on ia64
upon first query
Jochen Friedrich
jochen at scram.de
Thu Dec 21 17:29:47 CET 2006
Hi Aurelien,
> using the libc6-dbg package, I have seen that the getmntent() function
> is called with a NULL pointer. This may be due to the fact that on s390
> there is in the build log:
> checking for mount table location... unknown
>
> whereas on architecture there is:
> checking for mount table location... /etc/mtab
Thanks for catching this!
The relevant part of configure.in looks like this:
#
# Check for mount table location
#
AC_CACHE_CHECK(for mount table location,ac_cv_ETC_MNTTAB,
[ac_cv_ETC_MNTTAB="unknown"
for i in /etc/mnttab /etc/mtab /etc/filesystems
do
if test -f $i; then
ac_cv_ETC_MNTTAB="$i"
break;
fi
done
])
My *guess* is that the buildd server for s390 has no /etc/mtab or /etc/mtab might be a symlink.
So maybe a fix could be to use -e instead of -f in the above test case. However, i'll ask this
on s390 at buildd.debian.org.
Do you by any chance have the possibility to recompile net-snmp on s390 and check if the crash
disappears when configure finds the correct mount table location?
Thanks,
Jochen
More information about the Pkg-net-snmp-devel
mailing list