BindFS no longer automounts my folder in Saucy

Asked by Aaron Whitehouse

I used BindFS in Raring to share a folder with a local user, following:
https://help.ubuntu.com/community/Bindfs-SharedDirectoryLocalUsers
I was using "Method 2 - Upstart" and it always worked fine.

I have /etc/init/mount-bindfs.conf:
# Remount directories with bindfs
  #
  # Temporary workaround until BUG 503003 is fixed
  #
  description "Remount directories with different permissions"
  start on stopped mountall
  script
    bindfs -o perms=0700,mirror-only=aaron:lucy /home/shared /home/shared
  end script

But it no longer mounts that folder on boot.

If I type:
sudo initctl start mount-bindfs
It all works perfectly again.

It feels like this must be a very simple fix. Does "mountall" no longer happen at boot and need to be changed to something else, or something? If so, we should probably update the help documentation as well.

Any thoughts welcome!

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu bindfs Edit question
Assignee:
No assignee Edit question
Solved by:
Aaron Whitehouse
Solved:
Last query:
Last reply:
Revision history for this message
Aaron Whitehouse (aaron-whitehouse) said :
#1

Or is the answer that I should be using Method 1 now that Bug 503003 is apparently fixed?

Revision history for this message
Aaron Whitehouse (aaron-whitehouse) said :
#2

(Though either way we should probably update the help documentation.)

Revision history for this message
daniel CURTIS (anoda) said :
#3

Hi Aaron. Or - if mentioned 'initctl' command work okay - you could try to put this command in a /etc/rc.local file? It is a script, which is executed at the end of each multiuser runlevel. Personally I'm using this method to achieve three simple tasks (as a matter of fact: three simple commands).

But please remember, that it is only a one of the suggestion. Maybe there is a better solution to this problem?

Best regards.

Revision history for this message
Aaron Whitehouse (aaron-whitehouse) said :
#4

I switched to using Method 1 (fstab) and it is all working well. I don't know why the Upstart method stopped working, but I'm happy!

I'll update the help.