Package: rpcbind
Version: 0.2.1-3
Severity: minor
Tags: patch
User: [email protected]
Usertags: origin-ubuntu utopic ubuntu-patch

Hi Anibal,

In Ubuntu, we've made a few small changes to the upstart jobs for the
rpcbind package.  Please consider including the attached patch in Debian.

The explanation for the changes is:

    - debian/rpcbind.rpcbind-boot.upstart: document that this job emits the
      start-rpcbind event.
    - Don't pass -w to rpcbind on boot up, since the files won't be there to
      be read.

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
[email protected]                                     [email protected]
=== modified file 'debian/rpcbind.rpcbind-boot.upstart'
--- debian/rpcbind.rpcbind-boot.upstart	2013-08-12 18:11:48 +0000
+++ debian/rpcbind.rpcbind-boot.upstart	2014-01-14 00:24:37 +0000
@@ -3,6 +3,8 @@
 description "Upstart job to start rpcbind on boot only"
 author "Clint Byrum"
 
+emits start-rpcbind
+
 start on virtual-filesystems and net-device-up IFACE=lo
 
 task

=== modified file 'debian/rpcbind.upstart'
--- debian/rpcbind.upstart	2013-08-31 19:47:34 +0000
+++ debian/rpcbind.upstart	2014-01-14 00:24:58 +0000
@@ -24,7 +24,10 @@
 pre-start exec mkdir -p /run/rpcbind
 
 script
-	OPTIONS="-w"
+	OPTIONS=
+	if [ -z "$ON_BOOT" ]; then
+		OPTIONS=-w
+	fi
 	if [ -f /etc/default/rpcbind ]; then
 		. /etc/default/rpcbind
 	elif [ -f /etc/rpcbind.conf ]; then

Reply via email to