The cronjob [ -x /usr/sbin/clamav-unofficial-sigs.sh ] && /usr/bin/bash /usr/sbin/clamav-unofficial-sigs.sh leads to /bin/sh: /usr/bin/bash: No such file or directory, because on RHEL/CentOS 6, it's /bin/bash all the time.
BZ#1752990 Request to update: clamav-unofficial-sigs to v6.1.1
Bodhi is disabling automatic push to stable due to negative karma. The maintainer may push manually if they determine that the issue is not severe.
This update has been submitted for testing by tartare.
This update's test gating status has been changed to 'waiting'.
This update's test gating status has been changed to 'ignored'.
This update has been pushed to testing.
The cronjob
[ -x /usr/sbin/clamav-unofficial-sigs.sh ] && /usr/bin/bash /usr/sbin/clamav-unofficial-sigs.sh
leads to/bin/sh: /usr/bin/bash: No such file or directory
, because on RHEL/CentOS 6, it's/bin/bash
all the time.Bodhi is disabling automatic push to stable due to negative karma. The maintainer may push manually if they determine that the issue is not severe.
Note that
/bin/bash
rather/usr/bin/bash
actually works for all Fedora/EPEL branches, which is most likely the best fix.Shebang is #!/usr/bin/env bash, so I suspect an misconfiguration on your system. I know that is not the recommanded way but it's working.
No, this issue comes from your https://src.fedoraproject.org/rpms/clamav-unofficial-sigs/blob/master/f/clamav-unofficial-sigs.cron#_29, not from shebang.
I didn't understand that you're talking about cron file and yes you're right, there is a bug here. I fix it asap.
This update has been obsoleted by clamav-unofficial-sigs-6.1.1-2.el6.