-
Notifications
You must be signed in to change notification settings - Fork 212
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
If you install ImageMagick (or otherwise have a binary named import) services will not start #72
Comments
Some time ago I switched to GraphicsMagick because of this - it has a way more sane CLI. You basically take any ImageMagick command and prefix it with
and so on. |
Although I agree with @jprjr, we need to tackle this problem in order to avoid future collisions. There is a similar issue in alpine linux bug tracker, https://bugs.alpinelinux.org/issues/4504. Maybe we need to take the same approach as debian takes. |
bit by the same 🐛 |
same issue |
+1 |
After reading the Alpine bug report I have an idea for tackling this: We stop using
We'd have to bump this up as a major version and make it really, really clear in the release notes that upgrading means you have to edit your scripts. What do you think @glerchundi @skarnet ? I'm going to go ahead and replace the |
Hi @jprjr, i think this is ok as a temporary fix but the problem still remains until we do one of the following:
As you can guess, I would bet for option 1 ;) |
Hi @glerchundi, I think option 1 makes sense, we'd want to make sure I do think it would generally be a good idea to use |
prefer option 1. there may be other conflicts later, and we delete or rename the program later? |
Option 1 will break s6. For some tools in the s6 distribution to work, all execline binaries need to be accessible via a PATH search, even without an A real solution to the name conflict problem is to have a package manager system that, unlike FHS, can handle such conflicts. Slashpackage is one of them. If you are using a slashpackage installation for skalibs|execline|s6|... then you can use the suggested workaround and it won't break anything because s6 will hardcode the slashpackage absolute paths to execline's When you cannot use slashpackage, separate installation paths can be used as a substitute. In current Alpine edge (which Alpine 3.3 will be cut out of in a few days), execline binaries now reside in I would suggest to upgrade to Alpine edge and use |
I didn't use
Bitten by that decision, now depending on the order you place your binaries in your container import will point to execline's or imagemagick, which is weird, confusing and error-prone. |
- It uses a backward incompatible version of skaware release which deploys everything in /bin instead of using /usr/bin. - In order to mitigate most of the issues with this backward incompatibility, /usr/bin/execlineb, the interpreter used in the user-facing part of the docker images, is preserved in its place. It is just a symbolic link to the real binary in /bin/execlineb. - Rollbacked John's changes regarding to import/importas. - Also, it bumps skaware versions so that it would be possible to fix just-containers#97.
@smerrill PTAL and confirm if it works for you. (Sorry for closing this, i didn't know that github automatically closes the issues you references in the commit messages). |
BTW I tested it and this error disappeared, @smerrill pls confirm my observation |
i tested it and it works, closing this. |
You'll get messages like this when you try to run the container since it is invoking the
/usr/bin/import
binary in all the s6-overlay scripts that call import.Any ideas on what the best way would be to fix this?
The text was updated successfully, but these errors were encountered: