LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-18-2015, 02:23 AM   #1
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,264
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
Question Slackware-current 16Dec2015? update broke installation via NFS mount


I've had a PXE syslinux boot server set up for quite some time. It's more convenient than a DVD or USB stick for this recent -current upgrade cycle. Until today, installation via NFS worked ok (last used about 2 weeks ago). Both Slackware-current and Slackware64-current boot up ok, setting up drives etc is ok, and setup starts its normal cycle. However, now, when I select NFS for the installation media, mount fails. Doesn't matter if I choose to setup the network via DHCP or manually. I can mount manually just fine and NFS is set up correctly on the server (Slackware-14.1 stock) as I can mount just fine from any other Slackware box. When I exit setup, and try to mount manually,
Code:
mount -r -t nfs 192.168.1.4:/data/slackware/slackware-current/slackware /var/log/mount
mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
mount.nfs: 192.168.1.4:/data/slackware/slackware-current/slackware failed, ...
...
Adding 'nolock' works:
Code:
mount -r -t nfs -o nolock 192.168.1.4:/data/slackware/slackware-current/slackware /var/log/mount
Workaround:
In the NFS dialogs, set up network as normal, but prepend "nolock" to server address:
NFS server = '-o nolock 192.168.1.4'
directory = /data/slackware/slackware-current/slackware

Changelogs show rpcbind replaced portmap, so was something left out or a script error?

Last edited by kingbeowulf; 12-19-2015 at 02:15 PM. Reason: typos, added '...' per comments
 
Old 12-18-2015, 02:44 AM   #2
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
The December 16th update replaced portmap (obsolete) with two new packages: rpcbind and libtirpc. Check if you have these installed.

Edit: on second reading, I just understand this concerns the installation process. My bad.
 
Old 12-18-2015, 04:58 AM   #3
nolretou
Member
 
Registered: Apr 2014
Distribution: Slackware
Posts: 98

Rep: Reputation: Disabled
Don't forget to
chmod +x /etc/rc.d/rc.rpc
after the update.
 
Old 12-18-2015, 12:37 PM   #4
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,264

Original Poster
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
Quote:
Originally Posted by nolretou View Post
Don't forget to
chmod +x /etc/rc.d/rc.rpc
after the update.
sad state of affairs when no one bothers to read the actual post. I did NOT update but did a FULL install from mirrored Slackware64-current tree - as I have before 14.1. I should NOT need to chmod anything.
 
Old 12-19-2015, 02:18 AM   #5
sanjioh
Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 92

Rep: Reputation: Disabled
unrelated: last line of error message seems somehow left-truncated:

Code:
mount.nfs: 92.168.1.4:/data/slackware/slackware-current/slackware failed,
 
Old 12-20-2015, 12:27 PM   #6
OldHolborn
Member
 
Registered: Jul 2012
Posts: 229

Rep: Reputation: 190Reputation: 190
Adding

rpcbind: 127.0.0.1

to hosts.allow

fixes the problem, and I think, correctly too
 
Old 12-20-2015, 09:33 PM   #7
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,264

Original Poster
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
This is driving me nuts. I finally had a moment to unpack the Slackare-14.1,-current isolinux/initrd.img and compare a bit. Neither has a /etc/host.allow file or /etc/rc.d/rc.rpc file. Flipping to another console, /var/log/setup/tmp/nsfout doesn't show any errors other than the (a) successful NFS mont of Slackware-14.1 tree or (b) unsuccessful NFS mont of Slackware-current tree.

NOTE: I do not use the internal NFS server within Slackware installation media. I have my own tpftboot/syslinux on a Slackware-14.1 box.

At the NSF MOUNT RESULT dialog, I get for Slackware-14.1:
Code:
#ps -A |grep rpc
  18 ?    00:00:00 rpciod
1040 ?    00:00:00 rpc.portmap
1042 ?    00:00:00 rpc.statd
as specified in the /usr/lib/setup/INSNFS script.
However, for Slackware-current /usr/lib/setup/INSNFS script now uses rpcbind. Neither rpcbind nor rpc.statd are running but there are no errors that I can see.
Code:
#ps -A |grep -E 'rpc|bind|stat'
  29 ?    00:00:00 rpciod
Once I use '-o nolock' I can install via NFS and after a full install, chmod +x /etc/rc.d/rc.rpc, I get the expected results and NFS mounting works as it should.
Code:
#ps -A |grep rpc
  29 ?    00:00:00 rpciod
 857 ?    00:00:00 rpcbind
 863 ?    00:00:00 rpc.statd
Conclusion: There is something missing in the Slackware{32,64}-current installation media initrd.img. Is libtirpc.so missing?

EDIT: found libtirpc.so.3.0.0 and symlink libtirpc.so.3. symlink for libtirpc.so missing?

Last edited by kingbeowulf; 12-20-2015 at 09:40 PM. Reason: Corrections/additions
 
Old 12-23-2015, 07:13 AM   #8
MarcT
Member
 
Registered: Jan 2009
Location: UK
Distribution: Slackware 14.2
Posts: 125

Rep: Reputation: 51
The -current changelog from today has this:
Code:
usb-and-pxe-installers/usbboot.img: Rebuilt.
       Fixed NFS install. Thanks to Stuart Winter.
Hopefully that will resolve the issue!
 
Old 12-23-2015, 09:17 PM   #9
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,264

Original Poster
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
and also,
Code:
isolinux/initrd.img:  Rebuilt.
  Fixed NFS install.  Thanks to Stuart Winter.
  Added nvme and sdhci-acpi kernel modules.
So I will mark this thread solved. I won't be abe to test for a few days but I wil trust our beloved BDFL!
 
  


Reply

Tags
current, install.nfs



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] things broke in update of -current pzognar Slackware 25 11-27-2015 10:11 PM
[SOLVED] Suspend Broke after update Slackware64-Current Grifulkin Slackware 16 06-28-2013 04:46 AM
[SOLVED] update to -current broke wicd and pidgin fonts (perhaps others as well) em21701 Slackware 1 07-04-2012 03:36 PM
[SOLVED] nov.16 -current update broke cryptsetup danielldaniell Slackware 3 11-17-2010 01:03 PM
Xorg broke after update to current coffeedemon Slackware 1 11-10-2004 12:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration