On Sat, Sep 08, 2012 at 09:46:59PM -0000, a7x wrote:
> /var/log/udev attached

Thanks.  So this is an interaction with this section of the mountall
code:

        /* devmapper, md, loop and ram devices must be "ready" before
         * we'll try them - as must any device we found without udev.
         */
        if ((! action)
            || (! strncmp (kernel, "dm-", 3))
            || (! strncmp (kernel, "md", 2))
            || (! strncmp (kernel, "loop", 4))
            || (! strncmp (kernel, "ram", 3))) {
                if ((! usage) && (! type) && (! uuid) && (! label)) {
                        if (action)
                                nih_debug ("ignored %s (not yet ready?)", 
devname);
                        return;
                }
        }

Combined with the fact that blkid can't tell what the device is, this
results in ID_FS_* variables being unset by udev and mountall refusing to
act on the device because it can't tell that the device is ready.

I'm not sure it's at all possible for us to address this in mountall safely
(i.e., without breaking other cases).  And since blkid knows the disk usage
is ambiguous, blkid doesn't seem to be doing anything wrong here either. 
The only actionable bug here seems to be the mkswap one.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
[email protected]                                     [email protected]

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1047659

Title:
  mountall fails to activate swap if device contains multiple filesystem
  signatures

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/1047659/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to