FS#66822 - [munin-node] plugins/smart_ shebang python2

Attached to Project: Arch Linux
Opened by ilf (ilf) - Friday, 29 May 2020, 09:09 GMT
Last edited by Antonio Rojas (arojas) - Friday, 29 May 2020, 09:56 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

/usr/lib/munin/plugins/smart_ from the package has "#!/usr/bin/env python2", which fails: "/usr/bin/env: 'python2': No such file or directory"

Replacing python2 with python (or python3) works fine.

Upstream has "#!/usr/bin/python3": https://github.com/munin-monitoring/munin/blob/master/plugins/node.d/smart_
This task depends upon

Closed by  Antonio Rojas (arojas)
Friday, 29 May 2020, 09:56 GMT
Reason for closing:  Not a bug
Additional comments about closing:  2.0.63-2 switches to python 3 anyway
Comment by Antonio Rojas (arojas) - Friday, 29 May 2020, 09:55 GMT
It fails because you didn't read the optional deps. Also, you are looking at upstream master, not the 2.0 stable branch.

Loading...