Skip to content

ossec-control exit status is nonzero when maild is disabled by config #960

@packetizeme

Description

@packetizeme

If <email_notification>no</email_notification> is specified in ossec.conf, ossec-maild will not be run when starting ossec. Checking service status via ossec-control status will report this as not running and then return 1.

It seems that the better behavior would be to validate that the service should be running (check ossec.conf) and compare current vs desired state when determining return value, rather than simply expecting all services to be running.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions