I have the following Upstart script saved as /etc/init/automount.conf
:
description "SOME DESCRIPTION"
start on startup
task
exec mount -t vboxsf WebApps -o rw,dmode=777,gid=GROUP_ID,uid=USER_ID /var/virtual/some_folder_name
where GROUP_ID and USER_ID is some number I took from /etc/passwd
Previously before I upgraded my ubuntu from 12.10 to 14.04, this was working. After I upgraded it, I also upgraded the virtual box from 4.3.8 to 4.3.10. Subsequently, I think there was an issue with 4.3.10. So I downgraded the virtual box back to 4.3.8.
Now everything is working with the shared folders. Unfortunately, this script is not executed, I believe. The reason is because, the mount is not happening on start up.
I can still execute the command without any problem whatsoever. Why isn't Upstart able to run this any more? How can I tell what the problem is?