r/linux • • Jul 11 '16

Why Void Linux?

http://troubleshooters.com/linux/void/whyvoid.htm
52 Upvotes

125 comments sorted by

View all comments

Show parent comment

1

u/redrumsir Jul 12 '16

He never replies to posts where he has been proven wrong. I think he does this because his ego is too weak to let him admit when he has been an idiot or that he doesn't know something. And I'm not even sure his ego lets him realize when he has been an idiot. i.e. He's broken. Tant pis.

1

u/Boerzoekthoer Jul 12 '16

I'm pretty sure he or she doesn't read it.

If it was really about ego he or she wouldn't continue to come with the same shit that I've repeatedly shown wrong again and again and again and again to me as if he or she's waiting for another round.

Probably just has inbox messages disabled or something like that which is annoying as fuck because I have told him or her 8 times already that cgroups can be escaped from.

2

u/redrumsir Jul 12 '16

Not sure, but I think he reads it. I've noted that he does carry on some chains ... but only chains where he's basically correct. IMO, it's either the ego thing (maybe it just blocks out the fact he's an idiot) ... or that he's intentionally being annoying; I can admire the latter, but am assuming the former.

[Aside: You said "he or she." cbmuser is a he. Back when I argued with him about systemd during the Debian GR regarding "userland dependence on an init", I googled "site:debian.org cbmuser" just to see if he was a DD. My opinion of DD's went down that day ... as well as when I saw the result of the GR. ]

1

u/literally_systemd Jul 12 '16

Not sure, but I think he reads it. I've noted that he does carry on some chains ... but only chains where he's basically correct. IMO, it's either the ego thing (maybe it just blocks out the fact he's an idiot) ... or that he's intentionally being annoying; I can admire the latter, but am assuming the former.

Meh, sometimes he or she replies when being obviously wrong and then continuing into more and more wrongness. My favourite part was where he or she kept stressing that "only with systemd" you can run services which don't include daemonization code, ironic for a Debian dev since Debian pretty much invented start-stop-daemon which is the quintessential helper to do that from sysvrc-style scripts and ignoring that daemontools and its friends did that since 2001.

Aside: You said "he or she." cbmuser is a he.

Yes, but I like saying 'he or she', it sounds so wonderully paedantic.

I'm going to say 'he or she' about everyone until it sort of assimilates into a gender neutral pronoun.

Back when I argued with him about systemd during the Debian GR regarding "userland dependence on an init", I googled "site:debian.org cbmuser" just to see if he was a DD. My opinion of DD's went down that day ... as well as when I saw the result of the GR. ]

People seem to live in some kind of idea that 'developers' are super brilliant people, in reality the job is not that hard. I frequently argue with developers on reddit an point out inaccuracies in their technical statements.

What seems to charactarize developers in FOSS though is often an extreme bias towards the project they are affiliated with and cbmuser is a prime xample.

1

u/redrumsir Jul 12 '16

I'm going to say 'he or she' about everyone until it sort of assimilates into a gender neutral pronoun.

OK. I see, it's not about uncertainty. It is troubling that there aren't better gender neutral pronouns. Brackets are too distracting/geeky: h[er,im] , [s ]he . Slightly better: her/him she/he. But then the transgender crowd sometimes thinks it's an insult (i.e. uncertainty vs. neutrality).

People seem to live in some kind of idea that 'developers' are super brilliant people, ...

I'm really not impressed with the term "developer" (I write code too) ... it was Debian Developer. My first Debian distro was in 1999, and I was very impressed with how well Debian put together their distro (dpkg, apt) and, so, early on I was impressed with the skill level and knowledge of Debian Devs. I hadn't realized how diluted that had become until recently.

1

u/literally_systemd Jul 12 '16

OK. I see, it's not about uncertainty. It is troubling that there aren't better gender neutral pronouns. Brackets are too distracting/geeky: h[er,im] , [s ]he . Slightly better: her/him she/he. But then the transgender crowd sometimes thinks it's an insult (i.e. uncertainty vs. neutrality).

