LinuxQuestions.org
Review your favorite Linux distribution.
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 04-03-2011, 04:07 PM   #1
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.0
Posts: 3,476

Rep: Reputation: 531Reputation: 531Reputation: 531Reputation: 531Reputation: 531Reputation: 531
nfs "ignoring line due to no section"


I see this message in Current every time I mount some remote nfs v3 shares, whether manually or from fstab.

All I find on the web are multiple copies of a post when the patch was submitted containing that message.

I don't know C++ and don't know what the message means.

I don't see the message when booting 13.1 and connecting to the same remote nfs v3 shares.

Adding /etc/nfsmounts.conf and "nfsvers=3" in the mount parameters does not eliminate the message.

The message seems harmless. The shares get connected. Still, who likes superfluous messages during booting?

I'm grateful for help understanding what the messages mean and whether they can be quashed.
 
Old 04-03-2011, 07:19 PM   #2
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,014

Rep: Reputation: 145Reputation: 145
From the code in
"slackware-current/source/n/nfs-utils/nfs-utils-1.2.3.tar.xz#utar/nfs-utils-1.2.3/support/nfs/conffile.c", you are missing a "section" before the name/value pairs.

[section] <- missing
name=value
or
name value
 
Old 04-03-2011, 08:38 PM   #3
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.0
Posts: 3,476

Original Poster
Rep: Reputation: 531Reputation: 531Reputation: 531Reputation: 531Reputation: 531Reputation: 531
Quote:
From the code in...
Oh. Okay. I had the following in nfsmount.conf:

Defaultvers=3

I added a section named [NFSMount_Global_Options] and placed Defaultvers=3 in that section.

Seems to have stopped the messages.

Thanks.
 
  


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
[SOLVED] How do I run "menu" and "logout" from the command line in fluxbox? psionl0 Slackware 19 03-02-2011 12:46 AM
printing hh in hh:mm using "awk '{FS=":";print $1}'" misses first line of output!! mayankmehta83 Linux - Newbie 2 12-03-2009 02:55 AM
eth0 is ignoring me when I tell it "Activate at startup" pentalive Linux - Networking 5 07-14-2008 01:18 PM
cruise control " Warning: -configfile=/cruisecontrol.xml not understood. Ignoring." emailssent Linux - Networking 0 02-28-2005 03:11 AM
ignoring the "non-portable whitespace encountered at line " warning Jake13 Linux - Software 3 08-18-2004 12:34 PM


All times are GMT -5. The time now is 12:08 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration