Your message dated Mon, 03 Dec 2018 21:47:08 +0000
with message-id <e1gtw3y-0003fj...@fasolo.debian.org>
and subject line Bug#895602: fixed in ganeti-os-noop 0.2-1+deb9u1
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-1+deb9u1
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, 21 Aug 2018 16:00:41 +0200
Source: ganeti-os-noop
Binary: ganeti-os-noop
Architecture: source
Version: 0.2-1+deb9u1
Distribution: stretch
Urgency: medium
Maintainer: Debian Ganeti Team <ganeti-os-n...@packages.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-1+deb9u1) stretch; urgency=medium
.
* debian/control:
+ Update Vcs-*: fields. VCS repo has been migrated to salsa.debian.org.
+ Priority extra -> optional.
+ Update Maintainer: field to 'Debian Ganeti Team
<ganeti-os-n...@packages.debian.org>'
* 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).
Checksums-Sha1:
2e1d7f12bab4328a0b9673d48c9922f110c55504 2050 ganeti-os-noop_0.2-1+deb9u1.dsc
05993cb8da11710b81d566777cf08178e2e6cd3d 2656
ganeti-os-noop_0.2-1+deb9u1.debian.tar.xz
f777fd52cd81139dd7848c3b7ffcc6136f5c5187 6247
ganeti-os-noop_0.2-1+deb9u1_source.buildinfo
Checksums-Sha256:
214935294d648f73b5cca03a5ec511fc5873ab97c81588cd5f985a1947ef8efa 2050
ganeti-os-noop_0.2-1+deb9u1.dsc
c7edd48b8f7ae265bc87782df7ea1228b6ed4a258c377835d9115cbbb9e0199f 2656
ganeti-os-noop_0.2-1+deb9u1.debian.tar.xz
784f80f816bdecb76f759a181350e3f2c253d4d74ba76f9d23b2aadd73dee8a8 6247
ganeti-os-noop_0.2-1+deb9u1_source.buildinfo
Files:
19334b6a850e56cef9b3ee349839a468 2050 admin optional
ganeti-os-noop_0.2-1+deb9u1.dsc
65150a63567d9bc02e51250b382300d7 2656 admin optional
ganeti-os-noop_0.2-1+deb9u1.debian.tar.xz
4af37fa67c0719818b8af6033e6327ac 6247 admin optional
ganeti-os-noop_0.2-1+deb9u1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJJBAEBCAAzFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAlwFLlIVHHN1bndlYXZl
ckBkZWJpYW4ub3JnAAoJEJr0azAldxsxiBQP/2FCyQRXxadMDg8QpTSM3XLcoO2O
aar7KrjWFUqVRZXeg3qHgKrTTLh6u3VU9/y7sBUrQzaWxLLS1oroZ1ri3OybQl7Z
id1kmFrxRxILkZw6v1mIPSc4TUa5KnbAKC9RqFBniqfmSrS+6xI+0gLbPOUD7tIi
nowAUiUaOXzaYoj+IGhl8yRGSHwUHOIDbgaobd5xwgMRomkwfyLHEK3d+cKnGEZx
X5xyuJMrvr2KkjvqmeBw2DMLN6JasowQpXDb9AjD0K4qwCuZ3eeF+EXaHBh5J5K0
ZsUjFmQFkIJPtuAd3iOoGYeWija8B8ey4U/rw/ttWHy6gABJgNulKOgctliZDDdL
3AyJzV0bm/LghLfucs7lGia2rWWUQ/e1MYKAEmHrbJ18Ie2HgaRKtW5E3A/UjRjr
YLxrB59Lkw0Unf5iR6E471iQCLooIo1IPQstGzRb89qn1bn+yjiRRq2bw406/HHP
BAhss76ukAN/1qIx90znq8VmcDrNWGFEOWdjYZPJGfEbjOHLkrrFXcosTRjBnxaK
TTj0rXGGA8KSD244fCb5Yl6ah+bVusfkNU2UbqdLSuBJj8aMZDJbwlOeZywC8EQI
uDU2wGs6tcyDVZBAk8ADLZDMrrMieoNPuXpnZgIinzsPyM+33X+4+fJ26C/HsQu9
xQPu7tuB+6HhOfir
=xiLW
-----END PGP SIGNATURE-----
--- End Message ---