-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Move to Debian 8 instead of using Debian 7 for building beats #11750
Comments
See PR elastic/golang-crossbuild#19 |
Debian 7 EOL was April 26, 2016. Debian 8 EOL has passed, June 6, 2018, and moving to Debian 8 will not improve the situation. [1] EDIT: Well, somewhat improved situation since Debian 8 will also receive Long Term Support for five years after its initial release with support ending on June 30, 2020. The supported architectures include amd64, i386, armel and armhf. [2] My point is - why not skip ahead if you are going to break peoples assumption about what OS underpins the libc dependency why do it in a way that would force you to do the same change within less than one year? |
@hholst80 All valids points, what we want to do initially is to assess our matrix to make sure what kind of jumps we can do. I will update the description with your suggestion. |
@mikemadden42 You might want to have that on your radar. |
Thanks @ph ; I'll keep this on my radar. |
Does it make sense to consider switching to something other than Debian? CentOS 7 is supported for 10 years, and builds should be pretty compatible. Ubuntu also touts 10 years of support, but the last 5 years are marked Extended security maintenance for customers. This may mean updates only for paid customers? |
If we choose to move from Debian 7, we need to be mindful of glibc versions. If we move to a distro with a newer glibc, binaries built on that operating system will not run on distros with an older glibc version. For example, if we move to centos 7 for builds, binaries will no longer run on ubuntu 12.04.
|
Havign run into more problems with debian 7 based build I have had a quick look into glibc and building via debian8. For building I think we can safely switch to either debian 8 or centos 7. For reference see ABI/API compatibility: https://abi-laboratory.pro/?view=timeline&l=glibc Glibc differences (2.12 - 2.19):
Notes:
For testing I used filebeat, by cross building and packaging Filebeat with an debian 8 image. I did unpack and run filebeat from the tar.gz on centos 6 and debian 7 without any problems. Checking the filebeat binaries build on debian 7, debian 8, and archlinux (glibc 2.31) via |
I think we can close this one |
Debian 7 life has ended, our build process depends on Debian7 to build the artifacts since we want to make sure we have an older version of libc. So we have to take the following decision:
Either we move from Debian 7 to Debian8, we already build our dockers images on top of it. (
Or if we want to make sure to have an older version of libc around we might consider using Centos for our base docker images instead.
Skip ahead of Debian8 for libc dependency.
The text was updated successfully, but these errors were encountered: