Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

actions: run: add support for running commands outside of fakemachine #139

Open
silbe opened this issue Jan 25, 2019 · 0 comments
Open

actions: run: add support for running commands outside of fakemachine #139

silbe opened this issue Jan 25, 2019 · 0 comments

Comments

@silbe
Copy link

silbe commented Jan 25, 2019

Even when set to run outside the chroot, scripts/commands are still run inside fakemachine. Lots of things don't work within that environment, e.g. because regular /etc is not available (not even sudo works). It would be very useful to have the ability to run scripts outside of fakemachine (as the user invoking debos) with the ability to modify the rootfs.

My particular use case is installing SSH host keys. The keys are encrypted to a private key on an OpenPGP card, accessible to the user running debos. The SSH host keys can only be decrypted by running a command as the original user, not but running within fakemachine or running as root. Additionally they are stored within Salt (Configuration Management system), not just a file encrypted directly with GnuPG. Extracting them requires running a command within the regular environment of the user.

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

No branches or pull requests

1 participant