News for hackers. Stuff that matters.
Re:What is Silverblue? by lugg on Sunday July 14, 2019 @12:55AM (#20431706)
Flatpak uses kernel namespaces (like docker) to run software with a bundled set of libraries. From their FAQ:

> Flatpak mostly deployed as a convenient library bundling technology early on, with the sandboxing or containerization being phased in over time for most applications.

I don't really know if sandboxing is worth it for me. Running everything inside docker cotnaienrs sounds like an absolute nightmare when it comes to troubleshooting. You might think logs and things would be well defined and put in the right place for the OS to pick up, but if things were so well behaved we wouldn't feel the need for sandboxing now would we.

Re:What is Silverblue? by sjellis on Sunday July 14, 2019 @03:33AM (#20432216)
They are also adding per-application isolation of settings:

https://blogs.gnome.org/mclasen/2019/07/12/settings-in-a-san...

Flatpak is one piece of a broader design to secure Linux workstations. It is also intended to work in conjunction with Wayland and the in-development Pipewire. These lock down video and audio respectively, so that shared resources can't be misused by applications.

Re:What is Silverblue? by danieldk on Sunday July 14, 2019 @02:26AM (#20431980)
we wouldn't feel the need for sandboxing now would we.

Applications have vulnerabilities. Sandboxes help as an additional layer of security for trusted applications.

Of course, if applications are trusted and under control, a simpler mechanism like OpenBSD's pledge/unveil may be enough.

Re:What is Silverblue? by curioussavage on Sunday July 14, 2019 @01:00AM (#20431721)
I’ve been running many applications as flatpaks for over a year without issue. Troubleshooting is not too bad either imo.
Re:What is Silverblue? by lugg on Sunday July 14, 2019 @01:04AM (#20431732)
Flatpak should be ok, I think when it's run inside inaccessible containers it won't be. Are the files sandboxed off from the user running in flatpak?
Re:What is Silverblue? by techntoke on Sunday July 14, 2019 @03:40PM (#20435487)
No, these are bind mounted. Most Linux programs have a standard configuration directory. The application files that don't change would probably be sandboxed so that they can be easily upgraded.