Package: stressant

Hi!

I've tried running stressant from a Debian Stretch build (using the
stressant package in Sid) and got this error message:

-----
root@zapata:/home/emiliano# stressant --logfile stressant.log --no-disk
--no-smart

[redacted lshw output]

filesystem partition
INFO: SMART information for /dev/sda
DEBUG: Calling smartctl -i /dev/sda
Traceback (most recent call last):
  File "/usr/bin/stressant", line 417, in <module>
    main()
  File "/usr/bin/stressant", line 403, in main
    gatherInfo(**vars(args))
  File "/usr/bin/stressant", line 307, in gatherInfo
    collectCmd(["smartctl", "-i", diskDevice])
  File "/usr/bin/stressant", line 267, in collectCmd
    stderr=subprocess.STDOUT)
  File "/usr/lib/python2.7/subprocess.py", line 390, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1024, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
-----

Installing the "smartmontools" package (and thus the smartctl utility)
fixed the problem.

I guess I was expecting either stressant to install smartmontools or not
to require it with the default options.

Cheers,

-- 
pollo

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to