Readit News logoReadit News
Rezo · 9 years ago
PSA: If you're running a HTTP/2 server like NGINX on the 14.04 LTS you'll want to upgrade to this release.

Google Chrome will no longer support HTTP/2 on vanilla 14.04 after May 15th [0], even if you're using the latest official upstream NGINX packages. This is because 14.04 ships with a version of OpenSSL that does not support the ALPN extension (prior to OpenSSL 1.0.2 you're limited to NPN, now deprecated). There was a bit of back-and-forth about the exact date, as the change was originally scheduled for earlier. However, Chrome decided to specifically push back the date so that there would be an Ubuntu LTS release available with the required support [1]. If you're still stuck on SPDY, that's going to be dropped too, so there's really no good reason not to simply use HTTP/2 at this point.

[0] http://blog.chromium.org/2016/02/transitioning-from-spdy-to-...

[1] https://bugs.chromium.org/p/chromium/issues/detail?id=557197

fideloper · 9 years ago
It looks like Ubuntu 16.04 comes with Nginx 1.9.15, which is both not the latest stable release (it's a development, aka MAINLINE, release, although Nginx development branch is pretty stable) and it's one minor version ahead of Nginx's own development PPA, which is at 1.9.14.

The ppa[1] notes there's a newer version[2] also

[1] https://launchpad.net/~nginx/+archive/ubuntu/development [2] https://launchpad.net/ubuntu/+source/nginx/1.9.15-0ubuntu1

anonova · 9 years ago
No, many people get this wrong. Mainline is stable, and http://hg.nginx.org/nginx/ is dev. The labeled stable version is for distros that have strict upgrade policies.

nginx recommends using mainline over stable: "We recommend that in general you deploy the NGINX mainline branch at all times." [1]

[1]: https://www.nginx.com/blog/nginx-1-6-1-7-released/

ProblemFactory · 9 years ago
In the release notes they mention that they will upgrade to Nginx 1.10 when it is released: https://wiki.ubuntu.com/XenialXerus/ReleaseNotes#Nginx
rlpb · 9 years ago
> It looks like Ubuntu 16.04 comes with Nginx 1.9.15, which is both not the latest stable release (it's a development, aka MAINLINE, release, although Nginx development branch is pretty stable)

The stable branch will fork from the mainline branch shortly. The version shipped in 16.04 is very close to what the stable will be, because the fork hadn't taken place before 16.04's release. I expect there to be very few changes, which is why (as someone else pointed out) we expect to update 16.04 to the stable branch as soon as it is available.

> The ppa[1] notes there's a newer version[2] also

That's just noting that the version released in 16.04 is newer than the version provided in the PPA.

> Nginx's own development PPA

Actually it's a PPA maintained by a team that care about Nginx's availability in Ubuntu. In this case, the uploads to that PPA were made by the very same person who looks after the official Ubuntu Nginx packages available to Ubuntu users by default.

qznc · 9 years ago
If you use 14.04, you usually upgrade at the first point release to 16.04.01, not now at 16.04.00. Only 15.10 will immediately suggest an update.

Is this outdated or not applicable to servers?

Rezo · 9 years ago
That is correct, upgrades are not enabled between LTS releases at this time, also for servers AFAIK.

Either way, personally I would never upgrade a server in place these days. Treat your servers like cattle not pets: Rebuild from new base image, validate, put into LB/proxy, terminate old stack.

collinmanderson · 9 years ago
You should hold off doing in-place upgrades using "do-release-upgrade" until 16.04.1 (due August/September).

However, you can also "upgrade" your stack by building a new image using 16.04 from scratch, and that doesn't need to wait until 16.04.1.

Thaxll · 9 years ago
For some softwares like Nginx you should use official repo from the Nginx team and not rely on your distro repos.

http://nginx.org/en/linux_packages.html

zachberger · 9 years ago
If you re-read the parent comment even using the official repo from n nginx team you will be impacted. The issue is with OpenSSL not nginx.
collyw · 9 years ago
Care to explain why? There is a huge amount of provisioning and deployment software that relies on distro repos.
collinmanderson · 9 years ago
To be clear though, at the moment (before May 15th), there is still better browser support for SPDY than for HTTP/2:

http://caniuse.com/#feat=spdy (77.39% global)

http://caniuse.com/#feat=http2 (70.15% global)

dajohnson89 · 9 years ago
Why isn't just upgrading OpenSSL to version 1.0.2 enough? Seems easier than a wholesale OS upgrade.
the_why_of_y · 9 years ago
With OpenSSL's complete lack of anything resembling a stable ABI, and it's popularity, there is no meaningful difference between an OpenSSL upgrade and a wholesale OS upgrade.
bryanlarsen · 9 years ago
Is http2 supported on xenial now? It wasn't as of beta1 -- http2 was considered 'experimental' and wasn't included in the builds. We're using the PPA instead.
bpeebles · 9 years ago
My understanding is that HTTP2 support in Apache was held out of Xenial but may be included later.[0] nginx in Xenial does have HTTP/2 support but no SPDY.

[0] https://wiki.ubuntu.com/XenialXerus/ReleaseNotes#HTTP.2F2_su...

Rezo · 9 years ago
Xenial seems to include nginx 1.9.15 and OpenSSL 1.0.2, so it should fully support HTTP/2. Personally I would still use the official upstream nginx packages.
joering2 · 9 years ago
> Google Chrome will no longer support HTTP/2 on vanilla 14.04 after May 15th

Doe this mean 14.04 with Apache 2.2 is affected? Their blog doesnt explain and leave plenty of people confused...

yAnonymous · 9 years ago
I don't think so. If it was, half the internet would go down for Chrome users.
ivank · 9 years ago
Notes from my 15.10 -> 16.04 upgrade:

1) If you use the nvidia drivers from the graphics-drivers PPA, starting the default non-root X server will hang with no graphics output. Installing xserver-xorg-legacy fixes this.

2) LXC+Linux 4.4 seems to be very broken: https://github.com/lxc/lxd/issues/1666#issuecomment-21290311...

