Skip to content

[codex] quote systemd service environment#39

Merged
NitayRabi merged 1 commit into
mainfrom
codex/quote-systemd-service-env
May 13, 2026
Merged

[codex] quote systemd service environment#39
NitayRabi merged 1 commit into
mainfrom
codex/quote-systemd-service-env

Conversation

@NitayRabi

Copy link
Copy Markdown
Collaborator

Summary

  • quote and escape systemd Environment values in the node installer
  • preserve PATH entries containing spaces, including WSL-mounted Program Files paths
  • extend the stdin installer test to cover a PATH segment with spaces
  • document the install-time failure mode

Root Cause

The installer wrote raw Environment=PATH=... lines into the user service. systemd splits unquoted environment assignments on whitespace, so a PATH containing directories with spaces could be truncated before the daemon started.

Validation

  • bash -n install-amesh-node.sh scripts/test-install-amesh-node.sh
  • bash scripts/test-install-amesh-node.sh

@NitayRabi NitayRabi marked this pull request as ready for review May 13, 2026 18:53
@NitayRabi NitayRabi merged commit e34b7a9 into main May 13, 2026
3 checks passed
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.

1 participant