Marco Pfatschbacher
Marco Pfatschbacher
@MahdiGhiasi Thanks. Could you run `entrypoint: "/bin/bash -xv /docker-entrypoint.sh"` for me? I think @coffee-squirrel might be right. the `/data` error output is odd
@MahdiGhiasi Yeah, looks like it. But your output is truncated. It misses the part where /etc/profile is sourced, that's where GRAYLOG_HOME should be set
@MahdiGhiasi looks like `/etc/profile.d/graylog.sh` is not readable for some reason. what is the output of `entrypoint: "/bin/bash -c 'ls -l /etc/profile.d/'"`
@MahdiGhiasi `entrypoint: "/bin/bash -c 'ls -ld /etc/profile.d/; ls -ld /etc; ls -ld /'"`
@MahdiGhiasi `entrypoint: "/bin/bash -c '[ -r /etc/profile.d/graylog.sh ] && echo YEAH'"`
@MahdiGhiasi hmm, that's weird.. And for now I'm out of ideas. Maybe some one else? Which docker version are you running?
@MahdiGhiasi I still have no idea what's causing this, but out of the blue, could you try this for me? `entrypoint: "/bin/cat /etc/profile.d/graylog.sh"`
@pschichtel Thanks! That makes a lot of sense. For reference, it's this comment: https://github.com/adoptium/containers/issues/215#issuecomment-1142046045 in particular OK, so I guess we can close this case. Unless we need to support...
@MahdiGhiasi Can you update your docker version? If not, you can try running it unconfined as workaround: https://stackoverflow.com/questions/46053672/set-secomp-to-unconfined-in-docker-compose
Great. I'm gonna keep this open in case more people are running into this. In the worst case we could switch to the temurin `focal` docker images.