Marvin Renich
2013-Jan-04 22:13 UTC
[Pkg-xen-devel] Bug#697409: xen-utils-4.1: pygrub does not correctly distinguish between "disk with partitions" and "partition"
Package: xen-utils-4.1 Version: 4.1.3-7 Severity: normal The function is_disk_image in /usr/lib/xen-4.1/bin/pygrub at line 45 distinguishes a partitioned disk from a partition by looking for 0xaa55 at offset 0x1fe in the image, but this is the bootsector signature, not the partition table signature. extlinux and other bootloaders put this signature there on bootable partitions (which don't have partition tables). A better heuristic, though still very fallible, would be to check if all four pairs of [start-sector, sector-count] entries were either [0,0] or reasonable for the size of the file (if the file size can be determined), and that at least one pair is not [0,0]. ...Marvin -- System Information: Debian Release: 7.0 APT prefers testing APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages xen-utils-4.1 depends on: ii e2fslibs 1.42.5-1 ii libc6 2.13-37 ii libgnutls26 2.12.20-2 ii libncurses5 5.9-10 ii libpci3 1:3.1.9-6 ii libtinfo5 5.9-10 ii libuuid1 2.20.1-5.3 ii libxen-4.1 4.1.3-7 ii libxenstore3.0 4.1.3-7 ii python 2.7.3~rc2-1 ii python2.7 2.7.3~rc2-2.1 ii xen-utils-common 4.1.3-7 ii zlib1g 1:1.2.7.dfsg-13 Versions of packages xen-utils-4.1 recommends: ii bridge-utils 1.5-6 ii qemu-keymaps 1.1.2+dfsg-3 ii qemu-utils 1.1.2+dfsg-3 ii xen-hypervisor-4.1-amd64 [xen-hypervisor-4.1] 4.1.3-7 Versions of packages xen-utils-4.1 suggests: ii xen-docs-4.1 4.1.3-7 -- no debconf information
Debian Bug Tracking System
2014-Aug-10 12:03 UTC
[Pkg-xen-devel] Bug#697409: marked as done (xen-utils-4.1: pygrub does not correctly distinguish between "disk with partitions" and "partition")
Your message dated Sun, 10 Aug 2014 12:00:17 +0000 with message-id <E1XGRnN-0007aa-4M at franck.debian.org> and subject line Bug#697407: fixed in xen 4.4.0-1 has caused the Debian Bug report #697407, regarding xen-utils-4.1: pygrub does not correctly distinguish between "disk with partitions" and "partition" to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner at bugs.debian.org immediately.) -- 697407: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=697407 Debian Bug Tracking System Contact owner at bugs.debian.org with problems -------------- next part -------------- An embedded message was scrubbed... From: Marvin Renich <mrvn at renich.org> Subject: xen-utils-4.1: pygrub does not correctly distinguish between "disk with partitions" and "partition" Date: Fri, 04 Jan 2013 17:13:08 -0500 Size: 3747 URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20140810/eb3251ff/attachment-0002.mht> -------------- next part -------------- An embedded message was scrubbed... From: Bastian Blank <waldi at debian.org> Subject: Bug#697407: fixed in xen 4.4.0-1 Date: Sun, 10 Aug 2014 12:00:17 +0000 Size: 9103 URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20140810/eb3251ff/attachment-0003.mht>
Maybe Matching Threads
- Bug#697412: xen-utils-4.1: pygrub does not recognize the include statement in extlinux.conf
- Bug#697417: xen-utils-4.1: pygrub is unable to parse default Debian grub.cfg
- Bug#697407: xen-utils-4.1: pygrub doesn't find extlinux.conf in default Debian location
- Bug#745419: Bug#745419: xen-utils-4.1: Pygrub fails to boot from LVM LV when something installed in the volume boot record
- Processed: merging 697407 697409 697412 697417, reassign 697407 to src:xen