From /etc/clamav-unofficial-sigs/os.conf
:
$ /sbin/service clamd try-restart
Usage: clamd {start|stop|status|restart|reload|condrestart}
$
Please change in /etc/clamav-unofficial-sigs/os.conf
clamd_restart_opt="/sbin/service clamd try-restart"
to
clamd_restart_opt="/sbin/service clamd condrestart"
That's restart only if the service is running and should be equivalent to the systemd variant.
This update only works more or less, see https://bugzilla.redhat.com/show_bug.cgi?id=1777562 for SELinux details.
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.
Note that /bin/bash
rather /usr/bin/bash
actually works for all Fedora/EPEL branches, which is most likely the best fix.
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.
Fehler: Package: nagios-plugins-disk_smb-2.2.2-1.20190919git00cff01.el6.x86_64 (epel-testing)
Requires: perl(utf8::all)
fasulia, may I kindly ask you to open a bug report at bugzilla.redhat.com? I'm happy to forward this to upstream then, but as of writing, I'm not really sure whether I understand the issue. Thank you :)
mock -r epel-7-x86_64 rebuild <some-src.rpm>
The rebuild likely required a new cache, thus likely %post scriptlets with useradd/groupadd were performed.