Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[SOLVED] Should /run/rpcbind be owned by xbian
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Solved: Should /run/rpcbind be owned by xbian
14th Aug, 2013, 06:44 PM
Post: #1
deckoff Offline
Registered
Posts: 4
Joined: Aug 2013
Reputation: 0
Should /run/rpcbind be owned by xbian
I was having hard time to mount a nfs share to my xbian

Raspberry Pi, 512 MB (though reported 376 BM by system??)

Xbian 1.0Beta1.1

Code:
uname -a
Linux xbian 3.9.8+ #2 PREEMPT Tue Jul 2 17:38:12 CEST 2013 armv6l GNU/Linux

The mount command:
Code:
sudo mount -t nfs 192.168.1.106:/nfs /media/MyBookLive

The error output was:

Code:
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: an incorrect mount option was specified

I edited the /etc/default/nfs-common conf file, but the problem persissted. nsf-common refused to start anyway, because
Code:
[warn] Not starting: portmapper is not running ... (warning).

After some fiddling, it turned out that
Code:
/run/rpcbind

is owned by xbian, not by root. I changed ownership and the service started and i managed to mount.
My question is this a bug, or this intended design and I am missing the point how to use the start the service here?
Find all posts by this user
Quote this message in a reply
14th Aug, 2013, 08:15 PM
Post: #2
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: Should /run/rpcbind be owned by xbian
deckoff,

/run is recreated on each boot from scratch. when you was doing your best to mount nfs, you probably started rpcbind process manually under xbian user (or mount - which tried to launch rpcbind via helper mount.nfs). then the run directory was of course created with ownership xbian.

to setup properly, check your /etc/default/nfs-common that NEED_STATD is not "no" if you use NFS(2,3) (what was beta1 bug), then as root (or under xbian with sudo) run:

Code:
insserv -f rpcbind
insserv -f nfs-common

reboot

btw: the memory is ok, 512mb is total ram. GPU has no dedicated memory and is shared with main. by default it is set to be 128MB (for GPU).

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
15th Aug, 2013, 03:08 PM
Post: #3
deckoff Offline
Registered
Posts: 4
Joined: Aug 2013
Reputation: 0
RE: Should /run/rpcbind be owned by xbian
Thank you.
I was just looking for a way to start up the services on each boot, and was was planning to see if I update-rc.d will do this for me. insserv seems to be an elegant answer Wink
Thank you, case is solved!
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 10th May, 2025, 08:21 AM Powered By MyBB, © 2002-2025 MyBB Group.