Comment 2 for bug 806884

Revision history for this message
Steve Langasek (vorlon) wrote : Re: mountall hangs when fstab contains aufs entries

> none /var/www/dav/Public aufs br:/mnt/local/archiv/Public_dav:/mnt/local/archiv/Public 0 0

Yes, the problem here is that the information about the preconditions for mounting this filesystem entry are encoded in the options field using a filesystem-specific syntax. mountall doesn't (and shouldn't) know anything about this, so doesn't have enough information to mount this at the correct time.

Does aufs support a value other than 'none' for the first field? even if it ignored it, if this pointed to a file path we could then use the same handling for aufs as for bind mounts. (Bind mounts are currently *also* broken - bug #524972 - but then we could at least kill two birds with one stone.)

As far as this breaking the boot and giving you no option to insert your own local script: you can mark the filesystem 'noauto' in /etc/fstab, and add an upstart job like this:

start on mounted MOUNTPOINT=/mnt/local/archiv
exec mount /var/www/dav/Public

(or whatever the correct value for MOUNTPOINT is on your system)