4 ms·
Can you describe any better way that: - complies with the licensing - keeps users secure - will not require additional effort from the user I can't find one
by viraptor 15y ago
Can you describe any better way that:
- complies with the licensing
- keeps users secure
- will not require additional effort from the user
I can't find one that doesn't involve showing some message and stopping mid-upgrade, which would cause lots of issues for automatic deployment.
- norswap 15y agoI have one: 1) Display a big bold red message on the user's console or package manager explaining what is happening. 2) Offer to install openJDK as a default action. 3) Profit ?
- mdeslaur 15y agoOnce the browser plugin gets uninstalled by the package update, visiting a web site that requires a Java plugin will cause the browser to automatically suggest installing OpenJDK/icedtea-plugin.
- saurik 15y agoMultiple times in this discussion thread you have talked about the plugin, but the comment about forcibly removing (as opposed to just disabling) has to do with the JDK, not the plugin. Yes: interactive systems where a user is staring at a web browser designed to download and install plugins is a simple situation to handle. However, servers that are running mail processing backends or websites are entirely different animals.
- mdeslaur 15y agoWe are only forcibly removing the plugin for now. Hopefully you will no longer be running your mail servers on an ancient JDK that contains multiple security issues once we do decide to remove it. Believe me, I would have preferred to simply push out an update to the newest version.
- saurik 15y agoFor the record, I don't use this package at all (I do not currently use Java at all, in fact, although I have extensively in the past while tending sites running on Tomcat). However, all of my servers use Ubuntu, and the idea that removing the JDK is considered a security patch, which normally should "do no harm, add no features, change no behaviors, and only fix bugs", clearly underscores that the Ubuntu upgrade process is not safe. I mean, honestly, and you can say "that's stupid, you shouldn't do that, now your argument has jumped the shark", but this policy, if understood by actual users, would simply cause people to never install security updates at all. You want security updates to be a no-brainer: there should never be a downside to installing a security update; you don't want people second-guessing a security update because it might just uninstall the package entirely.
- sirclueless 15y agoOn the other hand, you don't want thousands of people left with out-of-date versions of the sun JDK. Suppose that a critical vulnerability was found in the last version of the Sun JDK plugin that still had the DLJ? Would you then support removing it in a security update? Leaving browser plugins that can't legally be upgraded laying around people's systems is a severe security flaw, so the decision to invasively remove it is definitely the best option.
- freehunter 15y agoHow about leaving it installed, not allowing it to be reinstalled, and showing a notification that the software needs to be upgraded manually?
- davidpitkin 15y agoLeaving the old Java installed means the security risk is still there, that's not a very good work around.
- mdeslaur 15y agoThis only works if the person who sees the notification is actually in a position to make a conscious decision on the risk of leaving it installed, and possesses the technical knowledge required to manually install it.
- saurik 15y ago...so we are saying that the person in charge of running security updates on production servers /is/ in a position to make a conscious decision on the (apparently now high) risk of installing what seems like a simple update, and possess the technical knowledge to figure out why suddenly nothing works anymore?... I mean, this isn't even something they could easily undo: the old packages won't be able to be distributed anymore. They would either have to manually install the SDK themselves in a way compatible with the Ubuntu package distribution, or install OpenJDK and hope for the best (which, as you yourself point out, is unlikely to work, as there is likely a reason they installed the Sun JDK in the first place).
- mdeslaur 15y agoYou can download all the previous versions here: https://launchpad.net/ubuntu/+source/sun-java6/+publishinghistory https://launchpad.net/ubuntu/+source/sun-java6/+publishinghi... Easy to undo if an insecure version is acceptable to you, and once installed, use apt pinning so it doesn't get upgraded anymore.
- 15y ago