Package: nohang
Version: 0.2.0-2
Severity: serious

Dear Yangfl,

nohang unconditionally uses sudo, but has no dependency on it.

Symptoms are log entries like this one:

Nov 26 11:22:45 c-cactus2 nohang-desktop[1879]: Executing Command-566 ['sudo', 
'-u', 'abe', 'env', 'DISPLAY=:0', 
'DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus', 'notify-send', 
'--icon=dialog-warning', '--app-name=nohang', 'Low memory', 'Save your unsaved 
data!\nClose unused apps!\nClear tmpfs! Shmem: 45%'] with timeout 30s in 
Thread-1132 (pop) 
Nov 26 11:22:45 c-cactus2 nohang-desktop[1879]: Exception in Thread-1132 (pop): 
[Errno 2] No such file or directory: 'sudo' 

Please either make the use of sudo conditional (and add a Recommends or
Suggests) or add a hard dependency on sudo.

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (980, 'unstable-debug'), (600, 'testing'), 
(111, 'buildd-unstable'), (111, 'buildd-experimental'), (110, 'experimental'), 
(105, 'experimental-debug')
Architecture: amd64 (x86_64)

Kernel: Linux 6.11.10-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.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 nohang depends on:
ii  init-system-helpers  1.67
ii  python3              3.12.7-1

nohang recommends no packages.

Versions of packages nohang suggests:
ii  libnotify-bin  0.8.3-1+b2
pn  sudo           <none>

-- no debconf information

Reply via email to