8000 bug: version 43.0 in linux cannot run as non-root · Issue #12485 · localstack/localstack · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

bug: version 43.0 in linux cannot run as non-root #12485

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

Open
1 task done
lightphos opened this issue Apr 4, 2025 · 1 comment
Open
1 task done

bug: version 43.0 in linux cannot run as non-root #12485

lightphos opened this issue Apr 4, 2025 · 1 comment
Labels
area: infrastructure Installation and startup of LocalStack and components status: backlog Triaged but not yet being worked on type: bug Bug report

Comments

@lightphos
Copy link
lightphos commented Apr 4, 2025

Is there an existing issue for this?

  • I have searched the existing issues for this version

Current Behavior

See error:
Running as user: 1001040000
ERROR: The LocalStack Runtime could not be initialized: [Errno 13] Permission denied: '/root/.cache/plux'
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/opt/code/localstack/localstack-core/localstack/runtime/main.py", line 93, in
main()

--

Expected Behavior

Should start without needed to be root user

How are you starting LocalStack?

With a docker-compose file

Steps To Reproduce

FROM localstack/localstack:4.3.0

ENV EAGER_SERVICE_LOADING=1
ENV SERVICES s3
ENV DEBUG=1
ENV PERSISTENCE=1

COPY setup-localstack.sh /etc/localstack/init/ready.d/
RUN chmod +x /etc/localstack/init/ready.d/setup-localstack.sh
COPY test.png /opt/code/localstack/

COPY entrypoint.sh /entrypoint.sh

RUN chmod +x /entrypoint.sh

ENTRYPOINT ["/entrypoint.sh"]

====

#!/bin/bash
echo Running as user: $(whoami)

/opt/code/localstack/.venv/bin/python -m localstack.runtime.main

Environment

- OS:
- LocalStack:
  LocalStack version:
  LocalStack Docker image sha:
  LocalStack build date:
  LocalStack build git hash:

Anything else?

No response

@lightphos lightphos added status: triage needed Requires evaluation by maintainers type: bug Bug report labels Apr 4, 2025
@localstack-bot
Copy link
Collaborator

Welcome to LocalStack! Thanks for reporting your first issue and our team will be working towards fixing the issue for you or reach out for more background information. We recommend joining our Slack Community for real-time help and drop a message to LocalStack Pro Support if you are a Pro user! If you are willing to contribute towards fixing this issue, please have a look at our contributing guidelines and our contributing guide.

@ryan-berke ryan-berke added area: infrastructure Installation and startup of LocalStack and components status: backlog Triaged but not yet being worked on and removed status: triage needed Requires evaluation by maintainers labels Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: infrastructure Installation and startup of LocalStack and components status: backlog Triaged but not yet being worked on type: bug Bug report
Projects
None yet
Development

No branches or pull requests

3 participants
0