You haven’t mentioned the distro but this sounds like an SELinux issue...
> On 11 Jan 2025, at 12:15, Mårten Persson via rsyslog > <rsyslog@lists.adiscon.com> wrote: > > Hello everybody, > > I updated my distro and after that omprog lacks rights... > The config and the scripts have been working flawlessly for a long time > :-) > > The error message: > rsyslogd: omprog: failed to execute program > '/usr/local/bin/fanvil.sh': Permission denied > > The file with permissions: > -rwxr-xr-x 1 syslog adm 3458 Nov 8 22:18 fanvil.sh* > > And finally rsyslogd: > systemd+ 5552 0.0 0.0 154412 2900 ? Ssl Jan03 0:00 > /usr/sbin/rsyslogd > syslog 389972 0.0 0.0 235824 4980 ? Ssl Jan05 0:00 > rsyslogd > syslog 1678535 0.0 0.0 378668 5632 ? Ssl 05:51 0:00 > /usr/sbin/rsyslogd -n -iNONE > > SO user syslog runs rsyslogd, the file that omprog shuld execute is > owned by syslog with execute rights. > > What am I missing here ? > > Thank you for any help / pointers > > Mårten > > _______________________________________________ > rsyslog mailing list > https://lists.adiscon.net/mailman/listinfo/rsyslog > http://www.rsyslog.com/professional-services/ > What's up with rsyslog? Follow https://twitter.com/rgerhards > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of > sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T > LIKE THAT. _______________________________________________ rsyslog mailing list https://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.