Live data from Hacker News

The SELinux coloring book [pdf]

people.redhat.com

31–40 of 57 posts

Re: The SELinux coloring book [pdf]

#32
post #16

Earlier quoted context omitted.

You may not like the approach, but, please, stop using "infantilization" argument. Not all comic books and animated movies are for kids, even though they look like it might be the case. Here, it may open the subject for broader audience. It is easier to comprehend even for a layman. And even if you're not the one, you could dig in - just for fun. A picture is worth a thousand words, they say.

> Not all comic books and animated movies are for kids Yup, others are for adults operating at the kids' level.

You have my vote because you're right.

Re: The SELinux coloring book [pdf]

#33

This trend of using illustration to explain complex topics is really wonderful. I know that people may criticize it as childish, but I find it helpful and enlightening. The illustrations that I've found most amazing and well done are created by people like: Lin Clark ( https://code-cartoons.com/ ) Julia Evans ( http://jvns.ca/zines/ ) Linda Liukas ( http://www.helloruby.com/ ) Amy Wibowo ( https://shop.bubblesort.io/…

>I personally believe that women have a better sense for simplifying complex ideas

SELinux is not a "complex idea", SELinux is a tool with subpar documentation.

A coloring book does nothing to fix that.

Re: The SELinux coloring book [pdf]

#35
post #7

Earlier quoted context omitted.

If you're having issues with selinux run: sealert -a /var/log/audit/audit.log Most of the time, that will give you a detailed description of what's going wrong and tell you the command to fix it. Completely changed my opinion on selinux when I learned it. Also, the SELinux For Mere Mortals[1] talk is a great introduction. [1] https://www.youtube.com/watch?v=MxjenQ31b70&t=1s

It's nice... but the suggestions are often terrible when they could be fixed properly with a bool or changing the context of a directory. I sat the RHCE course/exam recently and the Red Hat trainer dealt with this in... amusing... ways. Unfortunately, fixing things properly requires knowledge, if only of where to find the information. Thinking solely about file contexts, it's not easy to for example search them. e.g.…

That "show me all contexts related to samba" is something I'm really missing. I worked one weekend on getting NextCloud to play nicely with SELinux and Apache on Fedora 25 without any dirty tricks, and one thing that would really have come in handy was an accurate list of all the labels related to Apache. The only comprehensive lists I could find online were out-of-date, and the only things that were up to date were single examples.

Re: The SELinux coloring book [pdf]

#36

This trend of using illustration to explain complex topics is really wonderful. I know that people may criticize it as childish, but I find it helpful and enlightening. The illustrations that I've found most amazing and well done are created by people like: Lin Clark ( https://code-cartoons.com/ ) Julia Evans ( http://jvns.ca/zines/ ) Linda Liukas ( http://www.helloruby.com/ ) Amy Wibowo ( https://shop.bubblesort.io/…

It is a question of personal taste. I personally don't like it, there's too much distraction and too little substance. It might be interesting to illustrate some concept, but not everything imo.

Re: The SELinux coloring book [pdf]

#37

This trend of using illustration to explain complex topics is really wonderful. I know that people may criticize it as childish, but I find it helpful and enlightening. The illustrations that I've found most amazing and well done are created by people like: Lin Clark ( https://code-cartoons.com/ ) Julia Evans ( http://jvns.ca/zines/ ) Linda Liukas ( http://www.helloruby.com/ ) Amy Wibowo ( https://shop.bubblesort.io/…

>I personally believe that women have a better sense for simplifying complex ideas SELinux is not a "complex idea", SELinux is a tool with subpar documentation. A coloring book does nothing to fix that.

My comment was in reference to topics covered beyond SELinux.

Re: The SELinux coloring book [pdf]

#38

This trend of using illustration to explain complex topics is really wonderful. I know that people may criticize it as childish, but I find it helpful and enlightening. The illustrations that I've found most amazing and well done are created by people like: Lin Clark ( https://code-cartoons.com/ ) Julia Evans ( http://jvns.ca/zines/ ) Linda Liukas ( http://www.helloruby.com/ ) Amy Wibowo ( https://shop.bubblesort.io/…

It's a long running tradition, especially in medical education.

Here's an edition from 17 years ago: https://www.amazon.co.uk/Human-Brain-Coloring-Book-Concepts/...

Re: The SELinux coloring book [pdf]

#39

Earlier quoted context omitted.

It's nice... but the suggestions are often terrible when they could be fixed properly with a bool or changing the context of a directory. I sat the RHCE course/exam recently and the Red Hat trainer dealt with this in... amusing... ways. Unfortunately, fixing things properly requires knowledge, if only of where to find the information. Thinking solely about file contexts, it's not easy to for example search them. e.g.…

That "show me all contexts related to samba" is something I'm really missing. I worked one weekend on getting NextCloud to play nicely with SELinux and Apache on Fedora 25 without any dirty tricks, and one thing that would really have come in handy was an accurate list of all the labels related to Apache. The only comprehensive lists I could find online were out-of-date, and the only things that were up to date were…

sesearch is one way of doing it, for example:

  $ sesearch -A -s some_app_t -c file -p read -p write
  allow some_app_t some_type_t:file { read write };
  allow some_app_t some_other_type_t:file { read write };
  allow some_attribute_of_some_app_t yet_another_type_t:file { read write };
Or, say you want to do the opposite – you know the label, and want to find all domains that can read and write it:

  $ sesearch -A -t some_type_t -c file -p read -p write
  allow some_app_t some_type_t:file { read write };
  allow some_other_app_t some_type_t:file { read write };
You can use regexes for the parameters if you don't know the exact types (just specify '-r[stcdb]').

Re: The SELinux coloring book [pdf]

#40
I love this idea. It's not meant to teach people everything, but it shows the basic SELinux concepts in a fun manner, that is different from the typical dry written documentation.

The best utility that this has is that it gets people asking questions. I could put this on my wall at work, and then when my colleagues ask about it, I could use it to segue into actually teaching them about SELinux. Putting the SELinux text documentation on my wall would not have the same effect.

Post reply on HN