Your message dated Wed, 04 Feb 2009 02:47:05 +0000
with message-id <[email protected]>
and subject line Bug#504747: fixed in gnu-fdisk 1.2-1
has caused the Debian Bug report #504747,
regarding gnu-fdisk: wipes out MBR when used on GPT partitions
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 [email protected]
immediately.)


-- 
504747: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504747
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gnu-fdisk
Version: 1.0-3+b1
Severity: grave
Justification: causes non-serious data loss

gnu-fdisk wipes out the Code Area in the MBR of a given device when modifying a 
GPT partition. If this happens to be the boot device, this can cause serious 
trouble.

The behaviour can be easily verified with dd and hexdump.



Create a blockdevice with a gpt label, then write data to the code area, e.g.:

dd if=/dev/urandom of=/dev/sdc bs=440 count=1

and verify that it's there:

dd if=/dev/sdc bs=512 count=1 | hexdump -C -v

Then get fdisk to rewrite the partition table (starting and immediately 
(re)writing the partition table works); a verification with dd/hexdump should 
show an empty Code Area.

The free encyclopedia has a nice layout of the MBR, for verification: 
http://en.wikipedia.org/wiki/Master_boot_record


best regards,
Michael


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gnu-fdisk depends on:
ii  libc6            2.7-15                  GNU C Library: Shared libraries
ii  libncurses5      5.6+20080830-1          shared libraries for terminal hand
ii  libparted1.8-10  1.8.8.git.2008.03.24-11 The GNU Parted disk partitioning s
ii  libuuid1         1.41.2-1                universally unique id library

gnu-fdisk recommends no packages.

gnu-fdisk suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: gnu-fdisk
Source-Version: 1.2-1

We believe that the bug you reported is fixed in the latest version of
gnu-fdisk, which is due to be installed in the Debian FTP archive:

gnu-fdisk_1.2-1.diff.gz
  to pool/main/g/gnu-fdisk/gnu-fdisk_1.2-1.diff.gz
gnu-fdisk_1.2-1.dsc
  to pool/main/g/gnu-fdisk/gnu-fdisk_1.2-1.dsc
gnu-fdisk_1.2-1_i386.deb
  to pool/main/g/gnu-fdisk/gnu-fdisk_1.2-1_i386.deb
gnu-fdisk_1.2.orig.tar.gz
  to pool/main/g/gnu-fdisk/gnu-fdisk_1.2.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Xavier Oswald <[email protected]> (supplier of updated gnu-fdisk package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 23 Dec 2008 20:42:51 +0100
Source: gnu-fdisk
Binary: gnu-fdisk
Architecture: source i386
Version: 1.2-1
Distribution: unstable
Urgency: high
Maintainer: Parted Maintainer Team <[email protected]>
Changed-By: Xavier Oswald <[email protected]>
Description: 
 gnu-fdisk  - Linux fdisk replacement based on libparted
Closes: 445304 463720 504747 512751
Changes: 
 gnu-fdisk (1.2-1) unstable; urgency=high
 .
   * New upstream release (Closes: #512751)
   * Fix inoperability for disks with unknown disklabel (Closes: #445304)
   * Fix wipes out MBR when used on GPT partitions(Closes: #504747)
   * Fix Segmentation fault (Closes: #463720)
   * Add Build-Depends on texinfo in debian/control
   * Rename debian/patches/pointer to debian/patches/pointer.patch
   * Add debian/pateches/mkinstalldirs.patch for adding the missing
     mkinstalldirs command
   * Update copyright about licences location
   * Remove leftover .pc/.version
Checksums-Sha1: 
 7c6ad4ccf78cfeef418ab8e1d5d3c98ede30b4d3 1208 gnu-fdisk_1.2-1.dsc
 67281e6bc4c12a7553982306d38775a22fded1ae 419344 gnu-fdisk_1.2.orig.tar.gz
 752676e71fba866d933c39ae3513202d5e5396ca 357865 gnu-fdisk_1.2-1.diff.gz
 802e8f96f692eee6e99ab9a8160b75e60c5f01cc 109556 gnu-fdisk_1.2-1_i386.deb
Checksums-Sha256: 
 ed4d0c81f9598529564e65ad9578aabb56445d79e1182fbee5d6f059d70546f8 1208 
gnu-fdisk_1.2-1.dsc
 1edef1730243cd40b8cd93e8a561c5056cec62f17c3f7e17b23600aae45d7ebd 419344 
gnu-fdisk_1.2.orig.tar.gz
 642f97acb794e61e7e8cfb5794e2011a23f8f0888158cb53c946f4237017a3af 357865 
gnu-fdisk_1.2-1.diff.gz
 34c7cf3f5142ada3d3e1a5aff331c5bbf65d09256b21515ee0b52cbc30f6f9c8 109556 
gnu-fdisk_1.2-1_i386.deb
Files: 
 55e1b7bdb9bb12e7e4d9a970c557319d 1208 utils extra gnu-fdisk_1.2-1.dsc
 afbbdbe2693e72f5a8d00209d515a838 419344 utils extra gnu-fdisk_1.2.orig.tar.gz
 6e8ef4f1b8f258a6b9d9f79f62a22444 357865 utils extra gnu-fdisk_1.2-1.diff.gz
 c6529dea0ac62a2c5230bf0d36a33ddd 109556 utils extra gnu-fdisk_1.2-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkmI/iYACgkQpDDGqoi7tR4FmwCgsXX1judDRYYHtY9I2l05XGDZ
iQ8AoI0desqm6pdVzbKIkbasVf3KZxOC
=u5Md
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to