Package: inxi
Version: 3.0.36-1-1
Severity: wishlist

It is kind of a wishlist, but can be also considered a bug.

When running inxi, and asking for memory details (-m), it can't show all
details (like memory clocks, timings, ECC-ness), as it requires
dmidecode, which requires a root.

However, running full inxi with sudo, or under root, can influence other things,
most notably graphics stack settings, like Mesa details, if the user installed
custom mesa with custom LD_LIBRARY_PATH & co.

A solution would be to call inxi as normal without sudo, and ask inxi to
call sudo on necassary commands if needed. The new behaviour would be
controlled by switch only, and the current behaviour would be preserved.
This way it will work on systems without sudo or with sudo configured
in a way that requires extra authentication.




-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.2.0-3-amd64 (SMP w/32 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages inxi depends on:
ii  pciutils  1:3.6.2-2
ii  perl      5.30.0-6
ii  procps    2:3.3.15-2+b1

Versions of packages inxi recommends:
ii  dmidecode          3.2-2
ii  dnsutils           1:9.11.5.P4+dfsg-5.1+b1
ii  file               1:5.37-5
ii  hddtemp            0.3-beta15-53
ii  iproute2           5.3.0-1
ii  kmod               26-3
ii  lm-sensors         1:3.5.0-3
ii  mesa-utils         8.4.0-1+b1
ii  net-tools          1.60+git20180626.aebd88e-1
ii  sudo               1.8.27-1+b1
ii  tree               1.8.0-1+b1
ii  usbutils           1:012-2
ii  x11-utils          7.7+4
ii  x11-xserver-utils  7.7+8

Versions of packages inxi suggests:
ii  curl                      7.66.0-1
ii  libcpanel-json-xs-perl    4.12-1+b1
ii  libjson-xs-perl           4.020-1+b1
ii  libxml-dumper-perl        0.81-1.2
ii  perl [libhttp-tiny-perl]  5.30.0-6
ii  wget                      1.20.3-1+b1

-- no debconf information

Reply via email to