Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
J
Jupyter Docker Stacks
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
Jupyter Docker Stacks
Commits
2ef14d52
Commit
2ef14d52
authored
Jul 12, 2020
by
Peter Parente
Committed by
GitHub
Jul 12, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1122 from HarryWeppner/no-such-user
suppress "id: jovyan: no such user" message during start
parents
5197709e
2dd822dd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
base-notebook/start.sh
base-notebook/start.sh
+1
-1
No files found.
base-notebook/start.sh
View file @
2ef14d52
...
@@ -101,7 +101,7 @@ if [ $(id -u) == 0 ] ; then
...
@@ -101,7 +101,7 @@ if [ $(id -u) == 0 ] ; then
echo
"Executing the command:
${
cmd
[@]
}
"
echo
"Executing the command:
${
cmd
[@]
}
"
exec sudo
-E
-H
-u
$NB_USER
PATH
=
$PATH
XDG_CACHE_HOME
=
/home/
$NB_USER
/.cache
PYTHONPATH
=
${
PYTHONPATH
:-}
"
${
cmd
[@]
}
"
exec sudo
-E
-H
-u
$NB_USER
PATH
=
$PATH
XDG_CACHE_HOME
=
/home/
$NB_USER
/.cache
PYTHONPATH
=
${
PYTHONPATH
:-}
"
${
cmd
[@]
}
"
else
else
if
[[
"
$NB_UID
"
==
"
$(
id
-u
jovyan
)
"
&&
"
$NB_GID
"
==
"
$(
id
-g
jovyan
)
"
]]
;
then
if
[[
"
$NB_UID
"
==
"
$(
id
-u
jovyan
2>/dev/null
)
"
&&
"
$NB_GID
"
==
"
$(
id
-g
jovyan 2>/dev/null
)
"
]]
;
then
# User is not attempting to override user/group via environment
# User is not attempting to override user/group via environment
# variables, but they could still have overridden the uid/gid that
# variables, but they could still have overridden the uid/gid that
# container runs as. Check that the user has an entry in the passwd
# container runs as. Check that the user has an entry in the passwd
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment