* Andreas Barth ([EMAIL PROTECTED]) [061228 02:08]: > * Jochen Friedrich ([EMAIL PROTECTED]) [061228 10:58]: > > found 370132 5.2.3-6 > > retitle 370132 snmpd segfaults upon first query [s390] > > thanks > > > > >>> I just tested 5.2.3-4 which doesn't expose this bug, cool! > > >> Thanks for the report. However, i leave this bug open until the s390 > > >> buildd is fixed > > >> and a corrected s390 binary has been uploaded. > > > > > > Thanks to version-tracking, closing with the right version works now. :) > > > > Unfortunately, only the ia64 bug is fixed. s390 is still miscompiled by > > buildd in 5.2.3-6. > > We need a binary NMU with the s390 buildd fixed to have a /etc/mtab file so > > configure finds > > its location. Else, snmpd will crash on s390 as soon as a disk space check > > is configured in > > /etc/snmp/snmpd.conf. > > Can't you hardcode the location into the code?
The attached patch makes sure we don't mind about that anymore (though that is a bad patch, configure should have an option like --mtab=/etc/mtab or so). Cheers, Andi -- http://home.arcor.de/andreas-barth/
diff -ur ../net-snmp-5.2.3~/configure ../net-snmp-5.2.3/configure --- ../net-snmp-5.2.3~/configure 2006-07-13 23:33:19.000000000 +0000 +++ ../net-snmp-5.2.3/configure 2006-12-28 14:18:34.000000000 +0000 @@ -13906,23 +13906,7 @@ # Check for mount table location # -echo "$as_me:$LINENO: checking for mount table location" >&5 -echo $ECHO_N "checking for mount table location... $ECHO_C" >&6 -if test "${ac_cv_ETC_MNTTAB+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - 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 - -fi -echo "$as_me:$LINENO: result: $ac_cv_ETC_MNTTAB" >&5 -echo "${ECHO_T}$ac_cv_ETC_MNTTAB" >&6 +ac_cv_ETC_MNTTAB=/etc/mtab cat >>confdefs.h <<_ACEOF #define ETC_MNTTAB "$ac_cv_ETC_MNTTAB" diff -ur ../net-snmp-5.2.3~/configure.in ../net-snmp-5.2.3/configure.in --- ../net-snmp-5.2.3~/configure.in 2006-07-13 23:29:49.000000000 +0000 +++ ../net-snmp-5.2.3/configure.in 2006-12-28 14:17:45.000000000 +0000 @@ -2100,16 +2100,7 @@ # 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 -]) +ac_cv_ETC_MNTTAB=/etc/mtab AC_DEFINE_UNQUOTED(ETC_MNTTAB,"$ac_cv_ETC_MNTTAB") diff -ur ../net-snmp-5.2.3~/debian/changelog ../net-snmp-5.2.3/debian/changelog --- ../net-snmp-5.2.3~/debian/changelog 2006-12-28 14:13:22.000000000 +0000 +++ ../net-snmp-5.2.3/debian/changelog 2006-12-28 14:19:05.000000000 +0000 @@ -1,3 +1,10 @@ +net-snmp (5.2.3-6.1) unstable; urgency=high + + * Non-maintainer upload. + * We are on Debian, always use /etc/mtab. + + -- Andreas Barth <[EMAIL PROTECTED]> Thu, 28 Dec 2006 14:18:48 +0000 + net-snmp (5.2.3-6) unstable; urgency=low * Update non-duplicate patch to upstream version.