Public bug reported: Binary package hint: parted
ubuntu-vm-builder (and the next generation VMBuilder) fails with the new parted for two reasons. This bug is about the first. The vm builder creates a disk image in a temporary directory, and then uses parted to add a partition table (and partitions further on) to the disk image (parted --script disk.img mklabel msdos). This commonly takes place in a tmpfs. However, with the new parted, this fails because open(2) tries to use O_DIRECT to which tmpfs responds with EINVAL. I'm not entirely sure why the O_DIRECT flag was added to begin with (it wasn't there in the parted version we shipped up until hardy), but according to the open(2) man page, EINVAL is only returned if the filesystem doesn't implement it, so perhaps if it could back to not use O_DIRECT if this is returned? ** Affects: parted (Ubuntu) Importance: Undecided Status: New -- parted fails on disk images due to O_DIRECT https://bugs.launchpad.net/bugs/252684 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs