[Bug 806884] Re: mountall hangs when fstab contains aufs entries
Steve Langasek
steve.langasek at canonical.com
Sun May 20 03:34:16 UTC 2012
> 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)
** Changed in: mountall (Ubuntu)
Importance: Undecided => Wishlist
** Changed in: mountall (Ubuntu)
Status: New => Triaged
** Summary changed:
- mountall hangs when fstab contains aufs entries
+ mountall hangs when fstab contains aufs entries because device='none', paths specified in options
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to mountall in Ubuntu.
https://bugs.launchpad.net/bugs/806884
Title:
mountall hangs when fstab contains aufs entries because device='none',
paths specified in options
Status in “mountall” package in Ubuntu:
Triaged
Bug description:
Hi,
for a webdav application I need apache with dav and a aufs mounted
directory. Therefore I have an entry
none /var/www/dav/Public aufs
br:/mnt/local/archiv/Public_dav:/mnt/local/archiv/Public 0 0
in my fstab, which works when using mount from the command line. But
it keeps the system from booting, not even the Singe-Use-Mode shell is
available anymore. System hangs within mountall. The last thing to be
seen is that mountall reports that mounting this entry fails.
I guess that at this time the other partitions are not yet mounted and
thus the directories needed for this to work do not yet exist.
So mountall is a) not able to mount regular and correct entries in
fstab and b) completely locks the machine even from admin access if
so.
Even worse, that damned ubuntu startup system does not allow to add local scripts to be run between mounting regular disks and starting an apache. Really broken.
regards
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: mountall 2.15
ProcVersionSignature: Ubuntu 2.6.32-24.39-server 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-server x86_64
Architecture: amd64
Date: Thu Jul 7 11:39:22 2011
InstallationMedia: Ubuntu-Server 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.2)
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/tcsh
SourcePackage: mountall
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/806884/+subscriptions
More information about the foundations-bugs
mailing list