Bug#1017861: grub2: bug-script broken?

наб nabijaczleweli at nabijaczleweli.xyz
Sun Aug 21 18:11:23 BST 2022


Source: grub2
Version: 2.04-20
Severity: normal

Dear Maintainer,

When reporting #1017860, reportbug told me this:
-- >8 --
Please select tags: (one at a time) [done]
Gathering additional data, this may take a while...
The package bug script /usr/share/bug/grub-pc/script exited with an error status (return code = 256). Do you still want to file a report [y|N|q|?]?
-- >8 --

I can reproduce this every time while reporting for grub-pc.

Running it verbatim also doesn't work (but I'm not sure if that's
supported):
-- >8 --

$ /usr/share/bug/grub-pc/script
/usr/share/bug/grub-pc/script: line 11: 3: Bad file descriptor
$ echo $?
1
-- >8 --

The error points to the expected:
-- >8 --
$ head /usr/share/bug/grub-pc/script
#!/bin/bash
set -e

if test -e /boot/grub/setup_left_core_image_in_filesystem ; then
  echo >&3
  echo "*********************** WARNING grub-setup left core.img in filesystem" >&3
fi

for i in /proc/mounts ; do
  if test -e $i ; then
-- >8 --

I don't know what the ABI is, so I can't diagnose further.

Best,
наб

-- System Information:
Debian Release: 11.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-16-amd64 (SMP w/24 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-grub-devel/attachments/20220821/ce5a9297/attachment.sig>


More information about the Pkg-grub-devel mailing list