Giter Club home page Giter Club logo

Comments (7)

huan avatar huan commented on June 12, 2024 1

Hi all,

I'm terribly sorry for causing this problem with my mistake. I have sent a fix and hope this issue has been solved.

Please try the v1.2 that I have just re-published on the docker hub, which I have tested, and the /bin/execlineb should be OK now. (the tag with 1.3 was deleted)

Please feel free to let me know if there are still any problems. ( and PR is welcome )

Explanation

When I tried to build a multi-platform docker image with buildx (#76), I do not know how to select the s6-overlay with the right platform version in the Dockerfile with different platforms.

That's the time when I saw a nobin version in the s6-overlay release, which I thought it's platform-independent and I can just use it.

However, the nobin version is just the scripts without any binary, which will not be able to work, and that's the reason that makes this trouble for us.

See: The "nobin" variant is strictly the scripts of the s6-overlay, with absolutely no binaries.

from docker-simple-mail-forwarder.

zaneclaes avatar zaneclaes commented on June 12, 2024

Likewise. My cluster pulled the v1.2 image automatically, which would not even start.

I didn't have monitoring on the service, so my company's emails were broken for 2 days before I noticed.

I tried to downgrade to 1.1, but this old version appears to not have authentication support. If you exec -it the container and cat the entrypoint.sh, there is no reference to SMF_RELAYAUTH. Has the working version of this tool disappeared from docker? It seems like latest got overwritten, and now there is no working image.

from docker-simple-mail-forwarder.

zaneclaes avatar zaneclaes commented on June 12, 2024

I ended up checking out sha f50ed9693194ebe65d816825f1951921b792ec50 (from a few months ago), building it, and pushing to inzania/email:latest. This version supports SMF_RELAYAUTH and is working just like it used to be before the cluster update.

from docker-simple-mail-forwarder.

mikafouenski avatar mikafouenski commented on June 12, 2024

Hello I got the same issue...

I tracked down this issue to the update of the S6 overlay by this 08daf27.

❯ dco -f simple-mail-forwarder.yml run --rm --entrypoint /bin/bash mail
bash-5.0# ls /init
/init
bash-5.0# vi /init
bash-5.0# ls /bin/execlineb
ls: cannot access '/bin/execlineb': No such file or directory
bash-5.0# find / -name "execlineb"
/usr/bin/execlineb
bash-5.0# 

Every S6 script use /bin/execlineb as shell bang.

We need to split the overlay extraction as described on their page https://github.com/just-containers/s6-overlay#bin-and-sbin-are-symlinks .

Here https://github.com/huan/docker-simple-mail-forwarder/blob/master/Dockerfile#L34-L36

Mika

from docker-simple-mail-forwarder.

rfvgyhn avatar rfvgyhn commented on June 12, 2024

Looks like it's working now. Thanks for the quick-fix.

from docker-simple-mail-forwarder.

zaneclaes avatar zaneclaes commented on June 12, 2024

+1, back up and running. Thanks for all the hard work on this, @huan, it's great to have such a useful tool.

from docker-simple-mail-forwarder.

huan avatar huan commented on June 12, 2024

Great to know that everything back to normal now, cheers!

from docker-simple-mail-forwarder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.