Skip to content

Commit 3cc688e

Browse files
RajatGupta02Rajat Gupta
authored andcommitted
Add seccomp in systemd config (opensearch-project#18309)
Signed-off-by: Rajat Gupta <gptrajat@amazon.com> Co-authored-by: Rajat Gupta <gptrajat@amazon.com>
1 parent 7a7714d commit 3cc688e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5656
- Use Bad Request status for InputCoercionException ([#18161](https://github.com/opensearch-project/OpenSearch/pull/18161))
5757
- Null check field names in QueryStringQueryBuilder ([#18194](https://github.com/opensearch-project/OpenSearch/pull/18194))
5858
- Avoid NPE if on SnapshotInfo if 'shallow' boolean not present ([#18187](https://github.com/opensearch-project/OpenSearch/issues/18187))
59+
- Fix 'system call filter not installed' caused when network.host: 0.0.0.0 ([#18309](https://github.com/opensearch-project/OpenSearch/pull/18309))
5960

6061
### Security
6162

distribution/packages/src/common/systemd/opensearch.service

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ LockPersonality=yes
101101
# @ means allowed
102102
# ~ means not allowed
103103
# These syscalls are related to mmap which is needed for OpenSearch Services
104-
SystemCallFilter=madvise mincore mlock mlock2 munlock get_mempolicy sched_getaffinity sched_setaffinity fcntl
104+
SystemCallFilter=seccomp mincore
105+
SystemCallFilter=madvise mlock mlock2 munlock get_mempolicy sched_getaffinity sched_setaffinity fcntl
105106
SystemCallFilter=@system-service
106107
SystemCallFilter=~@reboot
107108
SystemCallFilter=~@swap

0 commit comments

Comments
 (0)