Bug 256650 - ossec-hids-agent-config and ossec-hids-server-config fail creating ossec.conf
Summary: ossec-hids-agent-config and ossec-hids-server-config fail creating ossec.conf
Status: Closed DUPLICATE of bug 256545
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-16 16:05 UTC by Gerasimos Melissaratos
Modified: 2021-06-17 02:22 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gerasimos Melissaratos 2021-06-16 16:05:39 UTC
When running `/usr/local/ossec-hids/bin/config/ossec-conf` to create ossec.conf, there's an error message about sed and ossec.conf is created with empty tags.

Applying the following diff solves the problem:

25c25
<     sed '/^\s*$/d'
---
>     sed '/^ *$/d'
Comment 1 Dominik Lisiak 2021-06-16 22:54:55 UTC
This is duplicate of bug #256545.
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2021-06-17 02:22:16 UTC

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