Opened 10 months ago

Last modified 10 months ago

#69247 assigned defect

clamav: org.macports.freshclam launch daemon issues

Reported by: cmyk (Schrödinger’s Cat) Owned by: essandess (Steve Smith)
Priority: Normal Milestone:
Component: ports Version:
Keywords: sonoma, arm64 Cc:
Port: clamav-server

Description

When I execute the launch deaemon script of org.macports.freshclam.plist I get this:

127: The specified service did not ship with the operating system

ClamAV update process started at Wed Jan 31 02:19:46 2024
daily.cvd database is up-to-date (version: 27170, sigs: 2051923, f-level: 90, builder: raynman)
main.cvd database is up-to-date (version: 62, sigs: 6647427, f-level: 90, builder: sigmgr)
bytecode.cvd database is up-to-date (version: 334, sigs: 91, f-level: 90, builder: anvilleg)
/bin/sh: --pid=exec: command not found

Change History (5)

comment:1 Changed 10 months ago by ryandesign (Ryan Carsten Schmidt)

Keywords: sonoma added; Launch Daemon plist MacOS Sonoma removed
Owner: set to danielluke
Status: newassigned
Summary: org.macports.freshclam launch daemon issuesclamav: org.macports.freshclam launch daemon issues

comment:2 Changed 10 months ago by danielluke (Daniel J. Luke)

Owner: changed from danielluke to essandess
Port: clamav-server added; clamav removed

From the clams-server port, not the clamav port.

Version 0, edited 10 months ago by danielluke (Daniel J. Luke) (next)

comment:3 Changed 10 months ago by essandess (Steve Smith)

That’s a weird issue. That launch daemon is automatically generated and really the simplest possible startupitem: https://github.com/macports/macports-ports/blob/9f4179bb590086063329e8c3409bf17ea9e57429/sysutils/clamav-server/Portfile#L52

The --pid=exec should be passed to daemondo, not sh.

What system are you on? I’d likely suggest bumping this question to the dev mailing list to find out why that simple startupitem doesn’t run.

comment:4 Changed 10 months ago by ryandesign (Ryan Carsten Schmidt)

Perhaps we should also ask, what is the command you used to execute it?

comment:5 Changed 10 months ago by cmyk (Schrödinger’s Cat)

I am on Sonoma 14.2.1. I re-installed the clamAV ports packages after removing them. It seems to be running fine now. But the energy consumption is really bad. My M1 MacBook was drained in an hour. Activity monitor shows 1600 in the energy impact column.

Note: See TracTickets for help on using tickets.