3 ms·
Unless I'm misunderstanding, I think Chef has been doing this for years with omnibus packages. The reason we did this is that we had to support RHEL5/6 and old
by lamontcg 10y ago
Unless I'm misunderstanding, I think Chef has been doing this for years with omnibus packages.
The reason we did this is that we had to support RHEL5/6 and old Solaris and AIX distros.
We struggled for several years (and I personally struggled for at least a year) with supporting RHEL5 and it simply failed. That distro came with ruby-1.8.5 and upgrading it to even 1.8.7 was a major PITA. The ruby-1.9.2 in RHEL6 was also buggy and crashy and segfaulty and we didn't remotely have the resources to attempt to debug it and patch it for RedHat.
The reality is that we just wouldn't have been able to support those old distros at all.
I think there's a myth here that the human resources to support packaging and debugging apps against distro-supplied libraries and supporting packages magically appears out of thin air. It does not. As those supporting libraries age it consumes more and more time to support "back porting" onto aging versions of frameworks, which cannot be upgraded in the distro because of compatibility with other apps. That creates a large amount of serious shit work (seriously, nobody enjoys doing that) and open source doesn't make it magically appear.
I also think there's a misconception that user's have chosen to use those versions of software. Largely they've chosen that because they need the compatibility with a large body of their own custom in-house software and their internal porting effort is costly in time and labor. Largely they don't care if you install an upgraded version of supporting libraries so long as it doesn't impact any other running software and its contained.
For another example of software that has been doing this for years, check out vagrant.
Admittedly, there's issues with this since openssl vulnerabilities require the release of new software versions to upgrade the embedded version.
- digi_owl 10y agoI maintain that the best of both worlds is a scheme like Nix or Gobolinux. It allows multiple versions of libs to exist, without having each program come packed with half a distro.