On Mon, 2012-02-06 at 15:10 +0100, lynn wrote:
On 02/06/2012 01:25 PM, Roger Oberholtzer wrote:
I have a new 12.1 install. We have not migrated away from sysvinit yet. That is a work in progress.
Anyway, I get a funny message when I try to run any 'insserv' command. Even the command without options:
insserv: Service portmap is missed in the runlevels 5 to use service nfsserver
So, I thought rpcbind (which provides portmap) was not enabled. I can see that there is no reference to in in the rc5.d directory. So, I tried to enable it:
# insserv rpcbind insserv: warning: current start runlevel(s) (3) of script `rpcbind' overwrites defaults (3 5). insserv: warning: current stop runlevel(s) (3) of script `rpcbind' overwrites defaults (3 5). insserv: warning: current start runlevel(s) (3) of script `rpcbind' overwrites defaults (3 5). insserv: warning: current stop runlevel(s) (3) of script `rpcbind' overwrites defaults (3 5). insserv: Service portmap is missed in the runlevels 5 to use service nfsserver
Still no reference to it in rc5.d. The sysvinit rpcbind script contains:
# Default-Start: 3 5
which should place a reference in rc5.d. Since that does not happen, rpcbind is not available for nfsserver.
Seems that the new systemd startup system has a different idea about when rpcbind needs to run.
# chkconfig -f rpcbind rpcbind 3
Since no one else has reported this (checked Bugzilla and googled), I am guessing my system is confused.
As a start, what do people successfully running 'nfsserver' get for the 'chkconfig -f rpcbind' command? More than just '3', I would imagine.
Where is this defined for the new systemd startup? Hi 12.1 with but with systemd We had trouble with kerberized nfs4 mounts, so this may be related. Here are the commands you used on our server:
insserv <any option or none> insserv: script jexec is broken: incomplete LSB comment. insserv: missing `Required-Stop:' entry: please add even if empty. and chkconfig -f rpcbind rpcbind on
So it starts. Mine will not start. Is your system in runlevel 5? I think rpcbind on my system only thinks it should run in runlevel 3, even though nfsserv is set to be runable in both 3 and 5... Yours sincerely, Roger Oberholtzer OPQ Systems / Ramböll RST Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 roger.oberholtzer@ramboll.se ________________________________________ Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden www.rambollrst.se -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org