News for hackers. Stuff that matters.
Re:BSDs or Illumos may be good alternatives to Linux (2017) by craftyguy on Tuesday November 27, 2018 @12:13AM (#18539601)
So the main points of this rant are:

- BSD has ZFS (but so do some Linux distros)

- Linux bad because BTRFS, so it's bad (well, you don't have to use it)

- BSD jails > anything on linux (I was hoping to see a clear outline of pros/cons, but the author's reasoning is very hard to follow, and the tone is very combative instead of constructive)

Re:BSDs or Illumos may be good alternatives to Linux (2017) by hacknat on Tuesday November 27, 2018 @12:37AM (#18539717)
At this point there really isn’t any security difference between zones, jails, and hardened containers. That word “hardened” is the key. Zones are a primitive in Illumos, containers are not a primitive in Linux, they are a collection of security features. If you use them all then you can achieve parity with Zones, but surprisingly few projects make use of all of them by default (Docker certainly doesn’t).

The main difference then is usability, which is almost always the biggest security flaw in any piece of software (that the security isn’t “on” by default or has a prohibitive learning curve for the user).

Re:BSDs or Illumos may be good alternatives to Linux (2017) by qlk1123 on Tuesday November 27, 2018 @07:46PM (#18548294)
Just a weakly related comment here.

When one talks about security, it's really hard for people to follow what she really means; the context has always been qualitative, but not quantitative.

I found the idea "Vertical/Horizontal Attack Profile" interesting, which may help measure security when people argues different container solutions or even VMs.

https://blog.hansenpartnership.com/measuring-the-horizontal-...

Re:BSDs or Illumos may be good alternatives to Linux (2017) by posix_me_less on Tuesday November 27, 2018 @04:35AM (#18540878)
> Docker certainly doesn’t

Do you think LXD gets closer to Zones in terms of security?

Re:BSDs or Illumos may be good alternatives to Linux (2017) by hacknat on Tuesday November 27, 2018 @08:24AM (#18542067)
Honestly, I don’t know, but my guess is that it had some things turned off by default. Actually K8s is the most encouraging project in this regard in that it has opinions about how containers should work so they are slowly adding all the secure options by default when containers are orchestrated to the various runtimes. There are only a few features left that remain to be turned on (user namespacing being the most notable).
Re:BSDs or Illumos may be good alternatives to Linux (2017) by technofiend on Tuesday November 27, 2018 @10:36AM (#18543102)
I paraphrased you by cutting down your comment, hope that's OK.

>Actually K8s [...] are slowly adding all the secure options by default [...] (user namespacing being the most notable).

K8's RBAC is nice, and in particular auth-delegator really helps with odd duck integration for the enterprise. But k8s is reliant on OS features to make user namespaces happen and Redhat customers are still waiting for Redhat to backport a newer version of shadow-utils [1] [2] to RHEL 7 so that user namespacing works there.

Given enterprise certification and release cycles "Wait for RHEL 8" isn't really a good answer for those kind of customers. I'm not disagreeing with you, just saying some features of kubernetes aren't available everywhere. Personally I'd really like to see user namespaces come to RHEL 7 as it helps with removing or mitigating privileged access.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1498628 [2] https://access.redhat.com/solutions/3657531

Re:BSDs or Illumos may be good alternatives to Linux (2017) by lmm on Tuesday November 27, 2018 @05:31AM (#18541151)
> - Linux bad because BTRFS, so it's bad (well, you don't have to use it)

The point is that there are no good filesystem options for Linux. ext4 has various issues mainly due to being ext2 underneath, reiserfs is unmaintained, xfs and jfs have no recovery tools at all (and xfs additionally has the trailing zeroes problem), and all of those require you to use a separate system for RAID for which Linux has no good options (true hardware RAID is expensive, BIOS RAID (dm-raid) and software RAID (md) will kick out disks during a rebuild if they see a single bad sector, which per https://www.zdnet.com/article/why-raid-6-stops-working-in-20... is more likely than not with modern disk sizes. This risk is reduced (but not eliminated) by setting up regular scrubs, but tutorials and installation wizards don't always do that). BTRFS has issues up to and including data loss, userspace ZFS has major performance and reliability issues while in-kernel ZFS on Linux has substantial licensing concerns.

> - BSD jails > anything on linux (I was hoping to see a clear outline of pros/cons, but the author's reasoning is very hard to follow, and the tone is very combative instead of constructive)

Agreed that the writing is bad, but BSD jails do have a much higher level of maturity than linux containers. Linux is probably catching up now given the sheer weight of numbers of people using containers, but I still wouldn't trust them quite as much as BSD jails just yet; various kinds of flakiness and security vulnerabilities still seem relatively common.

Re:BSDs or Illumos may be good alternatives to Linux (2017) by pdx6 on Tuesday November 27, 2018 @01:29AM (#18539988)
SmartOS has native ZFS support and zones.
Re:BSDs or Illumos may be good alternatives to Linux (2017) by rbanffy on Tuesday November 27, 2018 @05:24AM (#18541108)
Isn't SmartOS and Illumos essentially the same OS?
Re:BSDs or Illumos may be good alternatives to Linux (2017) by dijit on Tuesday November 27, 2018 @05:30AM (#18541147)
SmartOS is IllumOS derived.

Much in the same way Linux has distributions; OpenSolaris has "spins".

You don't install IllumOS, you install one of the distributions of it.

Re:BSDs or Illumos may be good alternatives to Linux (2017) by rbanffy on Tuesday November 27, 2018 @05:53AM (#18541239)
What are the differences between SmartOS and IllumOS WRT zones and ZFS?
Re:BSDs or Illumos may be good alternatives to Linux (2017) by dijit on Tuesday November 27, 2018 @03:05PM (#18546162)
The same difference for XFS between Linux and Ubuntu.

IE; aside from minor differences in current version, nothing.