Skip to content

Make init_misp.sh executable for container startup - #479

Merged
ostefano merged 1 commit into
MISP:masterfrom
RobertDWhite:codex/fix-init-misp-executable
Oct 23, 2026
Merged

ostefano merged 1 commit into
MISP:masterfrom
RobertDWhite:codex/fix-init-misp-executable

Conversation

@RobertDWhite

Copy link
Copy Markdown
Contributor

/kubernetes/entrypoint_fpm.sh invokes /init_misp.sh directly, but core/files/init_misp.sh is tracked as mode 100644. The published core image exits with status 126 and Permission denied during Kubernetes startup, before MISP initialization can complete.

This changes only the executable bit (100644 to 100755); script contents are unchanged.

Reproduced with ghcr.io/misp/misp-docker/misp-core@sha256:9dd21889926062645a97a03d5a6fd65a8759a3b2cd858dc62d544677dfacfff9 (MISP 2.5.50 / PHP 8.4.27). The image contains /init_misp.sh as -rw-r--r--, while the Kubernetes entrypoint is executable.

Validation: bash -n core/files/init_misp.sh passes; Git confirms a file-mode-only change. Full upstream image/CI validation is still required.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-23T18:32:16.832909Z b60a505 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@ostefano
ostefano merged commit 391ec36 into MISP:master Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants