Your message dated Tue, 24 Apr 2018 11:19:43 +0000
with message-id <e1favz5-000eq6...@fasolo.debian.org>
and subject line Bug#895602: fixed in ganeti-os-noop 0.2-2
has caused the Debian Bug report #895602,
regarding ganeti-os-noop - export fails with non block device
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 ow...@bugs.debian.org
immediately.)


-- 
895602: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895602
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: ganeti-os-noop
Version: 0.2-1
Severity: grave

The export script tries to use blockdev to check for the size.  This
works fine for block devices, but completely fails for everything else.
As this script also ignores the error, the export fails with a
completely non-discriptive output.

| 2018-04-13 09:40:12,803: blockdev: ioctl error on BLKGETSIZE64: Inappropriate 
ioctl for device
| 2018-04-13 09:40:12,805: dd: 0 bytes copied, 0.00124913 s, 0.0 kB/s

The fix is to use "stat" in case of non block devices:
| if test -n "$EXP_SIZE_FD"; then
|   if [ -f "$EXPORT_DEVICE" ]; then
|     stat -c '%s' "$EXPORT_DEVICE" >&"$EXP_SIZE_FD"
|   else
|     blockdev --getsize64 "$EXPORT_DEVICE" >&"$EXP_SIZE_FD"
|   fi
| fi

Please fix this in stable also.

Regards,
Bastian

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.15.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

--- End Message ---
--- Begin Message ---
Source: ganeti-os-noop
Source-Version: 0.2-2

We believe that the bug you reported is fixed in the latest version of
ganeti-os-noop, which is due to be installed in the Debian FTP archive.

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 895...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mike Gabriel <sunwea...@debian.org> (supplier of updated ganeti-os-noop 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 24 Apr 2018 12:43:10 +0200
Source: ganeti-os-noop
Binary: ganeti-os-noop
Architecture: source
Version: 0.2-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Ganeti Team <pkg-ganeti-de...@lists.alioth.debian.org>
Changed-By: Mike Gabriel <sunwea...@debian.org>
Description:
 ganeti-os-noop - Dummy no-op OS provider for Ganeti
Closes: 895602
Changes:
 ganeti-os-noop (0.2-2) unstable; urgency=medium
 .
   * debian/patches:
     + Add 1001_fix-export-script-for-non-block-devices.patch. Fix size
       detection for non-block devices. Thanks to Bastian Blank for
       providing the patch. (Closes: #895602).
   * debian/control:
     + Bump Standards-Version: to 4.1.4.
     + Priority extra -> optional.
   * debian/copyright:
     + Use secure copyright URI for copyright format reference.
   * debian/{control,compat}:
     + Bump to DH compat level 10. (CDBS does not yet support compat level 11,
       unfortunately).
Checksums-Sha1:
 0fe7525a278f82a671e8dffa626c12aad602a75d 2048 ganeti-os-noop_0.2-2.dsc
 0597bc69f9a7769de8eefea918306f8d68e03334 2708 
ganeti-os-noop_0.2-2.debian.tar.xz
 85cce6fea3fa13bf3f0cbbb5cf2c5f19da4bd0f5 6161 
ganeti-os-noop_0.2-2_source.buildinfo
Checksums-Sha256:
 d399158b5a5e6e2efa022b3c06517a936d6c80cc820a05f785db05c6cd1ed61a 2048 
ganeti-os-noop_0.2-2.dsc
 541e77df6da510a05d096de5514b633d2a65a45cc7e3adfaf1b0e1ccf4eddf71 2708 
ganeti-os-noop_0.2-2.debian.tar.xz
 fecadf2b6168c3d87fce850b8a7c98061be17c5913bb4f4cfb6eeb09639241e2 6161 
ganeti-os-noop_0.2-2_source.buildinfo
Files:
 4efee98ffbb2540536277a3bd769a344 2048 admin optional ganeti-os-noop_0.2-2.dsc
 7c84fe4a963c3456bf902ebccc748c0b 2708 admin optional 
ganeti-os-noop_0.2-2.debian.tar.xz
 2ddaa7cbe0b49da354db61b366ae1139 6161 admin optional 
ganeti-os-noop_0.2-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJJBAEBCAAzFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAlrfDQIVHHN1bndlYXZl
ckBkZWJpYW4ub3JnAAoJEJr0azAldxsx568P/imcRSqE0AdwuOlbx48KGTFeAVaC
49X3Rq4qbBEbYZx6yDkJN0+g1L1WkXo0IxxYwG6OGpL1AK3b0/1h7SXQXYn73AP5
1giOoPkfQAihVMsra9EI0YXmzqMU86OgE9auCY8RMaArKqtxTfFGF47CPFS+FgKN
7DE/AyQztnDeb4I//nWqW09q8DoY8PC5QuViV++F6rNAsUL3URDIZ3gFttVN/xo+
Vpfzgq98UUppATkegHqRse7l7TCYYpCeVzDkkxB8jACjAhlkE4viqKpncq0qNXbh
VuklaVTeB1U7FcN5g/77qtBZqqko6omXVxGApdop/+qsXvPtv8OYnGJpaNFWQ7Fa
i9Okm0AW4+HVOlgiiwBqBNpExKwmUGpiWOsKJ+K53Oe0IMFQV1XrLA76/g7345KJ
LmB9SI/sLXaCgBPwLIDOdNrpswMXBgk72/j8lRwEnFVwPuUmrzvCV5SqU79erh30
E3VGBUzBHR3QtI0vOeHXcqozqJXDqc5cxN5ntnKTxGSPRkfFMPrQ3UUlizQPz5zM
uKpCDiqJQ05VoUwgL1K7/zvQ16VfG/sOovgkyJvb4wd+UMPUb3tBB2rBWrTz77ZB
SR/x6GD1Q/fMQJTWnDYRH+EkY4EM2peApQNE5t3hHo/q5h/q+fWfMW5g+fhCYCed
857FeBdhbJatcaWP
=c7gl
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to