Page 1 of 1

update-rc.d rpcbind enable fails

Posted: Wed Apr 23, 2014 12:33 am
by timrowledge
I'm having problems with my NFS connection at boot - it doesn't get setup. Manually re-connecting is fine but the problem seems to be that

Code: Select all

update-rc.d rpcbind enable 
returns an error

Code: Select all

insserv: warning: script 'mathkernel' missing LSB tags and overrides
which means about the same to me as 'buzzbuzzbuzzwibblefrottagebuzz'.

Gronk?

Re: update-rc.d rpcbind enable fails

Posted: Wed Apr 23, 2014 8:43 am
by DougieLawson
Two ways to fix it.

1. sudo apt-get purge wolfram*
2. sudo vi /etc/init.d/skeleton /etc/init.d/mathkernel # copy the first ten lines from the skeleton to the mathkernel script.

Re: update-rc.d rpcbind enable fails

Posted: Mon May 05, 2014 6:14 pm
by timrowledge
DougieLawson wrote:Two ways to fix it.

1. sudo apt-get purge wolfram*
2. sudo vi /etc/init.d/skeleton /etc/init.d/mathkernel # copy the first ten lines from the skeleton to the mathkernel script.
Thanks Dougie - excuse the delayed response! Bit busy making Scratch faster....

I took a look at the two files and got a tad confused. The 'first ten lines' in my copy of skeleton didn't seem quite right since there are a bunch of comments that I have to imagine you don't care about (but given my knowledge of shel scripts, maybe comments are vital) and then the PATH= line that is the same in both files, followed by some stuff and then a function do_start. If I only count non-comment lines between PATH= and do_start I get 10; would that be the lines you referred to?

Re: update-rc.d rpcbind enable fails

Posted: Mon May 05, 2014 9:32 pm
by DougieLawson
Those comments are the LSB headers.