Package: debian-goodies
Version: 0.63
Severity: normal
checkrestart fails on one (and only one) of my Debian 8 jessie systems. The odd
thing is that I have two more-or-less "identical" servers used as Nginx API
hosts. The two are managed using Salt and so should not be deviated from each
other package or config-wise. However, I only get this issue on one of them.
The error I get is just a Python traceback. Nothing too descriptive:
shell#> checkrestart
Traceback (most recent call last):
File "/usr/sbin/checkrestart", line 637, in <module>
main()
File "/usr/sbin/checkrestart", line 131, in main
toRestart = lsofcheck(blacklist = blacklist)
File "/usr/sbin/checkrestart", line 284, in lsofcheck
process = processes.setdefault(data,Process(int(data)))
File "/usr/sbin/checkrestart", line 557, in __init__
data = self.which(data)
File "/usr/sbin/checkrestart", line 572, in which
if os.path.isabs(program):
File "/usr/lib/python2.7/posixpath.py", line 61, in isabs
return s.startswith('/')
AttributeError: 'list' object has no attribute 'startswith'
I'm not sure how much more detail I can add here, given the simple nature of
this program's functioning. Let me know if I can provide any other information.
Thanks,
Aaron
-- System Information:
Debian Release: 8.4
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages debian-goodies depends on:
ii curl 7.38.0-4+deb8u3
ii dctrl-tools [grep-dctrl] 2.23
ii perl 5.20.2-3+deb8u4
ii python 2.7.9-1
ii whiptail 0.52.17-1+b1
Versions of packages debian-goodies recommends:
ii lsof 4.86+dfsg-1
Versions of packages debian-goodies suggests:
pn popularity-contest <none>
pn xdg-utils <none>
pn zenity <none>
-- no debconf information