[opensuse] new 13.1 DVD installation would not autostart rpcbind
I've been in the habit since long before systemd replaced sysvinit of doing most installations via HTTP, since most have been from various Factory incarnations rather than GA releases. These I start from Grub, with stanzas that include network configuration. Consequently, YaST uses this configuration for the installed network, giving me functional network in all cases in which network is not generally broken. NFS was never configured to autostart that I can recall, but it was always easy enough to fix via 'chkconfig [rpcbind,nfs,nfsserver] on'. I have more than a dozen 13.1 installations, all of which are autostarting rpcbind. Last night I started the same way, except the source was the 13.1 iso file on HD instead of an HTTP URL. Apparently YaST totally ignored the cmdline network configs, including net.ifnames=0, and set up DHCP on enp3s0 instead of fixed on eth0. In spite of my attempts to get rpcbind to start automatically via systemctl, it simply wouldn't. 'systemctl enable rpcbind' produced no result. Until I started rpcbind myself, I couldn't mount NFS resources. After hours of frustration hunting for clues and rebooting, I tried 'systemctl enable rpcbind' again, and now it is working as expected. ******** Why doesn't YaST at installation time configure rpcbind to start automatically if any packages depending on it are installed? e.g. nfs-kernel-server? ******** tails from dmesg, localmessages, messages, warn, all prior to 'systemctl enable rpcbind' producing a positive result: http://fm.no-ip.com/Tmp/Linux/mtail-big31-os131.txt # systemctl list-units | egrep 'nfs|inet|rpc' sys-devices-pci...net-eth0.device loaded active plugged RTL8101E/RTL8102E PCI Express Fast Ethernet controller sys-subsystem-net-devices-eth0.device loaded active plugged RTL8101E/RTL8102E PCI Express Fast Ethernet controller proc-fs-nfsd.mount loaded active mounted /proc/fs/nfsd var-lib-nfs-rpc_pipefs.mount loaded active mounted /var/lib/nfs/rpc_pipefs network.service loaded active exited LSB: Configure network interfaces and set up routing network@eth0.service loaded active exited ifup managed network interface eth0 nfs.service loaded failed failed LSB: NFS client services nfsserver.service loaded failed failed LSB: Start the kernel based NFS daemon system-network.slice loaded active active system-network.slice network.target loaded active active Network # systemctl status rpcbind rpcbind.service - RPC Bind Loaded: loaded (/usr/lib/systemd/system/rpcbind.service; disabled) Active: inactive (dead) # systemctl status nfs nfs.service - LSB: NFS client services Loaded: loaded (/etc/init.d/nfs) Drop-In: /run/systemd/generator/nfs.service.d └─50-insserv.conf-$remote_fs.conf Active: failed (Result: exit-code) since Sat 2014-04-12 20:37:51 EDT; 4min 31s ago Process: 1192 ExecStart=/etc/init.d/nfs start (code=exited, status=3) nfs[1192]: Starting NFS client services:portmap/rpcbind is not running systemd[1]: nfs.service: control process exited, code=exited status=3 systemd[1]: Failed to start LSB: NFS client services. systemd[1]: Unit nfs.service entered failed state. # systemctl status nfsserver nfsserver.service - LSB: Start the kernel based NFS daemon Loaded: loaded (/etc/init.d/nfsserver) Active: failed (Result: exit-code) since Sat 2014-04-12 20:37:51 EDT; 4min 34s ago Process: 1199 ExecStart=/etc/init.d/nfsserver start (code=exited, status=7) CGroup: /system.slice/nfsserver.service └─1227 /usr/sbin/rpc.idmapd -p /var/lib/nfs/rpc_pipefs rpc.mountd[1230]:Could not make a socket: (97) Address family not supported by protocol rpc.mountd[1230]:Could not bind socket: (98) Address already in use rpc.mountd[1230]:Could not make a socket: (97) Address family not supported by protocol rpc.mountd[1230]:Could not make a socket: (97) Address family not supported by protocol rpc.mountd[1230]:mountd: could not create listeners startproc[1229]: startproc: exit status of parent of /usr/sbin/rpc.mountd: 1 nfsserver[1199]: Starting kernel based NFS server: idmapd mountd..failed systemd[1]: nfsserver.service: control process exited, code=exited status=7 systemd[1]: Failed to start LSB: Start the kernel based NFS daemon. systemd[1]: Unit nfsserver.service entered failed state. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (1)
-
Felix Miata