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

[SOLVED] XMBC doesn't start automatically with nfs shared configured
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Solved: XMBC doesn't start automatically with nfs shared configured
23rd Jan, 2014, 02:56 AM
Post: #1
Lukeid Offline
Registered
Posts: 5
Joined: Jan 2014
Reputation: 1
Question XMBC doesn't start automatically with nfs shared configured
Hello,

Last week I decided to try Xbian (beta 2) on my RPi, every thing went perfectly until I configured my nfs share in /etc/fstab:
Code:
server:/media/share        /mnt/nas        nfs     udp,rw,noatime,nolock           0       0

After that configuration XBMC did not autostart anymore after reboot and loging prompt was shown.

I investigated it and the problem was that XBMC service was not started by upstart because conditions were not met.

xbmc.conf start conditions:
Code:
start on started xbmc-preload and started dbus and (started autofs or xbian-nowait)

And those conditions were not met because of "xbian-nowait" and "autofs" part.

I think that autofs is not installed by default in my system so it will never start.

And xbian-nowait event is only raised by "mountall" if no nfs shares are configured.
Code:
grep -v ^# /etc/fstab| awk '{print $3}' | sort | grep -q 'nfs\|nfs4' || initctl emit -n xbian-nowait || :

I was able to workarround the problem changing xbmc.conf start conditions to:
Code:
start on started xbmc-preload and started dbus

But I'm not sure why that condition was included and it may be a more elegant solution to just delay a little the XBMC start if a nfs share is configured.

I could not find any related topic so maybe I'm doing something wrong... Confused

Best regards
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
XMBC doesn't start automatically with nfs shared configured - Lukeid - 23rd Jan, 2014 02:56 AM
RE: XMBC doesn't start automatically with nfs shared configured - teekay - 25th Jan, 2014, 12:36 AM
RE: XMBC doesn't start automatically with nfs shared configured - CurlyMo - 25th Jan, 2014, 12:57 AM
RE: XMBC doesn't start automatically with nfs shared configured - Lukeid - 25th Jan, 2014, 04:24 AM
RE: XMBC doesn't start automatically with nfs shared configured - mk01 - 25th Jan, 2014, 04:49 PM
RE: XMBC doesn't start automatically with nfs shared configured - teekay - 26th Jan, 2014, 07:05 AM
RE: XMBC doesn't start automatically with nfs shared configured - Lukeid - 28th Jan, 2014, 02:46 AM
RE: XMBC doesn't start automatically with nfs shared configured - mk01 - 3rd Feb, 2014, 12:13 PM
RE: XMBC doesn't start automatically with nfs shared configured - Lukeid - 13th Feb, 2014, 03:14 AM
RE: XMBC doesn't start automatically with nfs shared configured - teekay - 15th Feb, 2014, 07:33 PM
RE: XMBC doesn't start automatically with nfs shared configured - Lukeid - 24th Feb, 2014, 05:17 AM
RE: XMBC doesn't start automatically with nfs shared configured - mk01 - 24th Mar, 2014, 10:55 AM

Possibly Related Threads...
Thread: Author Replies Views: Last Post
  [PROBLEM] It does not start automatically in xbmc anakin 3 10,511 8th Apr, 2014 10:00 PM
Last Post: anakin
  Can't make ssh start automatically. kevin watt 8 26,968 21st Dec, 2013 07:33 AM
Last Post: mk01
  [Tutorial] Shared Library / Shared Sources brantje 20 78,017 12th Jul, 2013 07:36 AM
Last Post: rikardo1979
  Sickbeard doesn't start kas_27_es 1 8,295 3rd Feb, 2013 02:57 AM
Last Post: CurlyMo

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

Current time: 23rd May, 2025, 11:56 AM Powered By MyBB, © 2002-2025 MyBB Group.