I suspect this is still not fixed. On a freshly installed Lenny system of mine, portmap refuses to start stating "Already running". Adding debug output to the init script shows that $(pidofproc portmap) returns the PID of the shell running the init script ($$).
pidofproc falls back to pidof when there is no PID file, like on system startup. In my case, this leads to statd not being able to register with the portmapper and my NFS mounts failing.
signature.asc
Description: Digital signature