Opened 12 years ago

Closed 10 years ago

#35113 closed defect (fixed)

clamav-server: clamd plist not working

Reported by: jwiegley@… Owned by: pixilla (Bradley Giesbrecht)
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc: bitpup, cooljeanius (Eric Gallager)
Port: clamav-server

Description

Since clamd daemonizes itself, the launchd plist file thinks that the process is suddenly dying. You may not notice because the clamd daemon is running, but you'll see lots of error reports in the log as it keeps trying to run clamd over and over.

launchd scripts need to manage the status of child processes themselves, so the executable they run can't self-daemonize.

Change History (6)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to pixilla@…
Port: clamav-server added; clamd-server removed
Summary: clamd plist not workingclamav-server: clamd plist not working

comment:2 Changed 12 years ago by bitpup

Cc: wheeltong@… added

Cc Me!

comment:3 Changed 12 years ago by jmroot (Joshua Root)

This is actually the exact problem that the use of daemondo by the default startupitem code was designed to solve.

comment:4 Changed 12 years ago by pixilla (Bradley Giesbrecht)

/opt/local/etc/clamd.conf:

# Don't fork into background.
# Default: no
Foreground yes

comment:5 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:6 Changed 10 years ago by pixilla (Bradley Giesbrecht)

Resolution: fixed
Status: newclosed

See r127197

Note: See TracTickets for help on using tickets.