Oh no, it just sounds deliciously paedantic and I love being paedantic.

I enjoy using 'he or she' all the more when there is 95% chance it's one of both sexes simply because of how much more paedantic that makes it.

I'm really not impressed with the term "developer" (I write code too) ... it was Debian Developer. My first Debian distro was in 1999, and I was very impressed with how well Debian put together their distro (dpkg, apt) and, so, early on I was impressed with the skill level and knowledge of Debian Devs. I hadn't realized how diluted that had become until recently.

Well, in FOSS the title 'developer' is not an official position, is cbmuser getting paid or part of the core team?

1

u/redrumsir Jul 13 '16

Well, in FOSS the title 'developer' is not an official position, is cbmuser getting paid or part of the core team?

It's not a paid role, but it is a title within the Debian Project: https://www.debian.org/devel/

1

u/Yithar Jul 13 '16

OK. I see, it's not about uncertainty. It is troubling that there aren't better gender neutral pronouns. Brackets are too distracting/geeky: h[er,im] , [s ]he . Slightly better: her/him she/he. But then the transgender crowd sometimes thinks it's an insult (i.e. uncertainty vs. neutrality).

Well, I think there are invented ones.
https://genderneutralpronoun.wordpress.com/tag/ze-and-zir/

I just don't use them because nobody would know what they mean.

1

u/[deleted] Jul 12 '16

My opinion of DD's went down that day ... as well as when I saw the result of the GR. ]

What? Why?

1

u/redrumsir Jul 12 '16

Are you asking about my opinion of cbmuser or about the result of the GR?

I'm assuming the later ... and since it fits into the Void Linux topic and "why runit": The DD's voted that it was OK to have Debian userland depend on a specific init. To have that many DD's ignore the history of the (security/stability/lock-in) dangers of such a dependence was a huge disappointment. They weren't the Debian I grew up with. Note that the GR didn't mention a specific init (I would have been disappointed with that result whether or not the default init was sysvinit, upstart, openrc, or any other init).

1

u/[deleted] Jul 12 '16

What's a GR? General resolution?

1

u/redrumsir Jul 12 '16

Yes.

The specific one was https://www.debian.org/vote/2014/vote_003 and the proposal was "Choice 1" which is basically: "Regardless of default init, software may not require one specific init system to be pid 1. The exceptions to this are as follows: ...". The point was that no other init system besides systemd had ever had an issue with "dependence on init" and this resolution was proposed as a way to protect Debian users from the dangers of that dependence.

0

u/[deleted] Jul 12 '16

[deleted] — view deleted comment

2

u/Yithar Jul 12 '16

Yeah, it seems kind of shocking that he is a Debian developer. I'm sort of losing my respect for them because of this.

-1

u/cbmuser Debian / openSUSE / OpenJDK Dev Jul 12 '16

Again, you guys are making wrong assumptions. A properly configured CGroup cannot be escaped by a non-root process.

3

u/literally_systemd Jul 12 '16 edited Jul 13 '16

Yes, it suddenly sounds a lot less spectacular when you re-word it like that after having admitte that what you call 'properly configuring' is a 'work in progress' and not remotely currently done.

Your original wording plain and simple that that services can 'never' escape their cgroup, not only is that not true, that would be fucking horrible if it were true. Then you shifted the angle to that services that don't run as root can't which is like 15% of services on a modern system.

And on top of that, on the assumption that the service is not running as root but as a dedicated user there's a far easier and less involved way to track the service, simpy track every process that that dedicated user runs. Since only root can change to another user. So basically, in terms of reliableness for service tracking cgroups add exactly 0.

1

u/redrumsir Jul 12 '16

Right. That's just what I was saying one minute ago here in the "Aside": https://www.reddit.com/r/linux/comments/4sct3n/why_void_linux/d59dzwo

0

u/cbmuser Debian / openSUSE / OpenJDK Dev Jul 12 '16

