[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: rstatd: does not work with kernel 3.0/3.1 or any other 3.x kernel (s-p-u possible?)



Hi Adam, hi Anibal

On Tue, Jun 12, 2012 at 09:46:13PM +0100, Adam D. Barratt wrote:
> On Wed, 2012-06-06 at 22:12 +0200, Julien Cristau wrote:
> > On Wed, Jun  6, 2012 at 21:25:37 +0200, Salvatore Bonaccorso wrote:
> > 
> > > Agreed, and thanks for feedback. Indeed the fix was simply taken from
> > > the version in unstable, which maybe should change that too.
> > > 
> > Yes, that would be better.
> 
> (and indeed it did)
> 
> > > Attached is the new debdiff for it.
> > > 
> > Looks good to me, thanks.
> 
> Agreed.  Please go ahead (with the obvious tweak to the version and an
> s/an the/and the/ in the changelog); thanks.

I just uploaded (as NMU) with the attached debdiff.

Adam, If you like, could you consinder to have it trough
stable-updates (like at's fix for >= 3.2.9 kernels)?

Many thanks for your release work and for accepting the fix!

Regards,
Salvatore
diff -u rstatd-4.0.1/getdata.c rstatd-4.0.1/getdata.c
--- rstatd-4.0.1/getdata.c
+++ rstatd-4.0.1/getdata.c
@@ -285,7 +285,8 @@
 	if (0 == strncmp(u.release, "2.4", 3)) {
 		getdata.disk = get_disk24;
 	}
-	if (0 == strncmp(u.release, "2.6", 3)) {
+	/* defaults to get_*26 for kernel version >= 2.6 */
+	else {
 		getdata.disk = get_disk26;
 		getdata.vm = get_vm26;
 	}
diff -u rstatd-4.0.1/debian/changelog rstatd-4.0.1/debian/changelog
--- rstatd-4.0.1/debian/changelog
+++ rstatd-4.0.1/debian/changelog
@@ -1,3 +1,13 @@
+rstatd (4.0.1-4+squeeze1) stable; urgency=low
+
+  * Non-maintainer upload.
+  * Patch getdata.c. Work with 3.x Linux kernels. A machine running
+    kernel 3.x and the rpc.rstatd does not reply to any rup request from
+    remote or even from local host. This renders the package unusable.
+    Thanks to Thomas Lange (Closes: #654276)
+
+ -- Salvatore Bonaccorso <carnil@debian.org>  Wed, 13 Jun 2012 07:43:56 +0200
+
 rstatd (4.0.1-4) unstable; urgency=low
 
   * Reduce log verbosity; closes: #418969 
@@ -131 +140,0 @@
-

Attachment: signature.asc
Description: Digital signature


Reply to: