Package: beep Version: 1.4.9-1.1 Followup-For: Bug #1010639 Dear Maintainer,
I met this bug today. It seems that this script works: sudo env -u SUDO_GID -u SUDO_COMMAND -u SUDO_USER -u SUDO_UID beep In fact, there is a permission issue, shown by the last lines of strace beep: newfstatat(AT_FDCWD, "/dev/input/by-path/platform-pcspkr-event-spkr", {st_mode=S_IFCHR|0660, st_rdev=makedev(0xd, 0x49), ...}, 0) = 0 openat(AT_FDCWD, "/dev/input/by-path/platform-pcspkr-event-spkr", O_WRONLY) = -1 EACCES (Permission non accordée) newfstatat(AT_FDCWD, "/dev/tty0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0x4, 0), ...}, 0) = 0 openat(AT_FDCWD, "/dev/tty0", O_WRONLY) = -1 EACCES (Permission non accordée) newfstatat(AT_FDCWD, "/dev/vc/0", 0x7ffe1cdd7770, 0) = -1 ENOENT (Aucun fichier ou dossier de ce nom) Note that the internal speaker works when I do suspicious things in an xterm. Yours, n. -- System Information: Debian Release: trixie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.11.10-amd64 (SMP w/12 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.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 beep depends on: ii libc6 2.41-7 beep recommends no packages. beep suggests no packages. -- no debconf information