Bug#1035322: grub2-common: bug script prompts for root only using "su"

Vagrant Cascadian vagrant at debian.org
Sun Apr 30 21:15:54 BST 2023


Package: grub2-common
Version: 2.06-12
Severity: minor
X-Debbugs-Cc: vagrant at debian.org

In at least two places, the bug script requires root (reading
grub.cfg/device.map, reading LVM information), but only uses "su root -c
...".

Some systems have no valid root password, such as systems configured
with sudo...

live well,
  vagrant

-- Package-specific info:

-- System Information:
Debian Release: 12.0
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing'), (1, 'experimental'), (1, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: arm64

Kernel: Linux 6.1.0-8-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages grub2-common depends on:
ii  dpkg                1.21.21
ii  grub-common         2.06-12
ii  libc6               2.36-9
ii  libdevmapper1.02.1  2:1.02.185-2
ii  libefiboot1         37-6
ii  libefivar1          37-6
ii  liblzma5            5.4.1-0.2

grub2-common recommends no packages.

grub2-common suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-grub-devel/attachments/20230430/6c90feb0/attachment.sig>


More information about the Pkg-grub-devel mailing list