Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 684774

Summary: app-antivirus/clamav-0.101.2 with sys-apps/systemd - logrotate_script: /etc/init.d/clamd: /sbin/openrc-run: bad interpreter: No such file or directory
Product: Gentoo Linux Reporter: Emil Petrakov <iq180>
Component: Current packagesAssignee: Antivirus Team <antivirus>
Status: RESOLVED DUPLICATE    
Severity: normal CC: michael
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Emil Petrakov 2019-04-29 21:00:14 UTC
Anacron notifies me: "logrotate_script: /etc/init.d/clamd: /sbin/openrc-run: bad interpreter: No such file or directory".

It seems to me that it's because "/etc/logrotate.d/clamav" calls "/etc/init.d/clamd logfix", but the 1st line of "/etc/init.d/clamd" is "#!/sbin/openrc-run".

I use SystemD without OpenRC.
Comment 1 Michael Brakemeier 2019-06-18 18:30:56 UTC
This seems to be a duplicate of Bug 508520. Anyway I can confirm that this bug still exists.
Comment 2 Thomas Raschbacher gentoo-dev 2019-08-21 20:01:59 UTC
I shall have a look soon I hope. sorry for the late reply.
Comment 3 Thomas Raschbacher gentoo-dev 2019-08-21 20:03:31 UTC
Marking as duplicate.
I do not have a single machine with systemd running on it, so I cannot really test this .. but if you know how to fix it please respond to the original bug (linked)

*** This bug has been marked as a duplicate of bug 508520 ***