Hi Steven, Thanks for reporting this serious issue. And yes, this is the right place to notify mesos users, which may potentially save many people a bunch of time while collecting more review comments on your PR. Also, It would be helpful to expose the risk of upgrading OpenJDK to mesos users.
Again, thanks for your PR. I will dig into it tomorrow and comment on the github pull request. Cheers, Gilbert On Wed, Apr 27, 2016 at 5:36 PM, Steven Schlansker < sschlans...@opentable.com> wrote: > Hello Mesos fans, > > I just wanted to alert you to a potentially disastrous incompatibility > introduced in the last few OpenJDK packages released for the popular > "openjdk-r" Ubuntu PPA. > > Per Debian bug 815475: > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815475 > > The OpenJDK packaging changed the virtual packages it provides. > Notably, it no longer provides "java-runtime-headless", which Mesos > depends on: > > http://bazaar.launchpad.net/%7Eopenjdk/openjdk/openjdk8/revision/672/debian/control > > This means that if you use the Mesosphere .deb packaging and the OpenJDK > Ubuntu / Debian repos, when you upgrade from < 8u77 to >= 8u77, the Mesos > package may be uninstalled. If you happen to run Puppet, it calls apt with > the "-f" force option by default, which will do all this without even > telling you... > > I believe I have a fix here: > https://github.com/mesosphere/mesos-deb-packaging/pull/77 > > I would love critical review -- this surprised us and crippled our > production clusters, and I got this out in a panic, so I am not 100% sure > it is the right fix... hopefully this note saves someone else a really > really > bad day. > > Wishing package management a slow and painful death, > Steven > > (PS... maybe this is good evidence that the Mesos project needs > more support around understanding packaging and distribution management) > >