Your message dated Thu, 31 Oct 2019 14:47:34 +0000
with message-id <[email protected]>
and subject line Bug#943838: fixed in grml2usb 0.17.0
has caused the Debian Bug report #943838,
regarding grml2usb: check_for_fat() always fails
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.)
--
943838: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=943838
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: grml2usb
Version: 0.16.7
Severity: grave
The check_for_fat() function always fails, no matter what:
,----
| # file -s /dev/sdc2
| /dev/sdc2: DOS/MBR boot sector, code offset 0x3c+2, OEM-ID "mkfs.fat",
sectors/cluster 64, reserved sectors 64, root entries 1024, Media descriptor
0xf8, sectors/FAT 256, sectors/track 32, heads 64, hidden sectors 27265024,
sectors 3512319 (volumes > 32 MB), serial number 0x6666adbb, unlabeled, FAT (16
bit)
| # sudo grml2usb grml96-full_2018.12.iso /dev/sdc2
| Executing grml2usb version 0.16.7
| Execution failed: Partition /dev/sdc2 does not contain a FAT16 filesystem.
(Use --fat16 or run mkfs.vfat /dev/sdc2)
| # grml2usb --fat16 grml96-full_2018.12.iso /dev/sdc2
| Executing grml2usb version 0.16.7
| Are you sure you want to format the specified partition with fat16? y/N y
| Note: you can skip this question using the option --force
| Formating partition with fat16 filesystem
| mkfs.fat 4.1 (2017-01-24)
| Execution failed: Partition /dev/sdc2 does not contain a FAT16 filesystem.
(Use --fat16 or run mkfs.vfat /dev/sdc2)
`----
I am not really a Python expert, but AFAICS the problem is that by
default Subprocess.open() opens file objects in binary mode, so the
"filesystem" variable is an array of bytes, and comparing it to a string
always yields false.
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.3.8-nouveau (SMP w/2 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)
Versions of packages grml2usb depends on:
ii grub-pc-bin 2.04-3
ii grub2-common 2.04-3
ii kmod 26-3
ii mtools 4.0.23-1+b1
ii python3 3.7.5-1
ii python3-parted 3.11.2-11
ii rsync 3.1.3-8
ii syslinux 3:6.04~git20190206.bf6db5b4+dfsg1-1
Versions of packages grml2usb recommends:
ii genisoimage 9:1.1.11-3+b2
ii syslinux 3:6.04~git20190206.bf6db5b4+dfsg1-1
pn syslinux-utils <none>
grml2usb suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: grml2usb
Source-Version: 0.17.0
We believe that the bug you reported is fixed in the latest version of
grml2usb, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Michael Prokop <[email protected]> (supplier of updated grml2usb 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: Thu, 31 Oct 2019 12:00:01 +0100
Source: grml2usb
Binary: grml2usb
Architecture: source
Version: 0.17.0
Distribution: unstable
Urgency: medium
Maintainer: Grml Team <[email protected]>
Changed-By: Michael Prokop <[email protected]>
Description:
grml2usb - install Grml system / ISO to usb device
Closes: 943838 943845
Changes:
grml2usb (0.17.0) unstable; urgency=medium
.
[ Sven Joachim ]
* [5b2ffe4] check_for_fat: Avoid comparing strings and bytes (Closes:
#943838)
* [c2e742a] check_boot_flag(): Open device in binary mode
* [fd89485] Fix path to syslinux *.c32 files (Closes: #943845)
.
.
[ Michael Prokop ]
* [4d800e5] Provide git-describe based version information when running
from within git. Thanks to Florian Apolloner for review and feedback
* [9586781] No longer explicitly list addon files, instead copy all
files from /boot/addons/
* [ea3de89] check_for_fat(): use subprocess.check_output to avoid
dependency on Python 3.7. Thanks to Florian Apolloner for review and
feedback
Checksums-Sha1:
987ed3f07546da6ce0357f55eb9e5f472b8e5f0e 1846 grml2usb_0.17.0.dsc
8026721c558ddf4de2d22312773139dfbfc13c2c 387376 grml2usb_0.17.0.tar.xz
bfb2921cd15a3d81b4065b7bbacf9c6453e7a588 5698 grml2usb_0.17.0_source.buildinfo
Checksums-Sha256:
172094560421023ea84ab111129b4f391634474c46a28d84abb2ca86d268e927 1846
grml2usb_0.17.0.dsc
bbc661ff88a7341d46b88e378d345121b2f20814c3b37883bbe9d6fab31859f6 387376
grml2usb_0.17.0.tar.xz
2c76b784b9aabc3af42d17dadf8b5d8f55b60ee98f9826de2e142197a01b532f 5698
grml2usb_0.17.0_source.buildinfo
Files:
407f24afdf004ae09e67770c3d2ecfed 1846 admin optional grml2usb_0.17.0.dsc
63735a21710db4d74c1880663d0cf0b4 387376 admin optional grml2usb_0.17.0.tar.xz
2b6be4bfeaa37570abd56c6eebea43cb 5698 admin optional
grml2usb_0.17.0_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEM8yxNkAa/shDo4djlqh4crfqNzcFAl266fAACgkQlqh4crfq
Nzdz8w//UM4YHhMh5WBBGyYAvih6pTMzUWA1lKLq68T/cbbGYYrVYUUXhpQT3Ue0
gBatLNhSlcv39fykFVgTYM+q79ETvhMWr0jlothwBDXlR74CIxzOwjZrotkdsFSL
d+PLKijyVcaZ2e2ebOuoSbm8/6d+5lhDwxxs2hQaO4K+8ESLPNMPaIfec2ZOcvdL
hJjYJ7egBUlhBcHw4NUhkTfKMCuvCMGfah0oxqURUWi71uL509V6BivM0HJZ7bOy
0SZKplMc9m+UZEEzk0gvF2tBrjXtAUI++tXEo5PGwGD1UvXOGM4VFVtQx986b8Kn
rltQEFI8y1KtHWJs5LF96imLZuYeG6KBO+AJUogp3DW7fviXkHcyCpSAk/P+/wQi
28BabyrjF78BMaeF+uOTIwG139k58L4y2xdZhpBiaUWjL5ovxZ18L+9DOaG6FTd6
m9Hy4OCWZu9jdtqPjuvVQFmXvIYoIqTM2ccF0SRERcZ+jKsOquehDEXjidTNahhn
XSfE9uKu+zqZlPlCu2f9znO6tYRCNlVTTZKK5G5wQhHt9MVLslvEKZpmosw1vANV
2f0OrzIQorvsabrQgGrSnMrE6rCiN9BjZPJrzIaGko1ZCUrHpYs1niEhOMWav4JL
Mn0/hvoj9T3UiH+BaYl+chHtwa0N8Q/THNBNNcvF2zooXX3d4mA=
=1KyL
-----END PGP SIGNATURE-----
--- End Message ---