Live data from Hacker News

Ubuntu 16.04 (Xenial Xerus)

releases.ubuntu.com

261–270 of 303 posts

Re: Ubuntu 16.04 (Xenial Xerus)

#261
post #80

Earlier quoted context omitted.

Upstart provided comparable service for years. There was no reason to use bash scripts and watchdogs / restarters before.

Yes, there was a reason: Having to support other distros. The big deal now is that all the major distributions support the same mechanism.

I'm talking about the time when other distros were already on systemd, but ubuntu wasn't. Of course we needed shell scripts before that.

Re: Ubuntu 16.04 (Xenial Xerus)

#262

Earlier quoted context omitted.

Upstart provided comparable service for years. There was no reason to use bash scripts and watchdogs / restarters before.

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

That was always an option. It's the same for systemd - you can always configure: `ExecStart=/etc/init.d/something start`. But the context of the comment was - you as a developer writing the config. And you can do it the modern/proper way instead with both upstart and systemd.

Re: Ubuntu 16.04 (Xenial Xerus)

#263

Say what you will about Canonical, their whimsical naming scheme has helped expand my vocabulary of both obscure African mammals and little-used adjectives.

17.10 might switch to flowers and "Apologetic Anemone" is a proposed name :-)

Abused Albatross? ;[

Afflicted Ass?

Re: Ubuntu 16.04 (Xenial Xerus)

#264
post #199

Earlier quoted context omitted.

Which of course still leaves OS X, *bsd, Solaris AFAIK. But it should cut down on the internal Linux incompatibilities a bit. I'm not a fan of systemd, but having one broken standard is much better than having four broken standards :-)

> Which of course still leaves OS X, bsd, Solaris AFAIK. AFAIUI OS X has launchd, and Solaris has OMF[1]? ... so basically the BSDs are the ones left behind? [1] I think that is the acronym for Solaris' XML-based standardized system service files? (I don't care that they're XML. It care that they're standardized .)

Solaris 10 and 11 have SMF

Re: Ubuntu 16.04 (Xenial Xerus)

#265

Earlier quoted context omitted.

But bash is installed by default if I'm not terribly mistaken, and it's classified as an essential package. If you put in a bash shebang, it should work.

I have seen several people use #!/bin/sh and write bash code. This is going to break on debian machines when you do ./foo If more people used #!/usr/bin/env bash, it wouldn't be that big of a deal.

And they would have non portable code.

If they wrote posix compatible shell scripts it wouldn't be any big deal because they'd just work.

Re: Ubuntu 16.04 (Xenial Xerus)

#266
post #36

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 pulseau…

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.

Re: Ubuntu 16.04 (Xenial Xerus)

#267

Earlier quoted context omitted.

HN coolkids downvoting advice that makes software more portable and reliable. What a fucking shock.

Unless you've actually tested it with a shell other than bash, you should be marking it as bash. Otherwise it's likely it will not actually be portable between shells, and you will have made your software less reliable. I've encountered many scripts written by developers on Fedora that totally fail over when run on Ubuntu specifically due to using #!/bin/sh when they really required #!/bin/bash.

Unless you've tested it as a shell script you should be marking it as a recipe for a banana cream pie.

I specifically said "Write clean, posix-compliant shell scripts"

Do the same developers write Java code in a .cpp file and wonder why it doesn't work? Or put Yes, you need to test to make sure that you wrote the correct things.

Re: Ubuntu 16.04 (Xenial Xerus)

#268

> 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

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.

Re: Ubuntu 16.04 (Xenial Xerus)

#269
post #229

Been using 16.04 on my XPS 13 for a week or so now, it finally supports nearly everything (bluetooth is a couple of extra commands) out of the box, and I've not had any issues so far.

how's the audio jack working, I got my XPS 15 last week, and planning to install ubuntu LTS once released. I read that audio jack is tricky to get working

I have an XPS 15 and can confirm the audio jack only works once with 15.10—once you unplug, audio is borked. I haven't tried 16.04 yet. Webcam and audio in also doesn't work, but everything else does (!). I initially tried linux mint, but the kernel was ancient, so latest ubuntu with `apt-get install cinnamon` is roughly the mint desktop experience with more recent packages.

Re: Ubuntu 16.04 (Xenial Xerus)

#270
post #36

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 pulseau…

> 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 :)

Post reply on HN