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

Disabling change of directory based on network #7442

Open
cndolo opened this issue Jun 28, 2024 · 0 comments
Open

Disabling change of directory based on network #7442

cndolo opened this issue Jun 28, 2024 · 0 comments

Comments

@cndolo
Copy link

cndolo commented Jun 28, 2024

Hi,

I am trying to run the latest release of lightningd in the shadow simulator, but have so far not managed to get it running. The simulation fails because shadow does not support the chdir call that lightningd makes here.

I have a pretty simple config file that sets the following

network=regtest
log-file=log
log-level=debug
daemon

and as a result, lightningd tries to change the directory to /path/to/regtest. It exists with the error Could not change directory /path/to/regtest/.

Is it possible to instruct lightningd to stay in the current working directory?

Thanks

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