3) Pulseaudio now uses shared memory and playing audio inside a firejail will break the pulseaudio server: https://github.com/netblue30/firejail/issues/69#issuecomment...

josteink · 9 years ago
> LXC+Linux 4.4 seems to be very broken

Seeing as my main use for my current 14.04 install is LXC containers, I think I will hold off a little then.

Thanks for the warning :)

cyphar · 9 years ago
Yeah, we've seen similar issues with runC on point 2. I don't think it's an upstream kernel issue as it didn't happen on openSUSE Tumbleweed when we had 4.4 (we're on 4.5 now). So presumably it's some patch Ubuntu applies.
Pengwin · 9 years ago
no new ubuntu release would be complete without graphics issues from Nvidia and AMD. I say AMD too because FGLRX is out of 16.04.

After all the Issues i had with intel/amd/nvidia stiwching gpus in the ivy bridge days i just gave up buying nvidia and AMD, and boy has it made linux easier.

nailer · 9 years ago
For anyone packaging software on Linux, this now means every major distro - Debian, RHEL/CentOS, Arch and now Ubuntu - supports .service files.

No need for bash scripts, custom watchdog and daemonise tools, etc.

stephenr · 9 years ago
> No need for bash scripts

Friends don't let friends write shell scripts targeting bash.

For context: Bash is not available|installed everywhere, and has some inter-version weirdness.

Write clean, posix-compliant shell scripts (i.e. target /bin/sh commonly referred to as bourne shell) and you're in a much better position.

On Debian your script will be run by Dash, on OS X it will be run by Bash, on Ubuntu or RedHat it could be different again, but the point is, they are specifically running in POSIX mode, so that you get reliable, reproducible results across systems and even across Bash versions.

kps · 9 years ago
And test them on a shell that isn't bash. Even with the --posix option bash accepts non-standard bashisms, particularly the execrable 'extension' of '>&'.
peatmoss · 9 years ago
You're getting downvoted to oblivion, but I'm old enough to remember not being able to take bash for granted. The default shell on some modern systems (OpenBSD for example) comes to mind as well. I feel this battle has mostly been lost, however.
ionelm · 9 years ago
> For context: Bash is not available|installed everywhere, and has some inter-version weirdness.

Can you cite some sources here? No one knows what you're talking about.

zzz157 · 9 years ago
Depends on the use case. There are cases where I don't know how I'd live without arrays/associative arrays. Performant regex matching is also quite nice.
ac · 9 years ago
Could you, please, explain what .service files are and how they eliminate the need for bash scripts etc? Couldn't find anything in search results.
praseodym · 9 years ago
systemd services, that replace traditional init.d scripts and provide watchdog options, daemonising, etc.

https://www.freedesktop.org/software/systemd/man/systemd.ser...

atonse · 9 years ago
This is pretty much the only reason I've been waiting for 16.04 – to get rid of upstart scripts and standardize on systemd. Still going to wait for a couple months while people iron out initial bugs but definitely excited about this release.
listic · 9 years ago
> to wait for a couple months while people iron out initial bugs

There's going to be a 16.04.1 release just 3 months away from the initial LTS release; I believe it is just for that.

https://wiki.ubuntu.com/TrustyTahr/ReleaseSchedule - this schedule is for 14.04, but I believe it's been the same for quite a few years already.

soccerdave · 9 years ago
I wonder how big the installation of Amazon Linux is? They are still not on systemd. Also, CentOS 6 still has support for 4 more years so probably can't throw away all the bash yet.
falcolas · 9 years ago
Very good points. Amazon linux is pretty popular within AWS, and LTS CentOS and RHEL have huge install bases for larger corporate environments.

For that matter, Ubuntu 14.04 is still supported for another two years, and that's still upstart.

viraptor · 9 years ago
Upstart provided comparable service for years. There was no reason to use bash scripts and watchdogs / restarters before.
vidarh · 9 years ago
Yes, there was a reason: Having to support other distros.

The big deal now is that all the major distributions support the same mechanism.

lomnakkus · 9 years ago
Except upstart actually allowed shell code in its configuration files[1]. Now, it did have the "exec" stanza which was far cleaner, but if you look through what Ubuntu actually did in practice, I think you'll find quite a lot of "script" stanzas in there.

[1] http://upstart.ubuntu.com/cookbook/#script

simplicio · 9 years ago
Say what you will about Canonical, their whimsical naming scheme has helped expand my vocabulary of both obscure African mammals and little-used adjectives.
bad_user · 9 years ago
17.10 might switch to flowers and "Apologetic Anemone" is a proposed name :-)
colordrops · 9 years ago
Anemone is also a sea animal.
Redoubts · 9 years ago
I was hoping for Aachen Aardvark
zzz157 · 9 years ago
Abused Albatross? ;[

Afflicted Ass?

neoeldex · 9 years ago
What is going to happen when they land at Z? The end of Ubuntu as we know it? :P
dz0ny · 9 years ago
Mozilla will release Firefox directly via snaps

https://blog.mozilla.org/futurereleases/2016/04/21/firefox-d...

symtos · 9 years ago
Using binaries provided by Mozilla is not a good idea (unless they do things differently with the snaps). They are not hardened in any way; ie. no PIE (rendering ASLR pretty much useless), no stack canaries, no relro, ..., making it a lot easier to exploit any given sec-related bug.

  $ hardening-check ./firefox
  ./firefox:
   Position Independent Executable: no, normal executable!
   Stack protected: no, not found!
   Fortify Source functions: no, only unprotected functions found!
   Read-only relocations: no, not found!
   Immediate binding: no, not found!
Absolutely ridiculous given the amount of vulns likely to linger in its codebase.

It should also be noted that Firefox is one of the few packages that Canonical keeps aligned with Mozilla releases (even 12.04 LTS has the latest firefox), and:

  $ hardening-check /usr/lib/firefox/firefox
  /usr/lib/firefox/firefox:
   Position Independent Executable: yes
   Stack protected: yes
   Fortify Source functions: yes (some protected functions found)
   Read-only relocations: yes
   Immediate binding: yes

cat-dev-null · 9 years ago
More "innovations" which "justify" their own existence with novelty, but eliminate useful properties, backward compatibility, interoperability and standards with blissful ignorance. Standardization is a Good Thing(TM)... many formats creates a confusing dependency hell across multiple systems. Deb/apt works well. This will be deprecated in 6 months after a major security incident. Canonical is mismanaged and capricious, and this is just another in a long line of examples.
hansjorg · 9 years ago
What is the significance of this? Doesn't Canonical already update the package (lagging a day or two behind the official release) for the lifetime of the Ubuntu version?
takno · 9 years ago
I'd guess that Firefox is a fairly good candidate for this kind of packaging just because it has relatively few external dependencies, and lots of Mozilla-specific dependencies which are rarely used by other software
rawfan · 9 years ago
Firefox is going to be used as a testbed for snap packages.
stubish · 9 years ago
It will be Firefox, in a sandbox, out of the box.
aus_ · 9 years ago
Notably, Xenial is also the first release to bring support for s390x architecture (ie mainframes).

[0]: https://insights.ubuntu.com/2015/08/17/ibm-and-canonical-pla...

[1]: https://help.ubuntu.com/16.04/installation-guide/s390x/

noisy_boy · 9 years ago
> Online searches in the dash are now disabled by default [1]

A welcome and saner default. I'm thinking of moving back to Ubuntu from LinuxMint (I was thinking of Arch as well but not too confident of being on the bleeding edge).

[1]: https://wiki.ubuntu.com/XenialXerus/ReleaseNotes

zanny · 9 years ago
As someone who has used Arch for 4 years, the bleeding edge got boring. I haven't had a major breakage in at least a year, probably longer, unless you count KDE 4 -> 5 being a breakage - one any 14.04 to 16.04 upgrader will also have to contend with.

The last major show stopper I can recall was when Arch dropped security hooks from the kernel and I had to get rid of my MAC.

Diederich · 9 years ago
Besides the default online dash searches pre-Xenial, do you mind sharing what other changes are allowing you to consider moving back?
Pengwin · 9 years ago
All my experiences running mint have amounted to a broken and out of date distribution which has poor hardware support. I hope it has become better wince those days (i believe it was the initial release of MATE) but I see no reason to use mint when you know enough about a Debian based distro to pick and choose what you really want.
takno · 9 years ago
I never moved to mint, but I did recommend trying it to some people who really didn't like unity. I pretty much stopped doing that when they had the security issues last year. Is that what is prompting you to look at switching back, or are you just more reconciled to unity in general now?
noisy_boy · 9 years ago
That is one and I read online (can't find the source now) that Mint development doesn't respect compatibility/play well with other open source developers. I don't know how much of it is true but for me, compatibility is important. For almost 5-6 years, I have never formatted my home directory. So if my distribution is, for example, creating config in a non-compatible fashion, I won't be able to move to another distro. I know that typically distros don't modify individual program's dotfile/config etc but I guess I'm a bit paranoid about it.
dorfsmay · 9 years ago
If one wants Ubuntu and GNOME, there's

https://ubuntugnome.org/

mhw · 9 years ago
Release notes: https://wiki.ubuntu.com/XenialXerus/ReleaseNotes

Always worth a read before you fire up the installer...