Package: apt-listchanges
Version: 3.3
Severity: normal

When ‘apt-listchanges’ invokes the Sendmail program, some normal error
conditions are not handled properly. Instead, the ‘apt-listchanges’
process crashes without preserving the useful information.

=====
apt-listchanges: Mailing root: apt-listchanges: news for lantana
sendmail: account default not found: no configuration file available
Traceback (most recent call last):
  File "/usr/bin/apt-listchanges", line 243, in <module>
    main(config)
  File "/usr/bin/apt-listchanges", line 221, in main
    apt_listchanges.mail_changes(config, news, subject)
  File "/usr/share/apt-listchanges/apt_listchanges.py", line 79, in mail_changes
    subprocess.run(['/usr/sbin/sendmail', '-oi', '-t'], 
input=message.as_bytes(), check=True)
  File "/usr/lib/python3.5/subprocess.py", line 708, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/usr/sbin/sendmail', '-oi', '-t']' 
returned non-zero exit status 78
=====

Exit status 78 indicates some problem with configuration, but this
information is drowned by the crash message from the Python
interpreter.

The normal error conditions that can occur when calling Sendmail
should be handled without a crash, and the useful diagnostic
information from the program should be preserved and presented as
the more important output from the process.


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.6.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_AU.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages apt-listchanges depends on:
ii  apt                    1.3~rc2
ii  debconf [debconf-2.0]  1.5.59
ii  debianutils            4.8
ii  python3-apt            1.1.0~beta4
pn  python3:any            <none>
ii  ucf                    3.0036

apt-listchanges recommends no packages.

Versions of packages apt-listchanges suggests:
ii  elinks [www-browser]                  0.12~pre6-11+b2
ii  firefox-esr [www-browser]             45.3.0esr-1
ii  gnome-terminal [x-terminal-emulator]  3.20.2-4
ii  links [www-browser]                   2.13-1
ii  msmtp-mta [mail-transport-agent]      1.6.5-1
ii  python3-gi                            3.20.1-1
ii  w3m [www-browser]                     0.5.3-29
ii  xterm [x-terminal-emulator]           325-1

-- debconf information:
  apt-listchanges/confirm: false
  apt-listchanges/save-seen: true
  apt-listchanges/which: news
  apt-listchanges/frontend: pager
  apt-listchanges/email-address: root

-- 
 \         “In any great organization it is far, far safer to be wrong |
  `\          with the majority than to be right alone.” —John Kenneth |
_o__)                                            Galbraith, 1989-07-28 |
Ben Finney <bign...@debian.org>

Attachment: signature.asc
Description: PGP signature

Reply via email to