If /etc/sysconfig/network is missing, the sysvinit script whines about "no such file or directory" when network is sourced. Also, the test for "if [ ${NETWORKING} = "no" ] fails out because NETWORKING has no value; the error is: "/etc/rc.d/init.d/portmap: [: =: unary operator expected. Possible solution: replace: . /etc/sysconfig/network with if [ -f /etc/sysconfig/network ] then . /etc/sysconfig/network else exit 1 fi Also, replace: if [ ${NETWORKING} = "no" ] with if [ "${NETWORKING}" = "no" ] Cheers.
Fixed in portmap-4.0-31