LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-02-2014, 01:26 PM   #1
atelszewski
Member
 
Registered: Aug 2007
Distribution: Slackware
Posts: 948

Rep: Reputation: Disabled
Allow rc.nfsd to be started without /etc/exports (suggestion for current)


Hi,

In the 14.1 and probably previous versions too, the /etc/rc.d/rc.nfsd will exit immediately if there is no /etc/exports or if /etc/exports has no exports defined.

Suggestion for next release:
Allow the /etc/rc.d/rc.nfsd to start, even if there is no /etc/exports or if there are no exports defined.

Motivation:
I do embedded development and have boards booting over the NFS. For that reason I have my own script, which among other things will export specified directory using exportfs command. Sometimes I need to change the NFS boot directory for different boards and for that reason (e.g. not to edit it all the time and rerun rc.nfsd) I'm not using /etc/exports but my own script. But for the script to work I need the NFS to be up and running, which at the moment I accomplish by adding dummy entry in /etc/exports to allow rc.nfsd to run. I just don't want to reimplement the rc.nfsd in my own script. What do you think?

--
Best regards,
Andrzej Telszewski
 
Old 07-03-2014, 10:09 PM   #2
perbh
Member
 
Registered: May 2008
Location: Republic of Texas
Posts: 393

Rep: Reputation: 81
The first thing I ever do after a slackware install is to edit the rc.nfsd file by commenting out the test for empty or non-existent /etc/exports, yeah, a slight hassle but no biggie ...
 
Old 07-04-2014, 10:01 AM   #3
atelszewski
Member
 
Registered: Aug 2007
Distribution: Slackware
Posts: 948

Original Poster
Rep: Reputation: Disabled
Hi,

Perfect, I'm not the only one in the need

Quote:
a slight hassle but no biggie ...
Well, if the change does not pose a security risk, I'd prefer to see it merged.
The yield would be one step less to perform after installation

--
Best regards,
Andrzej Telszewski
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
What is NFSD? vandien76og Linux - Security 4 07-18-2011 01:46 PM
[SOLVED] NFS exports do not show up in /proc/fs/nfs/exports Gerard_2009 Linux - Server 2 09-07-2010 03:06 PM
[SOLVED] nfsd in current escaflown Slackware 3 03-14-2010 01:56 AM
don't have nfsd mount point in /proc/fs/nfsd...can't start NFS as a result alirezan1 Linux - Newbie 1 11-19-2008 07:57 AM
Suggestion for slackware current: Updated slrn andrew.46 Slackware 7 11-08-2008 04:39 PM

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

All times are GMT -5. The time now is 09:03 AM.

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