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

Bug#703781: unblock: freebsd-utils/9.0+ds1-10



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package freebsd-utils

  rpc.lockd from freebsd-nfs-common/testing has a bug (#664812)
  preventing it from starting. Steven found the root cause for this a
  few days ago and provided a simple patch. I have uploaded the fix to
  unstable 3 days ago and am constantly testing it on a production
  server. It's not marked RC in the BTS, feel free to decide either
  way.

    Christoph

unblock freebsd-utils/9.0+ds1-10

diff -Nru freebsd-utils-9.0+ds1/debian/changelog freebsd-utils-9.0+ds1/debian/changelog
--- freebsd-utils-9.0+ds1/debian/changelog	2012-12-30 01:08:30.000000000 +0100
+++ freebsd-utils-9.0+ds1/debian/changelog	2013-03-18 11:58:29.000000000 +0100
@@ -1,3 +1,11 @@
+freebsd-utils (9.0+ds1-10) unstable; urgency=low
+
+  * Import patch by Steven Chamberlain to make rpc.lockd start without
+    `-h' arguments (Closes: #664812)
+  * Add me to uploaders
+
+ -- Christoph Egger <christoph@debian.org>  Mon, 18 Mar 2013 11:54:48 +0100
+
 freebsd-utils (9.0+ds1-9) unstable; urgency=low
 
   [ Steven Chamberlain ]
diff -Nru freebsd-utils-9.0+ds1/debian/control freebsd-utils-9.0+ds1/debian/control
--- freebsd-utils-9.0+ds1/debian/control	2012-12-29 23:00:54.000000000 +0100
+++ freebsd-utils-9.0+ds1/debian/control	2013-03-18 11:57:12.000000000 +0100
@@ -2,7 +2,10 @@
 Section: utils
 Priority: important
 Maintainer: GNU/kFreeBSD Maintainers <debian-bsd@lists.debian.org>
-Uploaders: Aurelien Jarno <aurel32@debian.org>, Guillem Jover <guillem@debian.org>, Robert Millan <rmh@debian.org>
+Uploaders: Aurelien Jarno <aurel32@debian.org>,
+ Guillem Jover <guillem@debian.org>,
+ Robert Millan <rmh@debian.org>,
+ Christoph Egger <christoph@debian.org>
 Build-Depends: debhelper (>= 7), po-debconf, sharutils,
  flex | flex-old,
  freebsd-buildutils (>= 9.0-8~),
diff -Nru freebsd-utils-9.0+ds1/debian/patches/rpc.lockd-startup-fix.diff freebsd-utils-9.0+ds1/debian/patches/rpc.lockd-startup-fix.diff
--- freebsd-utils-9.0+ds1/debian/patches/rpc.lockd-startup-fix.diff	1970-01-01 01:00:00.000000000 +0100
+++ freebsd-utils-9.0+ds1/debian/patches/rpc.lockd-startup-fix.diff	2013-03-18 11:34:36.000000000 +0100
@@ -0,0 +1,20 @@
+Index: freebsd-utils-9.0+ds1/usr.sbin/rpc.lockd/lockd.c
+===================================================================
+--- freebsd-utils-9.0+ds1.orig/usr.sbin/rpc.lockd/lockd.c	2013-03-17 22:48:52.157285000 +0000
++++ freebsd-utils-9.0+ds1/usr.sbin/rpc.lockd/lockd.c	2013-03-18 01:24:08.588303578 +0000
+@@ -906,6 +906,7 @@
+ 						sin->sin_family = AF_INET;
+ 						sin->sin_port = htons(0);
+ 						sin->sin_addr.s_addr = htonl(INADDR_ANY);
++						sin->sin_len = sizeof(struct sockaddr_in);
+ 						res->ai_addr = (struct sockaddr*) sin;
+ 						res->ai_addrlen = (socklen_t)
+ 						    sizeof(res->ai_addr);
+@@ -917,6 +918,7 @@
+ 						sin6->sin6_family = AF_INET6;
+ 						sin6->sin6_port = htons(0);
+ 						sin6->sin6_addr = in6addr_any;
++						sin6->sin6_len = sizeof(struct sockaddr_in6);
+ 						res->ai_addr = (struct sockaddr*) sin6;
+ 						res->ai_addrlen = (socklen_t) sizeof(res->ai_addr);
+ 						break;
diff -Nru freebsd-utils-9.0+ds1/debian/patches/series freebsd-utils-9.0+ds1/debian/patches/series
--- freebsd-utils-9.0+ds1/debian/patches/series	2012-12-30 01:10:18.000000000 +0100
+++ freebsd-utils-9.0+ds1/debian/patches/series	2013-03-18 11:34:43.000000000 +0100
@@ -49,3 +49,4 @@
 045_implicit-declaration.diff
 devd_link_c++_statically.diff
 stablerestart-fhs-compliance.diff
+rpc.lockd-startup-fix.diff


-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 10.0-0-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


Reply to: