[opensuse] NFS server in openSUSE 12.1
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? 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
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 In our case, after starting the nfsserver, we could not mount shares with sec=krb5 rcnfsserver start ps aux | grep rpc root 1037 0.0 0.1 2356 784 ? Ss 14:41 0:00 /sbin/rpcbind root 2309 0.0 0.0 0 0 ? S< 14:45 0:00 [rpciod] root 2419 0.0 0.2 3684 1212 ? Ss 14:48 0:00 /usr/sbin/rpc.svcgssd root 2424 0.0 0.0 2416 348 ? Ss 14:48 0:00 /usr/sbin/rpc.idmapd root 2428 0.0 0.1 2976 748 ? Ss 14:48 0:00 /usr/sbin/rpc.mountd --no-nfs-version 2 --no-nfs-version 3 The only way we could get a kerberized mount working was by adding rpc.gssd into the mix. Issuing any sort of mount command knocks idmapd out and it has to be manually restarted. I've a thread open on the gssd stuff. HTH L x -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
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
On 02/06/2012 04:55 PM, Roger Oberholtzer wrote:
On Mon, 2012-02-06 at 15:10 +0100, lynn wrote:
On 02/06/2012 01:25 PM, Roger Oberholtzer wrote: 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? Yes. Easier to keep track of each process on the same screen. 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... L x -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
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
Exactly the same output in rl 3 as in rl5 (above) hth L x BTW, script jexec is broken: (=important?) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Mon, 2012-02-06 at 19:40 +0100, lynn wrote:
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
Exactly the same output in rl 3 as in rl5 (above)
So why would my system have something different? Why would it think rpcbind should only run in level 3? I do not know where this is specified for systemd. As the messages state, the sysvinit (/etc/init.d) setup said rpcbind should be in runlevels 3 and 5, but the systemd spec (where is that located?) said only level 3, and so systemd replaced the runlevel with only 3. I broke down and check the runlevels in YaST. Lo and behold, rpcbind was only set to run in level 3. I checked run level 5 and it now works as expected. The question remains, how did it get set to only run level 5? It is also interesting that the run levels in the old sysvinit system are ignored by systemd. I guess in a perfect world they would be the same. But when they are not, systemd rules.
hth L x
BTW, script jexec is broken: (=important?)
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
When running insserv on 12.1, it insists on telling that it is forwarding this to that. All very wordy. And inconsistent. For example: # insserv smartd insserv: Note: sysvinit service smartd is shadowed by systemd smartd.service, Forwarding request to '/bin/systemctl enable smartd.service'. # insserv nfsserver The second command lists nothing, as was the case prior to 12.1 Is there any way to just get the command to report errors, and not these internal details? I ask because these are run in a script that, in the past, could consider these messages to be errors. Now the messages can also be informative. On Tue, 2012-02-07 at 10:10 +0100, Roger Oberholtzer wrote:
On Mon, 2012-02-06 at 19:40 +0100, lynn wrote:
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
Exactly the same output in rl 3 as in rl5 (above)
So why would my system have something different? Why would it think rpcbind should only run in level 3?
I do not know where this is specified for systemd. As the messages state, the sysvinit (/etc/init.d) setup said rpcbind should be in runlevels 3 and 5, but the systemd spec (where is that located?) said only level 3, and so systemd replaced the runlevel with only 3.
I broke down and check the runlevels in YaST. Lo and behold, rpcbind was only set to run in level 3. I checked run level 5 and it now works as expected.
The question remains, how did it get set to only run level 5? It is also interesting that the run levels in the old sysvinit system are ignored by systemd. I guess in a perfect world they would be the same. But when they are not, systemd rules.
hth L x
BTW, script jexec is broken: (=important?)
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
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
* Roger Oberholtzer <roger@opq.se> [02-06-12 07:28]:
I have a new 12.1 install. We have not migrated away from sysvinit yet. That is a work in progress.
I have a fresh 12.1 install
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 rpcbind on chkconfig nfs on both started and both show active in rl's 3 & 5 and am able to access nfs shares also have a factory install which was from scratch and it also is functional. ??? -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Mon, 2012-02-06 at 09:28 -0500, Patrick Shanahan wrote:
* Roger Oberholtzer <roger@opq.se> [02-06-12 07:28]:
I have a new 12.1 install. We have not migrated away from sysvinit yet. That is a work in progress.
I have a fresh 12.1 install
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 rpcbind on
Hmm. I get: # chkconfig rpcbind on 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 And portmap and friends are not running. I guess you are running in runlevel 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
* Roger Oberholtzer <roger@opq.se> [02-06-12 10:54]:
Hmm. I get:
# chkconfig rpcbind on 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
And portmap and friends are not running. I guess you are running in runlevel 5?
will drop them both to rl 3 and report back, hold your breath :^) -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* Patrick Shanahan <paka@opensuse.org> [02-06-12 12:09]:
* Roger Oberholtzer <roger@opq.se> [02-06-12 10:54]:
Hmm. I get:
# chkconfig rpcbind on 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
And portmap and friends are not running. I guess you are running in runlevel 5?
will drop them both to rl 3 and report back, hold your breath :^)
both system dropped nfs but I cannot restart the 12.1 tumbleweed system. The factory box will restart and continue running ?? -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* Patrick Shanahan <paka@opensuse.org> [02-06-12 12:29]:
both system dropped nfs but I cannot restart the 12.1 tumbleweed system. The factory box will restart and continue running ??
Having not paid too much attention to detail, nfs, as everything appears to work, I have no nfs server running on the system I am providing access. And, all local machines remote to the accessed file systems (11.2) are able to access the files ?? nfs fails to start because there are *no* nfs entries in it's fstab ??? it is serving those file systems, not acting as client. But I am old and not too savy on networking (or much anything for that matter). -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
chkconfig rpcbind on chkconfig nfs on both started and both show active in rl's 3& 5
and am able to access nfs shares
also have a factory install which was from scratch and it also is functional.
??? Hi Sorry, I don't want to hijack, but is this straight nfs3 with no -o sec=<flavour> anywhere? L x
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Mon, 2012-02-06 at 17:10 +0100, lynn wrote:
chkconfig rpcbind on chkconfig nfs on both started and both show active in rl's 3& 5
and am able to access nfs shares
also have a factory install which was from scratch and it also is functional.
??? Hi Sorry, I don't want to hijack, but is this straight nfs3 with no -o sec=<flavour> anywhere?
In fact, it is not really NFS. It seems to be rpcbind and portmap. systemd does not think they should be started in runlevel 5. We never get to the nfs stuff because the required portmap service is not started.
L x
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
* lynn <lynn@steve-ss.com> [02-06-12 11:10]:
Sorry, I don't want to hijack, but is this straight nfs3 with no -o sec=<flavour> anywhere?
the mounts are nfs4 -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* lynn <lynn@steve-ss.com> [02-06-12 11:10]:
Sorry, I don't want to hijack, but is this straight nfs3 with no -o sec=<flavour> anywhere?
the mounts are nfs4 .. are *not* nfs4 192.168.1.3:/mnt/ExTernal/ on /mnt/nfs/ExTernal type nfs4 (rw,relatime,vers=4,rsize=524288,wsize=524288,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.1.6,minorversion=0,local_lock=none,addr=192.168.1.3,_netdev) -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
lynn
-
Patrick Shanahan
-
Roger Oberholtzer