Package: release.debian.org Severity: normal User: release.debian....@packages.debian.org Usertags: pu, opu
I propose updating the fam packages in stable (lenny) and oldstable (etch) to fix the long-standing bug of occasional 100% CPU usage. The fix is very simple: linking famd with librt and libpthread. I am not familiar with the inner workings of this fix, but it is proposed by Wil Evers on the fam mailing list [1]. Since I introduced this fix in fam 2.7.0-14 in July 2009, there have been no reports of either this bug reoccurring, or regressions caused by this fix. Since there are still some stable and oldstable users who would like to see this bug fixed [2], I would like the release team to consider accepting this fix in both stable and oldstable. Attached are the incremental patches from current fam sources in stable and oldstable; I have tested the patches in the appropriate chroot environments and they both build fine. Please let me know if you would like further information. [1] http://oss.sgi.com/projects/fam/mail_archive/200301/msg00011.html [2] http://bugs.debian.org/252896 -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (900, 'testing'), (300, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.31.5 (PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=zh_TW.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash -- Chuan-kai Lin http://web.cecs.pdx.edu/~cklin/
diff -r 42c59b862004 debian/changelog --- a/debian/changelog Sun Jan 07 15:44:22 2007 -0800 +++ b/debian/changelog Wed Nov 11 11:07:07 2009 -0800 @@ -1,3 +1,12 @@ +fam (2.7.0-12+etch1) unstable; urgency=low + + * Link famd against librt and libpthread to solve 100% CPU usage + problem; suggested by Wil Evers on the fam mailing list + (http://oss.sgi.com/projects/fam/mail_archive/200301/msg00011.html). + Patch backported from 2.7.0-14 (Closes: #252896) + + -- Chuan-kai Lin <ck...@debian.org> Wed, 11 Nov 2009 09:57:21 -0800 + fam (2.7.0-12) unstable; urgency=low * Have libfam0 replace libfam0c102 without conflicts, to provide a diff -r 42c59b862004 debian/patches/01_dnotify.patch --- a/debian/patches/01_dnotify.patch Sun Jan 07 15:44:22 2007 -0800 +++ b/debian/patches/01_dnotify.patch Wed Nov 11 11:07:07 2009 -0800 @@ -274,7 +274,16 @@ diff -r e47191bdc76f -r 33ebdce115fd src/Makefile.am --- a/src/Makefile.am Wed Apr 12 13:49:10 2006 -0700 +++ b/src/Makefile.am Wed Apr 12 13:49:26 2006 -0700 -@@ -71,7 +71,11 @@ +@@ -2,6 +2,8 @@ + + sbin_PROGRAMS = famd + ++famd_LDADD = -lrt -lpthread ++ + famd_SOURCES = \ + Activity.c++ \ + Activity.h \ +@@ -71,7 +73,11 @@ main.c++ \ timeval.c++ \ timeval.h \
diff -r 94bfc99720cf -r 458e8bdd2b49 debian/changelog --- a/debian/changelog Wed Nov 11 11:14:24 2009 -0800 +++ b/debian/changelog Wed Nov 11 11:28:18 2009 -0800 @@ -1,3 +1,12 @@ +fam (2.7.0-13.3+lenny1) unstable; urgency=low + + * Link famd against librt and libpthread to solve 100% CPU usage + problem; suggested by Wil Evers on the fam mailing list + (http://oss.sgi.com/projects/fam/mail_archive/200301/msg00011.html). + Patch backported from 2.7.0-14 (Closes: #252896, #500387, #501081) + + -- Chuan-kai Lin <ck...@debian.org> Wed, 11 Nov 2009 11:18:08 -0800 + fam (2.7.0-13.3) unstable; urgency=low * Non-maintainer upload. diff -r 94bfc99720cf -r 458e8bdd2b49 debian/patches/01_dnotify.patch --- a/debian/patches/01_dnotify.patch Wed Nov 11 11:14:24 2009 -0800 +++ b/debian/patches/01_dnotify.patch Wed Nov 11 11:28:18 2009 -0800 @@ -274,7 +274,16 @@ diff -r e47191bdc76f -r 33ebdce115fd src/Makefile.am --- a/src/Makefile.am Wed Apr 12 13:49:10 2006 -0700 +++ b/src/Makefile.am Wed Apr 12 13:49:26 2006 -0700 -@@ -71,7 +71,11 @@ +@@ -2,6 +2,8 @@ + + sbin_PROGRAMS = famd + ++famd_LDADD = -lrt -lpthread ++ + famd_SOURCES = \ + Activity.c++ \ + Activity.h \ +@@ -71,7 +73,11 @@ main.c++ \ timeval.c++ \ timeval.h \