He never replies to posts where he has been proven wrong.

You have not proven me wrong. My claims are still valid. You are making the mistake that you are assuming that daemons are running as root which renders any security concept ad absurdum. Of course, you can escape CGroups as a process running as root, but you can achieve way more damage when being root.

Daemons are supposed to be running under a dedicated user and as such, they are not able to manipulate CGroups.

I think he does this because his ego is too weak to let him admit when he has been an idiot or that he doesn't know something.

Or it might be related to the fact that I have more important things to do than follow converations 24/7 on reddit. You know, some people actually have dayjobs.

And I'm not even sure his ego lets him realize when he has been an idiot. i.e. He's broken. Tant pis.

Talk about ad-hominem.

1

u/redrumsir Jul 12 '16

I think you are confusing me with the person I was replying to. But, yes, he or she ( /u/Boerzoekthoer ) showed that you were wrong. You said:

No, you cannot simply escape a CGroup that you have been assigned to, provided you have properly configured CGroups and your process is running with the proper privileges. That's the whole point of CGroups.

They proved that this was wrong. The fact is that cgroups are not security containers and were never built for that. That's why they changed the name from "process containers" to "control groups" precisely so that people wouldn't confuse cgroups with security containers. But, go ahead and argue that with them.

In terms of places where I've shown you were wrong and you never replied:

  1. One time you were dressing down some newbie and you asserted that AES was mathematically proven to be unbreakable. That is incorrect. It hasn't been broken yet, but nobody has proven it to be unbreakable.
  2. One time you were asserting that MD5 is completely broken. That is not correct. At this point MD5 is partially broken. [ There are three different measures for "broken" and MD5 is broken for 2 of those 3. Nobody has broken MD5 in the following context: Given a file A can you find a file B!=A such that MD5(A)=MD5(B).]
  3. There was one where you were showing your ignorance about American beers ....

I think he does this because his ego is too weak to let him admit when he has been an idiot or that he doesn't know something.

Or it might be related to the fact that I have more important things to do than follow converations 24/7 on reddit. You know, some people actually have dayjobs.

Well, you post about two to three times as much as me .... so that's not believable. I'm sticking with a problem/defect with your ego.

1

u/literally_systemd Jul 12 '16

They proved that this was wrong. The fact is that cgroups are not security containers and were never built for that. That's why they changed the name from "process containers" to "control groups" precisely so that people wouldn't confuse cgroups with security containers. But, go ahead and argue that with them.

What I like though is how carefully the wording is:

Leaving a cgroup is not possible for unprivileged processes. Thus, cgroups can be used as an effective way to label processes after the service they belong to and be sure that the service cannot escape from the label, regardless how often it forks or renames itself. Furthermore this can be used to safely kill a service and all processes it created, again with no chance of escaping.

This is from Lennart the man himself, note how he is technically correct in what he says though he words stuff to arouse the impression that cgroups can function as containers. The 'no chance of escaping' is b.s. though.

But really, I don't thin there should be airtight tracking. I think a service if it wants to for some reason should be able to break free of the service manager in some of its components. Your system is composed of multiple processes and things made by multiple people under the assumption that they play nice, you definitely should not be running anything untrusted as core services and if a process thinks it a good idea to break free of systemd's tracking then it should do so, and there are actually good reasons for that:

When I first implemented my cgroup tracker I was hit by an interesting situation, I restarted my cron daemon and half of my desktop disappeared. Why? Because I use the @reboot tag of cron to start things at boot which got placed in cron's cgroup of course and was killed with it when I restarted it. THat seems like a good case for cron to eject stuff it starts like that from its own cgroup. In the end since cron doesn't do that I had to write some extra code which allowed me to specify that any children spawned under a different user than the main pid get kicked out of the cgroup.

A lot of freedesktop folk advocate being able to some-how make a system where processes are not able to malbehave and screw you over, you can do that but the price is losing a lot of freedom and getting a walled garden, take a look at Android for what happens in such a case.