Skip to content

Fix sshd service missing on resolute#667

Merged
Theaxiom merged 2 commits into
phusion:masterfrom
bytestream:issue-666
Jun 5, 2026
Merged

Fix sshd service missing on resolute#667
Theaxiom merged 2 commits into
phusion:masterfrom
bytestream:issue-666

Conversation

@bytestream
Copy link
Copy Markdown
Contributor

@bytestream bytestream commented Jun 3, 2026

The script is exiting early because of this combination:

  • set -e is active — any non-zero exit code aborts the script immediately
  • mkdir /var/run/sshd fails with File exists — the openssh-server package already created it during installation

I've changed mkdir to mkdir -p, so that it succeeds silently if the directory already exists.

I've also removed the || true which is what was swallowing the script failures. It was introduced in #235 but the correct fix is to replace the one-liners so that the condition doesn't exit 1

Closes #666

@bytestream
Copy link
Copy Markdown
Contributor Author

@Theaxiom this should be good to merge and tag 🙏🏼

@Theaxiom Theaxiom merged commit 64df8f2 into phusion:master Jun 5, 2026
@bytestream bytestream deleted the issue-666 branch June 5, 2026 21:27
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.

sshd missing from resolute-1.0.0

2 participants