Description of problem: After last update to munin munin-2.0.7-1.fc17.noarch many plugins stop working. Problems related to shebang string "#!/usr/bin/env perl -w" and munin-graph with "#!/usr/bin/env perl -T" Run plugins and I get /usr/bin/env: perl -w: No such file or directory or /usr/bin/env: perl -T: No such file or directory Everything after the first word (/usr/bin/env) is passed as a single argument string. Safest/most portable is to not put anything after the perl there
Next release will use "#!/usr/bin/perl" instead of env. (If you still want to use env, it would look like "#!/usr/bin/env PERL5OPT=-T perl" instead.)
same problem here. Is there a simple workaround that doesn't require me to fix every plugin manually or downgrade munin?
Installing perl-Taint-Runtime resolved the -T issue for me.
(In reply to comment #2) > same problem here. Is there a simple workaround that doesn't require me to > fix every plugin manually or downgrade munin? Crazy idea that will help you: create a symbolic link ln -s /usr/bin/perl '/usr/bin/perl -w' ln -s /usr/bin/perl '/usr/bin/perl -T'
(In reply to comment #4) > (In reply to comment #2) > > same problem here. Is there a simple workaround that doesn't require me to > > fix every plugin manually or downgrade munin? > > Crazy idea that will help you: create a symbolic link > ln -s /usr/bin/perl '/usr/bin/perl -w' > ln -s /usr/bin/perl '/usr/bin/perl -T' ugh, symlinks with spaces. does this actually work for you?
Yes. Try small script for test: =======envtest========= #!/usr/bin/env perl -w print "It works!"; ======================= CONSOLE OUTPUT: ======================= $ chmod +x envtest $ ./envtest /usr/bin/env: perl -w: No such file or directory $ sudo ln -s /usr/bin/perl '/usr/bin/perl -w' $ ./envtest It works! =======================
ok, thanks. I guess I'll give that a try until this bug is fixed.
While symlinking '/usr/bin/perl -w' helps, I still get errors about the 'perl -T' calls. I tried creating a symlink for that too, but then the cronjob fails with: "-T" is on the #! line, it must also be used on the command line at /usr/share/munin/munin-graph line 1. So this still seems like a completely broken mess.
From what I can tell, even with the symlink hacks, everything remains completely broken. I've given up, and manually downgraded to the previous version (2.0.6-2), which while not perfect, was at least mostly functional. Anyone else that wants it, can get the RPMs from here: http://koji.fedoraproject.org/koji/buildinfo?buildID=353206 Sadly, 'yum downgrade' only seems to go back to the original version in the repo (1.4.x), rather than the previously installed version.
munin-2.0.7-3.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/munin-2.0.7-3.fc16
munin-2.0.7-3.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/munin-2.0.7-3.fc17
munin-2.0.7-3.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/munin-2.0.7-3.fc18
munin-2.0.7-3.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/munin-2.0.7-3.el5
munin-2.0.7-3.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/munin-2.0.7-3.el6
Package munin-2.0.7-3.el5: * should fix your issue, * was pushed to the Fedora EPEL 5 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing munin-2.0.7-3.el5' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2012-13237/munin-2.0.7-3.el5 then log in and leave karma (feedback).
munin-2.0.7-5.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/munin-2.0.7-5.el6
munin-2.0.7-5.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/munin-2.0.7-5.el5
munin-2.0.8-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/munin-2.0.8-1.el6
munin-2.0.8-1.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/munin-2.0.8-1.el5
munin-2.0.8-1.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.
munin-2.0.8-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.