News for hackers. Stuff that matters.
Re:Show HN: Appamor.d – Full set of AppArmor profiles (~ 150... by dang on Friday March 29, 2024 @06:56PM (#39869923)
Is this your own work? Show HN is for sharing something you've personally created. See https://news.ycombinator.com/showhn.html

I ask because I don't see any indication of that on this post or the other one (https://news.ycombinator.com/item?id=39867639).

Re:Show HN: Appamor.d – Full set of AppArmor profiles (~ 150... by roddhjav on Friday March 29, 2024 @07:36PM (#39870235)
No, this is my work (see the link in my profile). However, I should thank CHEF-KOCH for the post, as I should have done it months ago...

While you are here, have a look at the doc: https://apparmor.pujol.io It is not stable yet, but it is promising.

Re:Show HN: Appamor.d – Full set of AppArmor profiles (~ 150... by dang on Friday March 29, 2024 @11:28PM (#39871600)
Ok! I'm glad I left Show HN in the title then :) Thanks for clarifying.
Re:Show HN: Appamor.d – Full set of AppArmor profiles (~ 150... by supriyo-biswas on Saturday March 30, 2024 @09:42AM (#39874801)
On the XZ back door thread multiple people are shitting on systemd I, but I think its sandboxing model is easier because you just couple the expected behavior of your application along with the unit. Interested people should look here[1] and [2] in case you need resource limitations, like limiting the amount of CPU a process can use.

Of course, there is no way to isolate a backdoored piece of code running in the same address space as yours.

[1] https://www.freedesktop.org/software/systemd/man/latest/syst... [2] https://www.freedesktop.org/software/systemd/man/latest/syst...

Re:Show HN: Appamor.d – Full set of AppArmor profiles (~ 150... by aborsy on Sunday March 31, 2024 @08:52AM (#39883815)
These have to be distributed in the operating system by default. Ubuntu ships some, but they sandbox limited set of applications.

I installed some of these anpparmo profiles in Ubuntu, and had to spend a lot of time profiling and fixing permissions. This was an ever changing process, also required security knowledge. Eventually, I removed them.

Re:Show HN: Appamor.d – Full set of AppArmor profiles (~ 150... by roddhjav on Sunday March 31, 2024 @02:04PM (#39886495)
You are right, the plan is to included by default. And given time it will be [0].

If you can report some logs to fix your issue that would be nice.

[0] https://gitlab.com/apparmor/apparmor/-/merge_requests/1088