Your message dated Sat, 8 Jul 2017 20:49:42 -0400 (EDT)
with message-id <alpine.DEB.2.21.1707082042330.7837@Zeta>
and subject line Re: inxi: relies on /etc/issue for distro detection
has caused the Debian Bug report #818876,
regarding inxi: relies on /etc/issue for distro detection
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
818876: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=818876
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: inxi
Version: 2.2.28-1
Severity: normal

inxi -S
System:    Host: umbar Kernel: 4.4.5-x32 x86_64 (64 bit) Desktop: Xfce 4.12.3
           Distro: /etc/ corrupted, use -% to override

RTFSing, I see it tries to parse /etc/issue.  This is wrong as that file is not
meant to be machine-parsable, it's a welcome screen meant for humans, supposed
to be replaced by the sysadmin (not that many people care about their console
login screens these days...).  You want something like /etc/debian_version.

Related: I see it does BSD detection first which should be wrong on
Debian/kfreebsd (untested) -- you want to check /etc/debian_version before
that.


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

Kernel: Linux 4.4.5-x32 (SMP w/6 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages inxi depends on:
ii  bash      4.3-14+b1
ii  gawk      1:4.1.3+dfsg-0.1
ii  pciutils  1:3.3.1-1.1
ii  procps    2:3.3.11-3.0nosystemd1

Versions of packages inxi recommends:
ii  dmidecode          3.0-2
ii  file               1:5.25-2
ii  hddtemp            0.3-beta15-52
ii  iproute2           4.3.0-1+b1
ii  lm-sensors         1:3.4.0-2
ii  mesa-utils         8.3.0-1
pn  module-init-tools  <none>
ii  net-tools          1.60+git20150829.73cef8a-2
pn  sudo               <none>
ii  usbutils           1:007-4
ii  x11-utils          7.7+3
ii  x11-xserver-utils  7.7+7

inxi suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Package: inxi
Version: 2.3.0-1

Upstream fixed this in 2.2.37 which is even in Stretch. Inxi now no longer relies on /etc/issue as its primary method of version detection.


~Unit 193
Unit193 @ Freenode
Unit193 @ OFTC

--- End Message ---

Reply via email to