Comment 12 for bug 499773

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote : Re: Race with mountall can mean that /var/lib/ureadahead/debugfs appears in /etc/mtab

I think what's happening here is that ureadahead mounts /var/lib/ureadahead/debugfs so that it can work before the actual /sys/kernel/debug path is mounted. mountall is running, and sees that debugfs gets mounted at the new path, and records it to be added to /etc/mtab when the root filesystem is mounted.

Now mountall doesn't record unmounts, so never "forgets" this path when it's unmounted. I think that's actually the bug here; mountall should forget about the mount, and if necessary remove it from mtab.