[ 
https://issues.apache.org/jira/browse/TINKERPOP-2685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17475856#comment-17475856
 ] 

Igor Ostapenko commented on TINKERPOP-2685:
-------------------------------------------

Well, I've found some strings to the root cause. Let me put it here in case 
it's interesting for someone.

I've tried to build bash for Alpine 3.14 within my "culprit" docker and it 
failed to build it. Alpine community was swift enough to direct me to this 
nuance since Alpine 3.14: 
[https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.14.0#faccessat2] 
. So, Alpine 3.14 started to use updated musl version, what started to use 
faccessat2 syscall, but older runc version has seccomp related issue what does 
not allow falling back to older syscall and end user program (in my case bash) 
gets incorrect behaviour as a result.

I've tried workaround #3 and it works for me now:
{code:java}
> docker run --security-opt=seccomp=default.json tinkerpop/gremlin-server:3.5.1
[INFO] GremlinServer - 3.5.1
         \,,,/
         (o o)
-----oOOo-(3)-oOOo-----[INFO] GremlinServer - Configuring Gremlin Server from 
conf/gremlin-server.yaml
[INFO] MetricManager - Configured Metrics ConsoleReporter configured with 
report interval=180000ms
...{code}
Yes, 3 years today is a lot, like you are still with Win95 :D

> "docker run tinkerpop/gremlin-server:3.5.1" does not work
> ---------------------------------------------------------
>
>                 Key: TINKERPOP-2685
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2685
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 3.5.1
>            Reporter: Igor Ostapenko
>            Priority: Blocker
>
>  
> {code:java}
> $ docker run tinkerpop/gremlin-server:3.5.1
> WARNING: /opt/gremlin-server//opt/gremlin-server/conf/gremlin-server.yaml is 
> unreadable
> Configuration file not found.
> Usage: /opt/gremlin-server/bin/gremlin-server.sh 
> {start|stop|restart|status|console|install <group> <artifact> <version>|<conf 
> file>}
>     start        Start the server in the background using 
> conf/gremlin-server.yaml as the
>                  default configuration file
>     stop         Stop the server
>     restart      Stop and start the server
>     status       Check if the server is running
>     console      Start the server in the foreground using 
> conf/gremlin-server.yaml as the
>                  default configuration file
>     install      Install dependencies
> If using a custom YAML configuration file then specify it as the only 
> argument for Gremlin
> Server to run in the foreground or specify it via the GREMLIN_YAML 
> environment variable.
> {code}
> But `docker run tinkerpop/gremlin-server:3.5.0` works fine.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to