Live data from Hacker News

Ask HN: What do you want to see in Ubuntu 17.10?

news.ycombinator.com

811–820 of 1001 posts

Re: Ask HN: What do you want to see in Ubuntu 17.10?

#811
post #778
post #747

Flavour: Ubuntu Server Headline: Dump ZFS on Linux Affiliation: Containers @ Netflix Description: ZFS On Linux is poorly integrated mess through the SPL. Memory management is an active detractor from performance, stability, and operations. It's unlikely that it's ever going to be "native" on Linux. Even more unlikely is its integration into upstream. Unfortunately, ZoL, unlike other out of tree additions Canonical ha…

> Whoever seems to be singing the praises of ZFS on Linux hasn't put it through its paces in modern, multi-tenant container workloads. I ran a Hadoop Cluster with it? Does that count? Your problem is probably the ARC and memory problems due to slow shrinking or stuff like that? There is some work or at least the intention to use the pagecache infrastructure for the ARC to make things more smooth. However at the momen…

No, specifically multi-tenant, cgroups workloads. It works great for single-tenant workloads, esp. when you can tune the ARC to your workload. I know some folks who run it for large data workloads, and it works awesome for them. Unfortunately, our large container workload hasn't had the same luck.

The issues I've hit are the following:

https://github.com/zfsonlinux/zfs/issues/5814

https://github.com/zfsonlinux/zfs/issues/5535

Unfortunately, these problems stem from page faults occurring inside of VM that propagate to ZFS. If the fault occurs during cgroup memory pressure, ZFS / SPL may fail to allocate memory. ZFS will never get out of this case unless memory is freed up elsewhere in the hierarchy.

The other issue we had was with ZFS integration. There are a few symbols around mounts that are exported GPL only, and they interfere with volume GC, and mounting, causing some issues with standard tools like Systemd, and others.

For the most part, our container applications are stateless, or soft state, in this, we don't rely on RAID1, 5, 6, etc... but instead RAID0, or no RAID at all. If we detect a bad disk, we'd rather just evacuate the containers, and restore state later.

I'd love to hear about your experience with BtrFS. What issues have you seen with it (single disk, or RAID0 -- I know RAID1, 5, and 6 are hokey at best)? How did the project handle your issues?

Re: Ask HN: What do you want to see in Ubuntu 17.10?

#812

- FLAVOR: Ubuntu Desktop - HEADLINE: More stable dock/undock and sleep/wake handling. - DESCRIPTION: I've noticed that my system often hangs unrecoverably with a blank screen during dock/undock and sleep/wake events. I've learned, though, that I can reduce the likelihood of having problems by trying to minimize the number of state changes that the system has to handle at once. For example, if I'm leaving the house wi…

It's kind of crazy how long this has been a problem and across many different hardware configs. Sleep doesn't work on my desktop or on a windows laptop with standard intel everything.

As a side note, the same issue persist on Windows with HP current gen EliteBook and Office. Everytime I undock the notebook, MS Outlook gets disconnected and it simply refuses to reconnect. The only option is to close Outlook and open it again - but waiting 30s between closing and starting again otherwise some locks on the PST file are still in place and Outlook would hang on start forever. The only way to fix it then, is by a Windows reboot. That they killed the QA department was the dumbest idea ever, now things are so buggy.

Re: Ask HN: What do you want to see in Ubuntu 17.10?

#813
FLAVOR: all

HEADLINE: Dump SystemD

DESCRIPTION: I know this sounds like a nutcacke request, but Ubuntu has missed the opportunity of creating viable systemd competition. This is easier than writing an alternate display server. We are stuck with systemd monoculture which increases complexity and causes breakage for no good reason. There are other well tought init systems like openrc or runit.

ROLE/AFFILIATION: Software developer, sysadmin

Re: Ask HN: What do you want to see in Ubuntu 17.10?

#814
post #557

