Skip to content

Fix goose start up (bash -i -c <command>)#3

Merged
umago merged 1 commit into
mainfrom
bash-i-c
Mar 26, 2026
Merged

Fix goose start up (bash -i -c <command>)#3
umago merged 1 commit into
mainfrom
bash-i-c

Conversation

@umago

@umago umago commented Mar 26, 2026

Copy link
Copy Markdown
Owner

Upon goose starts, the parent process spawn some child process and then dies, which caused the startup of the tool to fail if the sandbox was running with --unshare-pid.

By running the command via "bash -i -c goose" the iteractive shell prevents it from exiting and goose starts normally.

This patch implements that "hack", so all tools can be used with --unshare-pid.

Upon goose starts, the parent process spawn some child process and then
dies, which caused the startup of the tool to fail if the sandbox was
running with --unshare-pid.

By running the command via "bash -i -c goose" the iteractive shell
prevents it from exiting and goose starts normally.

This patch implements that "hack", so all tools can be used with
--unshare-pid.

Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
@umago umago merged commit 704ead5 into main Mar 26, 2026
1 check passed
@umago umago deleted the bash-i-c branch March 26, 2026 20:19
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