Replacing the UUID in the fstab with the "real" devicename รก la
/dev/sda2 fixes this problem for me, too.

The swapon command is called twice during the boot process. Once in
checkroot.sh and once in mountall.sh, the latter because:

        # Execute swapon command again, in case we want to swap to
        # a file on a now mounted filesystem.

This shouldn't be a problem, because swapon -a normally ignores
partitions that are already activated.

The following is my speculation: I think for some reason the /dev
/mapper-devices aren't present at the time of the first swapon, so the
regular device belonging to the UUID get's activated. When swapon gets
executed the second time, the /dev/mapper-device is present and is going
to be used, when the translation UUID->device is performed. As the /dev
/mapper-device isn't in the swap -list yet, it's going to get activated
although the underlying partition is already running under a different
name.

-- 
2 swap partitions each mounted twice in 2.6.20-8
https://bugs.launchpad.net/bugs/86234
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to