News for hackers. Stuff that matters.
Re:Flatpak 1.0 Released, Ready for Prime Time by ddevault on Monday August 20, 2018 @09:25AM (#17799680)
Ready to ruin the security of Linux, you mean. The split between package vendor and package maintainer has classically been the primary reason for malware being rare on Linux. Getting maintainers out of the loop for auditing packages, ensuring security updates go out, etc - is an awful idea. Sandboxing applications is great, but it can be done without subverting the package manager.
Re:Flatpak 1.0 Released, Ready for Prime Time by akerro on Monday August 20, 2018 @10:15AM (#17800034)
There are several linux distros, I'm a single OSS developer. I once tried making my program available for Debian (deb), Ubuntu (ppa) and Fedora (rpm). I ended up supporting only AUR. There are too many differences in packaging managers, different requirements, too many websites I have to register on, too many config files for each distro. Support from people who work as packagers is non-existent, questions on SO out of date, error and warning from packaging software misleading or completely useless. It's a huge mess, and if you think existing system is better than Flatpak/Snap/AppImage, I'm sure you haven't tried porting your software to top 6 distributions. Also, enjoy dependency hell, Debian has old Qt and PA, Mint has PA compiled without noise-cancelling flags, Ubuntu had SQLite3 with not working encryption, Fedora had backported Qt5 patch (old Qt with latest patch) witch fixed one issue, but broke CSS on Cancel/OK button group.

I welcome AppImage and Flatpak.

Re:Flatpak 1.0 Released, Ready for Prime Time by AnIdiotOnTheNet on Monday August 20, 2018 @10:23AM (#17800115)
> I'm sure you haven't tried porting your software to top 6 distributions

In his world developers don't do that, they throw a pile of source files into the wind and let package maintainers put it together for a distribution.

Re:Flatpak 1.0 Released, Ready for Prime Time by akerro on Monday August 20, 2018 @10:39AM (#17800257)
Yea, mainters also modify X-sofware, backport it, compile with different than tested compilation flags, remove patches they don't like, don't upgrade software for years or decades. Remember the time xscreensaver author asked Debian to remove it from their distro, added warning in GUI saying

_("Warning:\n\n" "This version of xscreensaver is VERY OLD!\n" "Please upgrade!\n" "\n" "http://www.jwz.org/xscreensaver/\n" "\n" "(If this is the latest version that your distro ships, then\n" "your distro is doing you a disservice. Build from source.)\n" ),

YES, THAT WHAT USERS WOULD SEE, if only Debian maintainer haven't removed this patch.

jwz.org/blog/2016/04/i-would-like-debian-to-stop-shipping-xscreensaver/

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=819703#84

Re:Flatpak 1.0 Released, Ready for Prime Time by digi_owl on Monday August 20, 2018 @01:01PM (#17801619)
And most of that come out of upstream not having a farts care about API stability!

Thus distros have to work around that by freezing lib versions and any software depending on said lib version for the support period of the distro release (5-10 years).

What is "funny" is that Debian here is doing no different from what RH had been doing with RHEL for ages, yet Debian gets all the flak...

Never mind that xscreensaver has a very prominent splash screen with JWZ's email on it on every launch. Maybe if he didn't want every idiot on the net emailing him, he should not show it in their face all the time. He may be brilliant in some ways, but sometimes he can be an raging asshole.

Hell, sometimes i wonder why he keeps supporting Linux as he seems to have no love for anything but Apple these days.

Re:Flatpak 1.0 Released, Ready for Prime Time by deathanatos on Monday August 20, 2018 @11:02AM (#17800506)
Note that jwz.org redirects any requests from HN to a rather NSFW Imgur picture. (Also filled w/ ad hominem attacks towards HN users.)

If you want to view the jwz.org link, copy the URL, and open it in Incognito.

Re:Flatpak 1.0 Released, Ready for Prime Time by akerro on Monday August 20, 2018 @11:22AM (#17800695)
Fixed by removing https://
Re:Flatpak 1.0 Released, Ready for Prime Time by jcelerier on Monday August 20, 2018 @12:24PM (#17801270)
I once had a maintainer remove random lines of code from my modern C++ codebase until it compiled on his old GCC / Qt combination. He then went on making bug reports of random segfaults on almost every user interaction.
Re:Flatpak 1.0 Released, Ready for Prime Time by oconnor663 on Monday August 20, 2018 @04:58PM (#17803901)
In their defense, if they remove enough lines, eventually the segfaults will go away.
Re:Flatpak 1.0 Released, Ready for Prime Time by oblio on Monday August 20, 2018 @10:28AM (#17800158)
And then your package reaches distributions 1-5-7 years later. I guess that's an acceptable software distribution practice. If you're still living in the 80's :D
Re:Flatpak 1.0 Released, Ready for Prime Time by digi_owl on Monday August 20, 2018 @01:06PM (#17801672)
Want things to make it into STABLE distros quicker, do not break APIs because the latest bling bling framework/language/whatever got released!
Re:Flatpak 1.0 Released, Ready for Prime Time by ris on Monday August 20, 2018 @03:02PM (#17802832)
There are many people who have got tired of wanting the absolute latest exciting version of their text editor, mail client, IRC client, spreadsheet and want things to just work and leave them alone. The larger part of me dreads debian upgrades these days.
Re:Flatpak 1.0 Released, Ready for Prime Time by FooBarWidget on Tuesday August 21, 2018 @04:31AM (#17808013)
What about the many people who do want the latest version of their text editor etc? Those people now have few options good options. Is it fair to force them to conform to your conservative standards?
Re:Flatpak 1.0 Released, Ready for Prime Time by matharmin on Monday August 20, 2018 @09:39AM (#17799770)
Package managers work well for the large proportion of software on Linux that is open-source, and has enough users to warrant the effort of packaging it separately for each distro, and doesn't require you to have the latest version (or specific older version) all the time.

However, there is still a large amount of software out there for which the above does not hold. That software is not currently being installed with a package manager - it is the curl | bash scripts you see all the time, as well as a whole bunch of other more manual methods of downloading and installing. It is this software that solutions like flatpack and snap are for, and it is improving both the security and usability in these cases.

Re:Flatpak 1.0 Released, Ready for Prime Time by v_lisivka on Monday August 20, 2018 @09:43AM (#17799791)
It improves usability only. It also creates false perception of security. Malware already found in NPM packages, AUR packages, and other packaging systems without maintainers.
Re:Flatpak 1.0 Released, Ready for Prime Time by Vinnl on Monday August 20, 2018 @10:13AM (#17800017)
Do you not think Flatpaks (and Snaps) are more secure than curl | bash scripts?
Re:Flatpak 1.0 Released, Ready for Prime Time by lugg on Monday August 20, 2018 @10:43AM (#17800300)
I suspect they provide a far more consistent attack surface for exploitation. One that likely won't change for many months in the case of some proprietary vendors.

So no. I don't, but that doesn't make curlbash good either.

Re:Flatpak 1.0 Released, Ready for Prime Time by detaro on Monday August 20, 2018 @09:56AM (#17799871)
Is the sandboxing in Flatpack completely useless then? Any details on this?
Re:Flatpak 1.0 Released, Ready for Prime Time by TingPing on Monday August 20, 2018 @10:27AM (#17800147)
It is a work in progress. A few packages are very secure but many have lax permissions for now.

There are big improvements coming like PipeWire, DConf sandboxing, etc but it will not happen over night.

Re:Flatpak 1.0 Released, Ready for Prime Time by v_lisivka on Monday August 20, 2018 @10:27AM (#17800155)
It depends. Historically, sandboxing used to protect from takeovers, because computer time and network bandwidth was costly. But today, user information is much more valuable than computer time. Flatpack partially protects from both attacks on system and on user data, but this protection is not perfect. We should expect that Flatpack protection is (or will be) on par with Android anit-malware protection.
Re:Flatpak 1.0 Released, Ready for Prime Time by deadbunny on Monday August 20, 2018 @10:01AM (#17799912)
Not the person you're replying to by you're intentionally being obtuse to try and prove a point he never argued.

v_lisivka never mentioned sandboxing as an issue. They were clearly talking about the fact it's a free for all user submitted repo which have a provable history of people adding malware.

Re:Flatpak 1.0 Released, Ready for Prime Time by detaro on Monday August 20, 2018 @10:12AM (#17800008)
The comparison above was vendor-provided install scripts.

From my understanding, Flatpak provides sandboxing and asks the user to confirm exceptions, which if it works reliably does seem like I win something security-wise going from "go to vendor website, use their installation script" to "go to vendor website, get their flatpak thing, know that it can't totally screw my system without me granting it exceptions".

Parent claims it's only a usability benefit, so I'd like to know details about the problems with its sandboxing (totally willing to accept that they exist, sandboxing is tricky and not a cure-all)

Re:Flatpak 1.0 Released, Ready for Prime Time by scrollaway on Monday August 20, 2018 @10:03AM (#17799939)
You're overly aggressive in your reply, GP just asked a legitimate question.
Re:Flatpak 1.0 Released, Ready for Prime Time by lugg on Monday August 20, 2018 @10:41AM (#17800275)
> That software is not currently being installed with a package manager - it is the curl | bash scripts you see all the time,

On Mac.

This is mostly a sovled problem on Linux. Hell even slackware has this mostly solved.

I will concede there is a lot of Linux users out there either misinformed or simply don't mind the hassle of upgrading via random curl scripts if at all.

Maybe it will help them? Maybe it will just increase the target size making exploitation more worthwhile / likely?

Who knows.

For me, if it's not in the Arch repos (or aur) I'm incredibly unlikely to install it, to the point I don't actually have any software installed out of band other than stuff I specifically work on.

Re:Flatpak 1.0 Released, Ready for Prime Time by nickik on Monday August 20, 2018 @10:20AM (#17800087)
The split might have some amount of minimal value, but it also has many problems. Just the insane amount of work spent, by literally 100s of different communities is almost beyond insane.

Massive amount of identical work that the WASTE majority of the time, does not improve anything for the end user.

Security should come from moving into well maintained platform, automatic scanners and many users. Instead of the package maintainers being the 'security reviewers' we should have app stores and sub repositories with security reviews.

Nothing stops a distro from only offering flatpaks from their own repo.

Centralizing and automating these things will allow for far better security processes in the long run.

Re:Flatpak 1.0 Released, Ready for Prime Time by oblio on Monday August 20, 2018 @10:25AM (#17800139)
Don't forget the craziness in /etc. Where do I edit the hostname? Where do I edit the network card configuration? How can I check the distribution name and its version number? Where are the configuration files for Nginx and how are they structured? Etc, ad nauseam.

Just try to do some of these steps on 2-3 versions (versions for non-rolling distributions) of each of the following distributions: RHEL, Debian, Ubuntu, Arch, Gentoo.

The Linux distribution ecosystem is insane.

Re:Flatpak 1.0 Released, Ready for Prime Time by AnIdiotOnTheNet on Monday August 20, 2018 @09:52AM (#17799845)
> The split between package vendor and package maintainer has classically been the primary reason for malware being rare on Linux.

It's also one of the reasons users and proprietary software have been rare on Linux.

Re:Flatpak 1.0 Released, Ready for Prime Time by dec0dedab0de on Monday August 20, 2018 @09:56AM (#17799877)
> The split between package vendor and package maintainer has classically been the primary reason for malware being rare on Linux.

It's also one of the reasons users and proprietary software have been rare on Linux.

It may be why proprietary software is lagging, but I think most users prefer an OS level package manager. They just didn't know about them until the Appstore.

Re:Flatpak 1.0 Released, Ready for Prime Time by digi_owl on Monday August 20, 2018 @01:16PM (#17801772)
IMO proprietary lags way more because you do not know if your chosen framework (unless it is Qt, heh) will function 5-10 years down the line with minimal investment in updates.

The Linux kernel is everywhere thanks to Torvalds (overly late in the opinions of some BSD devs) declaring the API/ABI sacrosanct, and holding the other kernel developers to that (much to the chagrin of some that want to do hail mary changes for sake of security or ego).

But the userspace above had been reimplemented again and again because the various libs and such are fundamentally unstable. In far too many cases you can even do a x.y.z+1 update without getting some kind of breakage.

Often because someone decided that spec adherence was more important than real life stability, and thus pushed a patch through that altered the API behavior to be more in line with a spec that nobody had complained about for a decade or more.

Re:Flatpak 1.0 Released, Ready for Prime Time by AnIdiotOnTheNet on Monday August 20, 2018 @10:03AM (#17799937)
Which is why everyone loves the Windows Appstore and uses it exclusively.

The Appstore works on phones and tablets because they are primarily consumption-only devices, and because users are not given any other choice (also, the installer/uninstaller model has a lot of its own suck). I don't know about you, but that's not what I want out of personal computing.

Re:Flatpak 1.0 Released, Ready for Prime Time by TingPing on Monday August 20, 2018 @10:54AM (#17800420)
Most complaints about the appstore revolve around things like it being slow, clunky, failing to work, being designed around DRM, forbidding win32 early on, etc.

Nobody is complaining that applications are in a central location.

Re:Flatpak 1.0 Released, Ready for Prime Time by blacksmith_tb on Monday August 20, 2018 @03:09PM (#17802891)
I am assuming that's sarcasm when it comes to Win10, but 'exclusively using the app store' comes closer to the truth for non-dev macOS users, at least that's my impression.
Re:Flatpak 1.0 Released, Ready for Prime Time by deadbunny on Monday August 20, 2018 @09:57AM (#17799881)
Strange. I have a whole load of proprietary software on my laptop, all installed via native packages.
Re:Flatpak 1.0 Released, Ready for Prime Time by ynniv on Monday August 20, 2018 @10:29AM (#17800163)
The packaging system has very little to do with user adoption of a more complicated interface, or the success of proprietary software in a purposely open system. From the user's standpoint, package management on Linux is usually just hitting the "update" or "install" buttons.

Edit: I have no idea why you think this is condescending.

Re:Flatpak 1.0 Released, Ready for Prime Time by AnIdiotOnTheNet on Monday August 20, 2018 @10:38AM (#17800247)
It's this kind of condescending attitude towards users that keeps Linux a non-option for people. What happens when a user wants to install something that isn't in the repo? Or do you just imagine that "average users" don't do that (and that no one else matters)?

Edit response: It is condescending because it imagines the user is incapable or uninterested in the way their system actually works, as a mere pusher of buttons to make the blinkenlights go. Sure, some users are like that, but largely it is a convenient excuse to dismiss criticism.

Re:Flatpak 1.0 Released, Ready for Prime Time by xorcist on Monday August 20, 2018 @10:53AM (#17800414)
Everything you say is completely applicable to Android as well, and it's not clear how that is making the platform a non-option for people. Very few people installs third party packages.

The market share of any PC desktop operating system has mostly to do with the type of office work that took place in the 90s, when computers took over.

That's slowly changing as the web is taking over, and Chromebooks, Android, Mac, and "regular" Linux desktops becomes a viable platform for sharing your work with others.

Re:Flatpak 1.0 Released, Ready for Prime Time by shittyadmin on Monday August 20, 2018 @11:57AM (#17800990)
On Android, software developers package applications and push directly to the repo - no 3rd party is involved for a packaging step. Developers have a high degree of control in the application's packaging.
Re:Flatpak 1.0 Released, Ready for Prime Time by AnIdiotOnTheNet on Monday August 20, 2018 @10:59AM (#17800472)
> Everything you say is completely applicable to Android as well, and it's not clear how that is making the platform a non-option for people. Very few people installs third party packages.

Consider that the usecase for a personal desktop computer may be different from that of a smartphone or tablet. There's more to personal computing than a web browser.

Re:Flatpak 1.0 Released, Ready for Prime Time by xorcist on Monday August 20, 2018 @11:31AM (#17800760)
Right, but the Android comparison was meant as a counter example to how packages outside the main repository being difficult to install is somehow a deal breaker to ordinary users. It's not. Desktop computer market share is mainly due to historical reasons.

Of course an easier to use third party packing system would make the desktop easier to use, but that's not where the pain points are. (Especially since most third party binary packaged software is just something you unpack and run.)

Even the most easy to use packaging system you could imagine wouldn't impact the Linux desktop market share measurably.

Re:Flatpak 1.0 Released, Ready for Prime Time by AnIdiotOnTheNet on Monday August 20, 2018 @12:14PM (#17801165)
> Desktop computer market share is mainly due to historical reasons.

Historical reasons like it being an open platform that developers could target without the requirement of third party approval, among other strengths.

Re:Flatpak 1.0 Released, Ready for Prime Time by IshKebab on Monday August 20, 2018 @01:22PM (#17801825)
Android is very different. You only need to make one file for many different stores, and that file is pretty trivial to install even if it isn't in a store.

Linux doesn't have anything like that traditionally. You have to make a deb, rpm, whatever Gentoo uses, etc. And ./configure && make && make install is laughably unintuitive.

Re:Flatpak 1.0 Released, Ready for Prime Time by digi_owl on Monday August 20, 2018 @05:58PM (#17804382)
It depends. If you use the NDK you have to make sure you can build for both x86 and ARM (the play store will hand out the relevant variant silently).

Also, Google have done some serious work to ensure at least some backwards compatibility (and providing a support library, that i fail to recall the exact name of, for backporting various functionality).

While the FOSS world seems to lean on "compile it" along with "lacking resources" as an excuse for not maintaining anything more than incidental compatibility across releases.

Re:Flatpak 1.0 Released, Ready for Prime Time by ynniv on Monday August 20, 2018 @10:53AM (#17800413)
What problems does Flatpak solve from a user perspective? Assume the user is already using Ubuntu, and will download and run any shell script without a second thought.
Re:Flatpak 1.0 Released, Ready for Prime Time by AnIdiotOnTheNet on Monday August 20, 2018 @11:01AM (#17800497)
That shell script may not actually work because it makes assumptions about the structure of the underlying OS that may have changed 10 minutes ago on the arbitrary whim of a distro developer.

The installer/uninstaller paradigm is almost as bad as the package manager paradigm in my opinion.

Re:Flatpak 1.0 Released, Ready for Prime Time by Sir_Cmpwn on Monday August 20, 2018 @12:00PM (#17801021)
Good. Proprietary software doesn't belong on Linux, or anywhere else for that matter.
Re:Flatpak 1.0 Released, Ready for Prime Time by gurkendoktor on Monday August 20, 2018 @09:43AM (#17799793)
But that doesn't really work for proprietary software. I use Flatpak/Snap for Spotify, IntelliJ, Slack etc. Audited packages are not really an alternative here, and (partially) sandboxed, distro-agnostic containers are the next best thing.
Re:Flatpak 1.0 Released, Ready for Prime Time by deadbunny on Monday August 20, 2018 @10:03AM (#17799929)
Sure it does. I add that companies repo to my sources and install their packages. I'm trusting their keys to install their software. I'm not trusting them to install software they have zero control over.
Re:Flatpak 1.0 Released, Ready for Prime Time by TingPing on Monday August 20, 2018 @10:29AM (#17800166)
Flatpak repos are GPG signed, nothing changes.
Re:Flatpak 1.0 Released, Ready for Prime Time by deadbunny on Monday August 20, 2018 @10:51AM (#17800385)
Yes it does. I go from trusting one vendor (with one key) to install one package (and dependencies) to one 3rd party repo (with one key) to install N packages, and the owners of the 3rd part repo don't verify the uploaders to their repo.

That's going from trusting 1 person to trusting thousands.

Re:Flatpak 1.0 Released, Ready for Prime Time by TingPing on Monday August 20, 2018 @11:21AM (#17800683)
There is nothing stopping one repo containing one app+runtime.
Re:Flatpak 1.0 Released, Ready for Prime Time by deadbunny on Monday August 20, 2018 @11:29AM (#17800750)
Sure, just like there is nothing stopping them doing the same with apt/yum/etc... the things is that they don't. SO if they stop publishing their native packages and push to a handful of central repos I'm forced into a 1:N trust situation rather than the 1:1 it should be.
Re:Flatpak 1.0 Released, Ready for Prime Time by TingPing on Monday August 20, 2018 @04:49PM (#17803820)
But they do? VSCode, Spotify, Chrome, etc are all custom repos just for their software.
Re:Flatpak 1.0 Released, Ready for Prime Time by deadbunny on Monday August 20, 2018 @05:17PM (#17804059)
Are they? I can't find the existence of a flatpack repo for any of those apps, all are just in global flathub/snapcraft repos. I'm happy to be wrong but I can't see anything that backs up your claim.

Spotify: https://www.spotify.com/uk/download/linux/

Chrome: https://www.google.com/linuxrepositories/

VSCode: https://code.visualstudio.com/download

Re:Flatpak 1.0 Released, Ready for Prime Time by jamesgeck0 on Monday August 20, 2018 @01:44PM (#17802036)
> Getting maintainers out of the loop for auditing packages, ensuring security updates go out, etc - is an awful idea.

Package maintainers can also be a bad idea! They have the ability to make the user experience worse and create a lot of unnecessary work for vendors. The version of AbiWord on Ubuntu was out of date and unsupported for a while. There was a steady stream of people going through vendor support channels reporting bugs that had been fixed a year previously. The maintainers ignored the vendor's requests to update the package to a more recent, supported version.

Re:Flatpak 1.0 Released, Ready for Prime Time by ris on Monday August 20, 2018 @03:25PM (#17803040)
> The version of AbiWord on Ubuntu was out of date and unsupported for a while

You can't blame distribution maintainers for not wanting to expose their users to a constant stream of the newest exciting quirky features the authors have decided to cram into the current release just to be able to keep on top of all of the bugfixes. New releases all also tend to implicitly have new or different sets of dependencies, and distributors have a duty to make sure these various dependencies that exist in their distribution can coexist and interoperate

Authors declaring whatever versions they no longer care about as "unsupported" is a rather unhelpful trait that ignores where their users are (distributions) and what a lot of their users actually want (stability).

I'm sure developers would ideally like to have users suckling at the teat of their latest tagged changeset and perpetually excited about the latest enhancements in each and every release. But really I'd wager that most people, of the ~20-30 applications and desktop components they use every day, by and large... they'd just like most of them to behave like they did yesterday - or last week - or last month - as long as it's reliable.

Re:Flatpak 1.0 Released, Ready for Prime Time by AnIdiotOnTheNet on Tuesday August 21, 2018 @07:25AM (#17808659)
> You can't blame distribution maintainers for not wanting to expose their users to a constant stream of the newest exciting quirky features the authors have decided to cram into the current release just to be able to keep on top of all of the bugfixes. New releases all also tend to implicitly have new or different sets of dependencies, and distributors have a duty to make sure these various dependencies that exist in their distribution can coexist and interoperate

Yes, and that is a great argument for why the unix model of applications spreading themselves over the file hierarchy and sharing everything is completely broken. Something as simple as updating to the latest and greatest version of an application should not require you to rebuild the entire goddamned OS! That Linux Desktop people don't get this is one of the big reasons there will never be a Year of the Linux Desktop.

Re:Flatpak 1.0 Released, Ready for Prime Time by ris on Wednesday August 22, 2018 @05:33PM (#17822395)
This is the only way you can prevent having seventeen different copies (and probably versions) of e.g. libQt on your system at once. And once you have different versions of a library, there's nothing that can guarantee they they will all interpret your configuration files in the same way, etcetera.

The "year of the linux desktop" has always been a red herring. Let's leave 2006 behind, shall we?

Re:Flatpak 1.0 Released, Ready for Prime Time by AnIdiotOnTheNet on Tuesday August 28, 2018 @08:26AM (#17858222)
> This is the only way you can prevent having seventeen different copies (and probably versions) of e.g. libQt on your system at once.

How many copies of the Win32 widget interface do you think exist on a Windows installation? I'll give you a clue: it's one. This is because Windows has a defined and stable base system that developers can depend on being there so they don't need to ship their own copy of things in the base system.

Linux has no base system because that would mean agreeing on something.

Re:Flatpak 1.0 Released, Ready for Prime Time by jamesgeck0 on Monday August 20, 2018 @05:01PM (#17803935)
In this case it wasn't that Ubuntu's package lagged behind development. It was that Ubuntu shipped a version of the software a year and a half old in an LTS release.

Back-porting bug fixes isn't really an option at that point.

Re:Flatpak 1.0 Released, Ready for Prime Time by Sir_Cmpwn on Monday August 20, 2018 @01:51PM (#17802095)
Patches speak louder than bugs. The source material used to prepare the packages is often available and sending a patch to the maintainer's inbox (or other maintainers in similar software if the maintainer is unresponsive) is a sure way to make it easier for them to accomodate you.
Re:Flatpak 1.0 Released, Ready for Prime Time by takluyver on Monday August 20, 2018 @02:21PM (#17802417)
So if the maintainers haven't done something, we should assume it's upstream's fault for not making it convenient enough for them, or not prompting them enough? For every distro that has packaged their code?

There are real downsides to the maintainer system - it creates a lot of extra, uninteresting work, and frequently no-one's that interested in doing it, especially for smaller packages. That's why there's so much interest in other models.

To give another example, if you install jupyter-notebook through apt on Ubuntu 18.04 today, you get a version with a security issue (CVE-2018-8768) that upstream released a fix for months ago. Package maintainers are not making anyone safer there.

Re:Flatpak 1.0 Released, Ready for Prime Time by Sir_Cmpwn on Monday August 20, 2018 @02:32PM (#17802519)
It's everyone's fault. The upstream, the maintainer, and the users. The first person who becomes aware of an issue should take steps to resolve it. By distributing this along everyone you make sure that there's enough hands to do the work and people can specialize in supporting the packages they want to work on. Maintaining a package is not hard.

This isn't some hypothetical, for the record. I'm explaining how this actually works in practice.

Re:Flatpak 1.0 Released, Ready for Prime Time by takluyver on Monday August 20, 2018 @04:11PM (#17803486)
The package maintainer system doesn't add additional people to share the same work, it creates additional bits of work for different people to do. Upstream can release a fix, and it doesn't get propagated to people on distro X because the package maintainer for X is busy with work, or is a parent now, or just isn't interested in the package any more. And if one proactive maintainer patches an issue, it doesn't help users on all the other distros, or users who get it directly from upstream.

You're explaining how this works in response to concrete examples of where it hasn't worked. I understand how distro packaging works for some packages, but I've seen it fall down too many times for others, especially more niche things.

Re:Flatpak 1.0 Released, Ready for Prime Time by curt15 on Monday August 20, 2018 @09:46AM (#17799809)
>Getting maintainers out of the loop for auditing packages

Do maintainers commonly audit source code to look for vulnerabilities? And at any rate, aren't the common security-critical libraries for flatpaks, like OpenSSL, already (in theory) provided and maintained by the runtimes?

All the major consumer OSs distinguish between system components, like cryptographic services and graphics libraries, and user-facing applications. The world hasn't collapsed for them so far, and in an ideal world that distinction allows for better delegation of responsibilities.

Re:Flatpak 1.0 Released, Ready for Prime Time by shittyadmin on Monday August 20, 2018 @09:49AM (#17799821)
It's definitely not so cut and dry - maintainers have actually managed to introduce vulnerabilities into software too. The famous Debian SSH key generation issue comes to mind.

https://github.com/g0tmi1k/debian-ssh

Re:Flatpak 1.0 Released, Ready for Prime Time by ris on Monday August 20, 2018 @03:32PM (#17803105)
This was in 2006. 2006. And people still have to dig back to then to make this point.

In 2006 the security landscape was very different. The common understanding of security being a tremendously subtle issue was much, much lower. A typical system from 2006 was much more trivially exploitable than one today. A lot of things can be said about security attitudes in 2006 vs now.

Re:Flatpak 1.0 Released, Ready for Prime Time by repolfx on Monday August 20, 2018 @10:05AM (#17799947)
My experience when I worked on upstream open source software was that distribution package makers would routinely introduce subtle bugs into programs via the act of packaging. In fact on the project I worked on we stopped supporting users who didn't use our own upstream packages because the number of bugs introduced by downstream packagers was just so huge.

I can't see any real benefits to the Linux approach and never could. It's one of the reasons I ended up moving to macOS. There's hardly any malware there too and yet app developers build packages themselves.

Re:Flatpak 1.0 Released, Ready for Prime Time by Sir_Cmpwn on Monday August 20, 2018 @12:05PM (#17801066)
Not always and not comprehensively, but they work alongside their users to tune packages as appropriate. It introduces a dispassionate 3rd party for users to report issues to who can fix problems which the upstream has an incentive not to fix.

>The world hasn't collapsed for [major OS vendors] so far

Hell yes it has. Malware and user-hostile is running rampant on the "major" platforms like Windows and macOS. Have you ever used a non-technical person's computer for a few minutes? It's like a warzone.

Re:Flatpak 1.0 Released, Ready for Prime Time by AnIdiotOnTheNet on Monday August 20, 2018 @12:27PM (#17801291)
And yet people seem to prefer that warzone to the alternative that open source software offers. You can bury your head in the sand and claim that's only because of Microsoft fud campaigns, dirty business practices, advertising, or whatever, but you're wrong because even many people who know about and have experience with Linux choose that warzone.

Personally, I think that says a lot about the Linux desktop and its community.

Re:Flatpak 1.0 Released, Ready for Prime Time by takluyver on Monday August 20, 2018 @04:24PM (#17803617)
> Have you ever used a non-technical person's computer for a few minutes? It's like a warzone.

I have used non-technical people's Windows machines, and they were not a warzone. I've looked over the shoulder of plenty of other people using Windows & Mac computers, and generally not seen any obvious signs of malware infestation. There could be unseen malware lurking, but we can't assume that with no evidence.

Maybe this depends on the non-technical people you know, but it's definitely possible for people to use Windows/Mac computers and not be dropped in a pit of malware.

Re:Flatpak 1.0 Released, Ready for Prime Time by nickysielicki on Tuesday August 21, 2018 @04:22AM (#17807973)
I don't agree. If you want to install Flatpak applications that you can trust to the same extent that you currently trust packages, all you need to do is encourage your distribution to host their own Flatpak repository and have current package maintainers move over. They can still implement their own fixes and patches and release cycles.

Flathub isn't trying to replace your package manager for everything, just for graphical desktop apps. As far as I'm concerned, it's more than welcome. I'm tired of hearing about a major release of a desktop app and not having it available for months. Even worse, I'm tired of hearing about a major release, experiencing horrible bugs when the maintainer updates it, and not having any long-term option to install the previous version so that I can get work done.

Flatpak solves all of this and more.

Re:Flatpak 1.0 Released, Ready for Prime Time by moocowtruck on Monday August 20, 2018 @02:57PM (#17802781)
linux security is honestly more obscurity; most linux servers by anyone but experts is like swiss cheeses.. and desktops..are just not that appealing to people who want to exploit. hell I could easily get around my login manager in ubuntu without breaking a sweat.. As a linux user I'm eager for flatpak/snap/whatever.