Comment 9 for bug 431248

Revision history for this message
Steve Langasek (vorlon) wrote :

Here's a preliminary patch to upstartify portmap.

The 'stopped nfs-common' is incorrect, both because there are multiple daemons involved with nfs-common that will each need their own upstart job (AFAICS), and because it should be stopped in cases where nfs-common is not available.

Also, this upstart job loses the sendsigs handling found in the init script, so on shutdown I see the job being killed multiple times - which could also cause problems for NFS mounts. I don't know if there's a better way to implement this besides duplicating the same sendsigs logic found in the init script.