Skip to content

u/stdmutex

In this archive from May 2015 to Jun 2016

0
posts
8
comments
0
media
43
score

Compare the hand-crafted, highly complicated seccomp and apparmor profiles for a few things like chromium, firefox and a few others with off-the-mill stock policy that applies to them when inside the snap.

Are you sure that replacing something detailed and fine-tunable with something generalized won't lead to problems similar to those in OS X App Sandboxing (namely that the system lacks flexibility to specify all necessary privileges)? I mean those profiles are hand-crafted for a reason, I doubt they could be dumbed down to ten lines of YAML.

Anyways, the sandboxing aspect of Snap is not the issue here. You could provide the same sandboxing mechanism that Snap does without bundling every dependency into every app. This way, you would get all the security features of Snap applications while still being able to update libraries separately.

1 points

[...] while the one library in the Arch repositories is vulnerable, your entire system is at risk, while when the same library is vulnerable in a Snap, only that Snap's own data is at risk.

Even without Snap, a sandbox could prevent the system from being at risk. Why not simply AppArmor every application without the whole dependency mess? This would combine low-maintenance with the separation of concerns you were talking about.

2 points

It is beneficial in many ways. To be clear, it's not that I don't like the idea. I just worry about the following thing: If a serious vulnerability gets disclosed, I have to trust the maintainers of the package in the Arch repositories to get an update out as soon as they can. With snappy, I have to trust the maintainer of every application which depends on the library do do the same thing.

2 points

The thing is, funnily enough, the dependency problem has been solved in Windows by using Side-by-Side assemblies. This essentially lets applications use their required (major) version of a dependency by keeping multiple versions on disk.

It's a huge mess, but it saves disk space and allows dependencies to be independently updated compared to bundling everything into every application.

2 points

Is this not what app developers do?

Think about software companies with fixed release schedules. Think about a closed source application you paid a lot of money for two years ago, and the company not giving a shit about your old version anymore (I'm looking at you VMware). Or, think about the small independent developer who does this as a hobby and simply does not have the time to release an update every three days.

Sure, it could work with the same rapid release schedule Arch has, but keep in mind that Snap uses the Ubuntu store - they may naturally be a bit slower :)

3 points

On the other hand, if there's a new openssl vulnerability you are now required to update all applications instead of just one package.

This of course also means that every developer is now forced to release updates constantly, which most of them simply won't do. So you'll end up with loads of vulnerable applications you aren't even able to fix.

31 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.