something leaves /var/lib/ureadahead/debugfs line in /etc/mtab

Bug #736512 reported by Kees Cook
This bug affects 4 people
Affects Status Importance Assigned to Milestone
mountall (Ubuntu)
Kees Cook
Kees Cook

Bug Description

Binary package hint: ureadahead

On several of my systems (including Lucid, Maverick, and Natty), I find that /var/lib/ureadahead/debugfs is always mounted after boot.

In looking at the ureadahead source, it seems like it intends to unmount it when it is finished, so this is a bug. In looking at the upstart configurations, it seems that ureadahead is started multiple times, once for every mount point. It didn't look like the tracing code supported multiple instances running at the same time, though. Perhaps they are racing each other?

Related branches

Revision history for this message
Kees Cook (kees) wrote :

Ah, no, something else is going on. This is a left over in /etc/mtab. /proc/mounts does not show it:

$ mount | grep debug
none on /sys/kernel/debug type debugfs (rw)
none on /var/lib/ureadahead/debugfs type debugfs (rw,relatime)
$ grep debug /proc/mounts
none /sys/kernel/debug debugfs rw,relatime 0 0

Kees Cook (kees)
summary: - leaves /var/lib/ureadahead/debugfs mounted
+ something leaves /var/lib/ureadahead/debugfs line in /etc/mtab
Kees Cook (kees)
affects: ureadahead (Ubuntu) → mountall (Ubuntu)
Changed in mountall (Ubuntu):
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Kees Cook (kees)
Changed in mountall (Ubuntu Natty):
milestone: none → ubuntu-11.04-beta-1
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mountall - 2.25

mountall (2.25) natty; urgency=low

  * src/mountall.c: ignore ureadahead's potential mount of
    /var/lib/ureadahead/debugfs (LP: #736512).
 -- Kees Cook <email address hidden> Sat, 19 Mar 2011 16:46:02 -0700

Changed in mountall (Ubuntu Natty):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers