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

nautobot-dev:2.0.0-rc.1 image leaves the USER as nautobot #4300

Closed
jmcgill298 opened this issue Aug 21, 2023 · 3 comments
Closed

nautobot-dev:2.0.0-rc.1 image leaves the USER as nautobot #4300

jmcgill298 opened this issue Aug 21, 2023 · 3 comments
Assignees
Labels
emergent Unplanned work that is brought into a sprint after it's started. type: bug Something isn't working as expected

Comments

@jmcgill298
Copy link
Contributor

Environment

  • Nautobot version (Docker tag too if applicable):
  • Python version:
  • Database platform, version:
  • Middleware(s):

Steps to Reproduce

  1. pull nautobot-dev:2.0.0-rc.1 image from available source
  2. build container with that image
  3. try to have that container write to filesystem (e.g. makemigrations)

Expected Behavior

expected migration file to exist

Observed Behavior

container failed due to system permissions (USER nautobot does not have permission to write to my filesystem)

@jmcgill298 jmcgill298 added type: bug Something isn't working as expected triage This issue is new and has not been reviewed. labels Aug 21, 2023
@bryanculver bryanculver added the emergent Unplanned work that is brought into a sprint after it's started. label Aug 21, 2023
@jathanism
Copy link
Contributor

As I understand it, this is specific to the final-dev container build and the USER needs to be set to root at the end in order to alleviate this.

@glennmatthews
Copy link
Contributor

#4082 introduced this issue; need to review carefully to determine which parts of that change need to be revised/rolled back.

@bryanculver bryanculver removed the triage This issue is new and has not been reviewed. label Aug 22, 2023
@jathanism
Copy link
Contributor

Fixed by #4302

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
emergent Unplanned work that is brought into a sprint after it's started. type: bug Something isn't working as expected
Projects
No open projects
Archived in project
Development

No branches or pull requests

4 participants