- FLAVOR: Ubuntu Server - HEADLINE: Built-in support for installing up-to-date packages - DESCRIPTION: Currently, `apt install [package]` on LTS Ubuntu will install a package that is up to 24 months out of date (or more if you're not on the latest LTS). Literally one month ago, using the latest version of Windows 10, I installed Ubuntu for Windows (which installed Ubuntu 14.04 LTS), and `apt-get install nodejs` insta…

The entire point of LTS is that things don't change. Security features are back ported, but you're on Node 0.10 because when 14.04 was released it included Node 0.10. You have an old version of youtube-dl because that's what was available at the time. You use an LTS release when you want to do 'apt-get upgrade' and not change anything. No new features, no deprecated features, no changes other than back ported bug and…

For one thing: Non-LTS versions of Ubuntu have the same problem, just replace "24 months" with "6 months".

For another thing: LTS Ubuntu is the recommended version of Ubuntu: https://www.ubuntu.com/download/desktop

New users going into Ubuntu have no clue that going to ubuntu.com and clicking "Download" will give them an incredibly out-of-date OS.

> The entire point of LTS is that things _don't_ change.

That's not the root problem.

The root problem is that people want non-broken software, and updates sometimes break things.

LTS is one workaround, by committing to make as few updates as possible (mostly only high-impact security patches), you limit the likelihood that updates will break things.

But the problem is, not having updates also breaks things. `youtube-dl` is my usual example. Others include that having an old version of Node will break software that expects newer versions of Node.

The solution I'm proposing is to let the user choose whether or not they want up-to-date software on a case-by-case basis. I did not expect this to be so controversial.

> 1. Install stuff yourself

This is not a suggested solution, this is the problem we are trying to find solutions for.

> 2. Use a backports PPA or vendor packages

> 3. Use a more specific package manager (e.g. pip for python, cpan for perl, npm for node, etc)

These are workarounds that are MUCH less usable than just using the distro's built-in package manager. It is true that I can do this (mostly, I just build from source), but what I am asking is a way to make this easier, because it is a common problem that everyone has, and because it's the entire problem that a package manager is supposed to solve in the first place.

> 4. Update your servers more than once every four years

> If you want the latest version of software, you need to not use the LTS version, and you need to update to the newer releases as they're released, because the entire point of LTS is not to do the thing you're asking to do.

Sometimes, you want some of your software to change and other software not to change. The job of a computer is to do what the user wants it to do, is it not?

Like, if I'm using LTS, it's presumably because of something like "wifi works on this exact combination of system software and I don't want to risk it breaking with a random update". So the default would be to install software from a known working system. But I should be able to explicitly opt into installing other up-to-date software; keep my browser up-to-date and all that.

That's why I'm proposing a new command, so you can type in something like `apt-get install-latest youtube-dl` and get the latest version. `apt-get install` would still work the same as before.

Re: Ask HN: What do you want to see in Ubuntu 17.10?

#815
post #607

- FLAVOR: Ubuntu Server - HEADLINE: First boot post-install hook - DESCRIPTION: There is currently no clean way to have a script run only once post-install, first boot. There are hacks for making this work to a degree, including things like self-deleting init scripts. I would most prefer to see this hook officially supported in robust way. - ROLE/AFFILIATION: Systems Engineer

Do you mean like ConditionFirstBoot? * http://manpages.ubuntu.com/manpages/zesty/man5/systemd.unit....

The docs say the test is if /etc is empty. Most packages provide some kind of defaults in /etc when they're installed - wouldn't that mean this never triggers?

Re: Ask HN: What do you want to see in Ubuntu 17.10?

#816
post #557

- FLAVOR: Ubuntu Server - HEADLINE: Built-in support for installing up-to-date packages - DESCRIPTION: Currently, `apt install [package]` on LTS Ubuntu will install a package that is up to 24 months out of date (or more if you're not on the latest LTS). Literally one month ago, using the latest version of Windows 10, I installed Ubuntu for Windows (which installed Ubuntu 14.04 LTS), and `apt-get install nodejs` insta…

Things are supposed to be stable if you're running an LTS, you savage! If you want everything bleeding edge, then use Arch Linux, not an Ubuntu LTS. Good god man. Also I love the incredible specificity of your "ROLE/AFFILIATION". Top 2000, eh? Heh.

I feel like it's very common to want some things to be stable and other things to be bleeding edge. Like, why are my only two choices "everything out of date" or "everything bleeding edge"? Why not make software for actual humans to use? I remember that being Ubuntu's motto.

Like, I presume it's pretty common for an actual human not to want their wifi to be bricked by an update. I presume it's also pretty common for an actual human to want a version of `youtube-dl` that works. It seems user-hostile to force a user to choose one or the other.

And before you say "but PPAs", PPAs are a workaround that have various flaws (you need to use google and copy/paste code, instead of just using your package manager as a package manager) (and they're only available for certain repositories) (and many of them are unofficial). Ubuntu/Debian already maintain up-to-date repositories, why not just allow users to selectively install software from them?

(I wasn't sure what to put for ROLE/AFFILIATION, honestly; I saw other people being vaguely specific and I tried to copy them)

Re: Ask HN: What do you want to see in Ubuntu 17.10?

#818
- FLAVOR: Ubuntu Desktop

- HEADLINE: Option to auto-hide the Unity top panel

- DESCRIPTION: The same way you can optionally auto-hide the Unity sidebar launcher, I wish I could do the same with the top panel for not having always go to F11 fullscreen mode to enjoy a distraction-free user experience. Screenshot: https://i.imgur.com/nmDsOMj.png

- ROLE/AFFILIATION: end user

Re: Ask HN: What do you want to see in Ubuntu 17.10?

#819

FLAVOR: Ubuntu Desktop HEADLINE: High quality Bluetooth sound by default DESCRIPTION: Tried bluetooth sound in Ubuntu 16.04 for the first time yesterday and the sound was horrible! Apparently I need to do some configuration to get it working properly. Not needed on android. Soundblaster Jam headset. FLAVOR: Ubuntu Desktop HEADLINE: Improved battery performance FLAVOR: Ubuntu Desktop HEADLINE: More stable and polished…

For updated nodejs packages, try NodeSource. https://github.com/nodesource/distributions/#debinstall

They have a shitty curl|sh installer script, but it should be possible to extract a regular deb line and gpg key out of it.

Re: Ask HN: What do you want to see in Ubuntu 17.10?

#820

FLAVOR: All HEADLINE: Allow safe sensible package fixes DESCRIPTION: Sometimes the distribution version of a package is broken and the problem is marked WONTFIX because it involves a version bump, even in the case where it is not a library or the version bump is only there to fix a typo in a config file. This is extremely frustrating for end users when they learn that mplayer will never have GUI support in any versio…

I don't follow Ubuntu packaging policies specifically but isn't this what the $RELEASE-backports suites are for?
Post reply on HN