In fact I run the rcnfsserver script. It lists this: # rcnfsserver status Checking for kernel based NFS server: idmapd running mountd unused statd unused nfsd unused nfsserver.service - LSB: Start the kernel based NFS daemon Loaded: loaded (/etc/init.d/nfsserver) Active: failed (Result: exit-code) since Thu 2014-10-30 13:57:56 UTC; 1h 23min ago Process: 2983 ExecStart=/etc/init.d/nfsserver start (code=exited, status=7) I ran the systemd journal command to see if I could get more info. And it was where the mountd error info was provided. I have the following installed: nfs-kernel-server-1.2.8-4.13.1.i586 rpcbind-0.2.0_git201103171419-12.1.2.i586 I looked at your bugzilla reference but it was not clear what I could do about it. When I ran the script with tracing, it did not tell too much. It listed the values of various variables, and then said: # Check if the service is used under systemd but not started with if test -z "$SYSTEMD_NO_WRAP" && /usr/bin/mountpoint -q /sys/fs/cgroup/systemd; then if test $PPID -ne 1 -a $# -eq 1 ; then _rc_base= _sd_opts= case "$0" in /etc/init.d/boot.*) _rc_base=${0##*/boot.} ;; /etc/init.d/*|/etc/rc.d/*) _rc_base=${0##*/} ;; */rc*) if test -L "$0"; then _rc_base=`readlink "$0"` _rc_base=${_rc_base##*/} case "$_rc_base" in boot.*) _rc_base=${_rc_base#boot.} esac else _rc_base=${0##*/rc} fi ;; esac case "$1" in status) SYSTEMD_NO_WRAP=1 "$0" "$1" _sd_opts='--lines=0 --full --output=cat' ;; start|stop|reload|restart|try-restart|force-reload) echo "redirecting to systemctl $1 ${_rc_base}.service" 1>&2 ;; *) unset _rc_base esac if test -n "$_rc_base" -a -x /usr/bin/systemctl ; then exec /usr/bin/systemctl $_sd_opts $1 "${_rc_base}.service" fi unset _rc_base _sd_opts fi if test -z "$REDIRECT" -a -x /sbin/showconsole ; then REDIRECT="$(/sbin/showconsole 2>/dev/null)" test -z "$CONSOLE" && CONSOLE=/dev/console export REDIRECT CONSOLE fi fi ++ test -z '' ++ /usr/bin/mountpoint -q /sys/fs/cgroup/systemd ++ test 2818 -ne 1 -a 1 -eq 1 ++ _rc_base= ++ _sd_opts= ++ case "$0" in ++ _rc_base=nfsserver ++ case "$1" in ++ echo 'redirecting to systemctl start nfsserver.service' redirecting to systemctl start nfsserver.service ++ test -n nfsserver -a -x /usr/bin/systemctl ++ exec /usr/bin/systemctl start nfsserver.service Job for nfsserver.service failed. See 'systemctl status nfsserver.service' and 'journalctl -xn' for details. No clues that I recognize. Roger Oberholtzer Ramböll RST Office: +46 (0)10-615 6020 Mobile: +46 (0)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 ________________________________________ From: Anton Aylward [opensuse@antonaylward.com] Sent: Thursday, October 30, 2014 2:01 PM To: opensuse@opensuse.org Subject: Re: [opensuse] openSUSE 13.1 mountd failure On 10/30/2014 08:38 AM, Roger Oberholtzer wrote:
I do not see why this is failing. It seems to be failing with mountd. No idea why. Anyone ever seen this?
Roger Oberholtzer
First off, this is not a systemd problem I've encountered it in 11.1 and 11.2 as well :-( Secondly, the kernel NFS server is an old sysvinit script. # rpm -ql nfs-kernel-server /etc/init.d/nfsserver /etc/sysconfig/SuSEfirewall2.d/services/nfs-kernel-server /usr/sbin/exportfs /usr/sbin/nfsdcltrack /usr/sbin/rcnfsserver /usr/sbin/rpc.mountd /usr/sbin/rpc.nfsd /usr/sbin/rpc.svcgssd /usr/share/man/man5/exports.5.gz /usr/share/man/man7/nfsd.7.gz /usr/share/man/man8/exportfs.8.gz /usr/share/man/man8/mountd.8.gz /usr/share/man/man8/nfsd.8.gz /usr/share/man/man8/nfsdcltrack.8.gz /usr/share/man/man8/rpc.mountd.8.gz /usr/share/man/man8/rpc.nfsd.8.gz /usr/share/man/man8/rpc.svcgssd.8.gz /usr/share/omc/svcinfo.d/nfs-kernel-server.xml /var/lib/nfs/etab /var/lib/nfs/rmtab /var/lib/nfs/xtab See, /etc/init.d/nfsserver and no systemd unit. What is happening in your trace report is that systemd is running in backwards compatibility mode to make use of the sysvinit script. I'd start the debugging by running the init script in debug mode sh -xv /etc/init.d/nfsserver start My personal suspicions, based on what I went though with 11.x, is that the RPC system isn't there. Check for the portmapper. The nice thing about when stuff is fully converted to systemd is that you can make the dependencies explicit. While its not impossible to do that with scripts it makes them a bit unwieldy. However ... It may also be a nfs v4 problem https://bugzilla.redhat.com/show_bug.cgi?id=443625 -- Never hire or promote in your own image. It is foolish to replicate your strength and idiotic to replicate your weakness. It is essential to employ, trust, and reward those whose perspective, ability, and judgment are radically different from yours. It is also rare, for it requires uncommon humility, tolerance, and wisdom. - Dee W. Hock, Fast Company -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org