[SOLVED] XMBC doesn't start automatically with nfs shared configured
|
Solved: XMBC doesn't start automatically with nfs shared configured
|
|
23rd Jan, 2014, 02:56 AM
Post: #1
|
|||
|
|||
|
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 0After 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 dbusBut 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... ![]() Best regards |
|||
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads... | |||||
| Thread: | Author | Replies | Views: | Last Post | |
| [PROBLEM] It does not start automatically in xbmc | anakin | 3 | 11,260 |
8th Apr, 2014 10:00 PM Last Post: anakin |
|
| Can't make ssh start automatically. | kevin watt | 8 | 28,527 |
21st Dec, 2013 07:33 AM Last Post: mk01 |
|
| [Tutorial] Shared Library / Shared Sources | brantje | 20 | 82,233 |
12th Jul, 2013 07:36 AM Last Post: rikardo1979 |
|
| Sickbeard doesn't start | kas_27_es | 1 | 8,809 |
3rd Feb, 2013 02:57 AM Last Post: CurlyMo |
|