Your message dated Tue, 26 Jun 2012 23:48:42 +0000
with message-id <[email protected]>
and subject line Bug#676593: fixed in parted 2.3-10
has caused the Debian Bug report #676593,
regarding parted: diff for NMU version 2.3-9.2
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.)
--
676593: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=676593
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: parted
Version: 2.3-9.1
Severity: normal
Tags: patch pending
Dear maintainer,
I've prepared an NMU for parted (versioned as 2.3-9.2) and
uploaded it to DELAYED/7. Please feel free to tell me if I
should delay it longer.
Regards.
diff -u parted-2.3/debian/changelog parted-2.3/debian/changelog
--- parted-2.3/debian/changelog
+++ parted-2.3/debian/changelog
@@ -1,3 +1,12 @@
+parted (2.3-9.2) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Add partition table re-read on hurd-i386 (Closes: #669936).
+ * Backport gnulib fix for set but not used variables (Closes: #676590).
+ * Update ABI symbol list (Closes: #676591).
+
+ -- Samuel Thibault <[email protected]> Fri, 08 Jun 2012 02:04:11 +0200
+
parted (2.3-9.1) unstable; urgency=low
* Non-maintainer upload.
diff -u parted-2.3/debian/patches/series parted-2.3/debian/patches/series
--- parted-2.3/debian/patches/series
+++ parted-2.3/debian/patches/series
@@ -26,3 +26,6 @@
+
kfreebsd_lvm.patch
hurd-partition-path.patch
non-registered-device.diff
+hurd-reread.patch
+gnulib.patch
diff -u parted-2.3/debian/patches/update-abi-symbols.patch
parted-2.3/debian/patches/update-abi-symbols.patch
--- parted-2.3/debian/patches/update-abi-symbols.patch
+++ parted-2.3/debian/patches/update-abi-symbols.patch
@@ -200,7 +200,7 @@
FUNC:ped_round_down_to
FUNC:ped_round_to_nearest
FUNC:ped_round_up_to
-@@ -406,45 +449,112 @@
+@@ -406,45 +449,116 @@
FUNC:ped_unit_parse
FUNC:ped_unit_parse_custom
FUNC:ped_unit_set_default
@@ -258,11 +258,15 @@
+FUNC:version_etc_ar
+FUNC:version_etc_arn
+FUNC:version_etc_va
++FUNC:x2nrealloc
+FUNC:x2realloc
+FUNC:xalloc_die
+FUNC:xcalloc
++FUNC:xcharalloc
+FUNC:xmalloc
+FUNC:xmemdup
++FUNC:xnmalloc
++FUNC:xnrealloc
+FUNC:xrealloc
+FUNC:xstrdup
+FUNC:xstrndup
only in patch2:
unchanged:
--- parted-2.3.orig/debian/patches/gnulib.patch
+++ parted-2.3/debian/patches/gnulib.patch
@@ -0,0 +1,22 @@
+--- a/lib/regex_internal.c.orig 2012-06-08 02:15:54.083227641 +0200
++++ b/lib/regex_internal.c 2012-06-08 02:20:44.364702306 +0200
+@@ -738,16 +738,18 @@
+ unsigned char buf[6];
+ size_t mbclen;
+
++ const unsigned char *pp = p;
+ if (BE (pstr->trans != NULL, 0))
+ {
+ int i = mlen < 6 ? mlen : 6;
+ while (--i >= 0)
+ buf[i] = pstr->trans[p[i]];
++ pp = buf;
+ }
+ /* XXX Don't use mbrtowc, we know which conversion
+ to use (UTF-8 -> UCS4). */
+ memset (&cur_state, 0, sizeof (cur_state));
+- mbclen = __mbrtowc (&wc2, (const char *) p, mlen,
++ mbclen = __mbrtowc (&wc2, (const char *) pp, mlen,
+ &cur_state);
+ if (raw + offset - p <= mbclen
+ && mbclen < (size_t) -2)
only in patch2:
unchanged:
--- parted-2.3.orig/debian/patches/hurd-reread.patch
+++ parted-2.3/debian/patches/hurd-reread.patch
@@ -0,0 +1,118 @@
+--- a/libparted/arch/gnu.c.original 2012-04-22 00:06:18.000000000 +0000
++++ b/libparted/arch/gnu.c 2012-04-22 02:34:58.000000000 +0000
+@@ -185,7 +185,7 @@
+ if (!dev->arch_specific)
+ goto error_free_path;
+
+- dev->type = PED_DEVICE_FILE; /* FIXME? */
++ dev->type = PED_DEVICE_UNKNOWN; /* It's deprecated anyway */
+ dev->open_count = 0;
+ dev->read_only = 0;
+ dev->external_mode = 0;
+@@ -204,11 +204,83 @@
+ return NULL;
+ }
+
+-static int
+-_kernel_reread_part_table (PedDevice* dev)
+-{
+- /* XXX: We must wait for partfs to be finished. */
+- return 1;
++/* Ask the kernel and translators to reload the partition table.
++ XXX: Will probably be replaced by some RPC to partfs when it's finished.
In
++ the meantime, gnumach's glue layer will pass BLKRRPART to the Linux
drivers.
++ */
++#define BLKRRPART 0x125F
++static int
++_reread_part_table (PedDevice* dev)
++{
++ struct store *store = GNU_SPECIFIC (dev)->store;
++ int retry_count = 9;
++ int len = strlen (dev->path);
++ char path[len + 3 + 1];
++ int i;
++ int done = 1;
++
++ sync ();
++
++ if(strcmp (store->class->name, "device") == 0) {
++ while (device_set_status (store->port, BLKRRPART, NULL, 0)) {
++ retry_count--;
++ sync ();
++ if (retry_count == 3)
++ sleep (1); /* Pause to allow system to settle */
++
++ if (!retry_count) {
++ ped_exception_throw (
++ PED_EXCEPTION_WARNING,
++ PED_EXCEPTION_IGNORE,
++ _("WARNING: the kernel failed to re-read the "
++ "partition table on %s (%s). As a result, "
++ "it may not reflect all of your changes "
++ "until after reboot."),
++ dev->path, strerror (errno));
++ return 0;
++ }
++ }
++ }
++
++ i = 1;
++ while (1) {
++ file_t node;
++ error_t err;
++
++ /* Throw away all active parted-based translators */
++ snprintf (path, sizeof (path), "%ss%u", dev->path, i);
++ node = file_name_lookup (path, O_NOTRANS, 0666);
++ if (node == MACH_PORT_NULL) {
++ if (errno == ENOENT)
++ /* Finished looping over them */
++ break;
++
++ ped_exception_throw (
++ PED_EXCEPTION_WARNING,
++ PED_EXCEPTION_IGNORE,
++ _("Warning: unable to open %s (%s). As a "
++ "result, it may not reflect all of your "
++ "changes until after reboot."),
++ path, strerror (errno));
++ done = 0;
++ }
++
++ err = file_set_translator (node, 0, FS_TRANS_SET,
++ 0, 0, 0, MACH_PORT_NULL, MACH_MSG_TYPE_COPY_SEND);
++ if (err) {
++ ped_exception_throw (
++ PED_EXCEPTION_WARNING,
++ PED_EXCEPTION_IGNORE,
++ _("Warning: failed to make translator go away "
++ "on %s (%s). As a result, it may not reflect "
++ "all of your changes until after reboot."),
++ dev->path, strerror (errno));
++ done = 0;
++ }
++ i++;
++ }
++
++ return done;
+ }
+
+ /* Free the memory associated with a PedDevice structure. */
+@@ -355,7 +427,7 @@
+ _flush_cache (dev);
+
+ if (dev->dirty && dev->type != PED_DEVICE_FILE) {
+- if (_kernel_reread_part_table (dev))
++ if (_reread_part_table (dev))
+ dev->dirty = 0;
+ }
+
+@@ -858,7 +930,7 @@
+ static int
+ gnu_disk_commit (PedDisk* disk)
+ {
+- return 1;
++ return _reread_part_table (disk->dev);
+ }
+
+ static PedDeviceArchOps gnu_dev_ops = {
--- End Message ---
--- Begin Message ---
Source: parted
Source-Version: 2.3-10
We believe that the bug you reported is fixed in the latest version of
parted, which is due to be installed in the Debian FTP archive:
libparted0-dev_2.3-10_i386.deb
to main/p/parted/libparted0-dev_2.3-10_i386.deb
libparted0-i18n_2.3-10_all.deb
to main/p/parted/libparted0-i18n_2.3-10_all.deb
libparted0-udeb_2.3-10_i386.udeb
to main/p/parted/libparted0-udeb_2.3-10_i386.udeb
libparted0_2.3-10_i386.deb
to main/p/parted/libparted0_2.3-10_i386.deb
libparted0debian1-dbg_2.3-10_i386.deb
to main/p/parted/libparted0debian1-dbg_2.3-10_i386.deb
libparted0debian1_2.3-10_i386.deb
to main/p/parted/libparted0debian1_2.3-10_i386.deb
parted-doc_2.3-10_all.deb
to main/p/parted/parted-doc_2.3-10_all.deb
parted-udeb_2.3-10_i386.udeb
to main/p/parted/parted-udeb_2.3-10_i386.udeb
parted_2.3-10.diff.gz
to main/p/parted/parted_2.3-10.diff.gz
parted_2.3-10.dsc
to main/p/parted/parted_2.3-10.dsc
parted_2.3-10_i386.deb
to main/p/parted/parted_2.3-10_i386.deb
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.
Colin Watson <[email protected]> (supplier of updated parted 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: SHA256
Format: 1.8
Date: Wed, 27 Jun 2012 00:01:04 +0100
Source: parted
Binary: parted parted-udeb libparted0 libparted0debian1 libparted0-udeb
libparted0-i18n libparted0-dev libparted0debian1-dbg parted-doc
Architecture: source i386 all
Version: 2.3-10
Distribution: unstable
Urgency: low
Maintainer: Parted Maintainer Team <[email protected]>
Changed-By: Colin Watson <[email protected]>
Description:
libparted0 - disk partition manipulator - dummy package
libparted0-dev - disk partition manipulator - development files
libparted0-i18n - disk partition manipulator - i18n support
libparted0-udeb - disk partition manipulator - library udeb (udeb)
libparted0debian1 - disk partition manipulator - shared library
libparted0debian1-dbg - disk partition manipulator - debugging symbols
parted - disk partition manipulator
parted-doc - disk partition manipulator - documentation
parted-udeb - Manually partition a hard drive (parted) (udeb)
Closes: 676593 677756 678788
Changes:
parted (2.3-10) unstable; urgency=low
.
* Acknowledge NMUs with thanks (closes: #676593).
* Back out non-registered-device.diff, which had already been applied
upstream in 2.3.
* Rearrange patch ordering slightly.
* Update debian/watch for upstream switch to .tar.xz.
* Use dpkg-buildflags to enable hardening options.
* Build with V=1 so that tools such as blhc can scan more effectively for
missing build flags.
* Remove Sven Luther from Uploaders with thanks for his past contributions
(closes: #677756).
* Revert ABI symbols change from 2.3-9.2, since whatever prompted that
change seems to have changed back (closes: #678788).
Checksums-Sha1:
e55a2aa8bf41865243b7e591724d5e5fbf4762d3 2704 parted_2.3-10.dsc
b42f95ae0273234f37a8918125ead89f5d41bb14 84049 parted_2.3-10.diff.gz
27705eac924db18eb15391fb906abd9254cf0531 158372 parted_2.3-10_i386.deb
55660a94191880560dd9fcf3b89b2ada593a533f 26370 parted-udeb_2.3-10_i386.udeb
4d552fe00586d25d1bc9ec22f78e5cb3a0954b9a 113436 libparted0_2.3-10_i386.deb
f57570eaf63896d22039ce28bd6331313b56dd16 329280
libparted0debian1_2.3-10_i386.deb
24de1041e7c24574ba37d46539caafb2e2098cc0 155126
libparted0-udeb_2.3-10_i386.udeb
a190ee71a6dcad0784e965a4909b5c33129b1467 401502 libparted0-dev_2.3-10_i386.deb
2e9cc67a812524d6be1a9ae91bec8c9f72b7f62c 1162078
libparted0debian1-dbg_2.3-10_i386.deb
05c4fe61b0c23282d68741baa4f44d78f92656c5 579676 libparted0-i18n_2.3-10_all.deb
6c3b24f1b145565c1443362938a0dd52568fb2dd 185304 parted-doc_2.3-10_all.deb
Checksums-Sha256:
8b408f58f30b424caf7a2379762a9680b6340f1cdb77c603bf32104338cede7e 2704
parted_2.3-10.dsc
066eb6035b0c2484782a965c931f0d1c9daf967a5c19a46d4b2573d9772d29e4 84049
parted_2.3-10.diff.gz
5f3c6514905556ff3b656b178cfcbc8589a3bdbdc093175cb3dc3f1af4fd4a97 158372
parted_2.3-10_i386.deb
f0982a32a68a6112a8f49bc803a4bf3b7bd0caa283fec52d7f328b6f61e42d0c 26370
parted-udeb_2.3-10_i386.udeb
d7db274e71c4993d115670adc6e4af8cf9b944d106cd9cc0d92eb07c03ff51fc 113436
libparted0_2.3-10_i386.deb
b5f2b1a91e38bf3ca1c8bf547641cb579ac9dd13185c30190bb250676ec81c78 329280
libparted0debian1_2.3-10_i386.deb
6b9d75f75788069ce4e9a28f691498bf023b5bcb6f37b8ae6528978cf9e83819 155126
libparted0-udeb_2.3-10_i386.udeb
9047234fe105523a2901e3aa658008f83df46f79ca481022d2a840213081f4bc 401502
libparted0-dev_2.3-10_i386.deb
8fd7bfd46fa138c605d5c57e06d01da689ddf881c08659262a2ed0055eb9162b 1162078
libparted0debian1-dbg_2.3-10_i386.deb
2dfa64d277b6a8a12082e018ae3292e414935cdc34f23ff2fff06cb15284212a 579676
libparted0-i18n_2.3-10_all.deb
b164476bdf6153439ef8feff9c254b697d8d1b70a6392f9e7fa16c9438f2ad99 185304
parted-doc_2.3-10_all.deb
Files:
1fdcd7bee356faa17bf5ddc6798ae9c9 2704 admin optional parted_2.3-10.dsc
497df7d6f9af383f3b772007b0fc753d 84049 admin optional parted_2.3-10.diff.gz
b3744a2dde415110e75e3b8fb09df289 158372 admin optional parted_2.3-10_i386.deb
6f2b86909774453eae930d30d898bc4e 26370 debian-installer extra
parted-udeb_2.3-10_i386.udeb
b2b22556bf8dcfc9ae693539b3331360 113436 libs extra libparted0_2.3-10_i386.deb
25bbb8d6af6f686e1edfd15ad20fc8af 329280 libs optional
libparted0debian1_2.3-10_i386.deb
98aba688220dd819f7c973a8600880d2 155126 debian-installer extra
libparted0-udeb_2.3-10_i386.udeb
676ec2e4b011a2ea7e6216eadacfcdbe 401502 libdevel optional
libparted0-dev_2.3-10_i386.deb
ef6d73dce6c9b42ea37501535564dac0 1162078 debug extra
libparted0debian1-dbg_2.3-10_i386.deb
8c0a26a3737a13a773cf9356aa0f4114 579676 localization optional
libparted0-i18n_2.3-10_all.deb
228b0cd48627840f3ff45c28d2bf1069 185304 doc optional parted-doc_2.3-10_all.deb
Package-Type: udeb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Colin Watson <[email protected]> -- Debian developer
iQIVAwUBT+pGKDk1h9l9hlALAQhtlQ/8DZ7G95N8cwzwJvBp7j8PPbNy9VpiA1SF
79hf+54outE7OeU56SpG4Jf2tsLulBT5IuZetcS+Ih3uJrnmh0c9zYOfCwDnW80W
XypTz7WTqRgCTDqXtsFukVgMsX1vbo4YJIk4J8QKK27o9ZQzVgOxTy1eWPfRPwb9
eN6BSEd/MFS0F3RB36CIsm0d8bG6WcR7KgABeB46wf0CfXlgC+vZ2Sp/kslGL8h8
XGdaYzvHl97Cd5dsfG36zqlbij/MKHKm5tADh7wVXUiPAUO7sY2wfIcVLxiCB9zM
O7mhsZmTLczYz6iUGtUT451/l/+mY8ED1UpgQP4hCHudfwVKZ7HGzMHTfSKuUKgO
v6MBUNuQSJFqCsAvShQ5w/z5yLJlGU60P7r6lGr6fHMI++60cFO6QS2U6bqjwFg+
oB7u06DSONmkpfTrNErrRoaYrrYLApZmxYmXmC5WvMGjlv/4JsV8ki4MRm6K6d7n
yhkl7+z/Nzcfy8XRA76FAg3470J61SveY131jgiyD0HN6kTTmC4rojsTrbs95Uoi
Vac7mdSloCxPu3L8SsZuUg/jPMYZicETDVbcTVCjjAqulsZDnNxH0j+SyR3bgRL+
+8L1zujNfmPQKmKTJ9Sjd1ClzwIAHEQsdPvNo7Y87vSlaOiYdJpARGK48mxy3L06
exCNvIzljsI=
=DRSD
-----END PGP SIGNATURE-----
--- End Message ---