On Wed, Dec 07, 2011 at 07:21:30AM +1100, Anibal Monsalve Salazar wrote: > On Tue, Dec 06, 2011 at 11:38:54AM +0000, Roger Leigh wrote: > >On Thu, Jul 07, 2011 at 11:34:49PM +0100, Roger Leigh wrote: > >>Source: rpcbind > >>Version: 0.2.0-6 > >>Severity: important > >> > >>Your package is currently using/lib/init/rw/sendsigs.omit.d > >>which is now deprecated and pending removal. Please update your > >>package to use /run/sendsigs.omit.d with a versioned dependency > >>on initscripts, as detailed below. > > > >Ping? Has any work been done on this? A patch has been available > >for over two months. > > > >/lib/init/rw is being removed in the next week or so. This bug > >is blocking the /run transition completion. Please fix this > >now, or it will require an NMU. > > Hello Roger, > > I've been working on this and other rpcbind bugs. I'll plan an upload > within the next couple of days.
I tested the above patch. Looks like it does the migration fine, but there's a small glitch which results in the pidfile having zero size: % ls -ld /run/rpcbind* drwxr-xr-x 2 root root 40 Dec 7 19:49 /run/rpcbind -r--r--r-- 1 root root 0 Dec 7 19:49 /run/rpcbind.lock -rw-r--r-- 1 root root 0 Dec 7 19:49 /run/rpcbind.pid srw-rw-rw- 1 root root 0 Dec 7 19:49 /run/rpcbind.sock % sudo /etc/init.d/rpcbind restart Stopping rpcbind daemon.... Starting rpcbind daemon.... % ls -ld /run/rpcbind* drwxr-xr-x 2 root root 40 Dec 7 19:50 /run/rpcbind -r--r--r-- 1 root root 0 Dec 7 19:50 /run/rpcbind.lock -rw-r--r-- 1 root root 5 Dec 7 19:50 /run/rpcbind.pid srw-rw-rw- 1 root root 0 Dec 7 19:50 /run/rpcbind.sock % cat /run/rpcbind.pid 26803 So on upgrade, the existing pidfile in /lib/init/rw/sendsigs.omit.d (which does contain a valid PID), is moved to /run/rpcbind.pid. But it gets zeroed out, I think when the rpcbind service is restarted. Not sure why this occurs--maybe it's a "pidofproc" bug? I don't think this is an issue with the migration logic in the postinst--it's something else. Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/ `- GPG Public Key: 0x25BFB848 Please GPG sign your mail. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org