Skip to content

u/Street-Guard

In this archive from Feb 2020 to Jan 2024

1
posts
35
comments
0
media
59
score

Top posts

Top comments

It's not true that no MAC programs are officially supported in Arch.

AppArmor is supported by the Arch kernels and the apparmor package is in the official repos. It's not enabled by default and the apparmor package is not installed by default - but that's easy to do. In any case, AppArmor is officially supported.

SELinux is supported in the Arch kernels as well. But as mentioned in other posts here, many core utilities and systemd must be rebuilt in order to use it. They can be installed in various ways.

Tomoyo is also available for Arch. Depending on which version you use the userland programs are available in the AUR.

5 points

First of all, Firejail does enforce comprehensive sandboxing without AppArmor. In order to achieve that it uses various technologies available in the Linux kernel, primarily:

  • seccomp-bpf
  • capabilities
  • {mount, PID, network, noroot user} namespaces

See for details https://firejail.wordpress.com/documentation-2/firefox-guide/ and https://firejail.wordpress.com/documentation-2/basic-usage/#kernel

Right now Firejail offers 1064 profiles, and 605 of them contain the apparmor switch. In those cases the /etc/apparmor.d/firejail-default AppArmor profile is used as well which provides some additional protection, e.g. some rules to "Allow running programs only from well-known system directories." Precondition is that AppArmor is installed and enabled on your system (which I recommend). However, it is optional - even without AppArmor Firejail offers strong sandboxing.

4 points

Jelle, I'm surprised that you say that AA is "more or less supported". IMO, Arch does support AA completely. It uses what upstream offers. Yes, if you install some applications (like Firefox or LibreOffice) in Ubuntu, it also automatically installs the proper AA profiles - which are not included in the official upstream package. So if they are not available in Arch this is not because AA is "more or less supported".

3 points

Should there be a , between bpf and loglevel=3 quiet and one comma after quiet, to seperate the crypt?

loglevel=3 quiet was the standard value, should every kernel paramater be seperated by a comma?

No, they should be separated by a space.

Regarding your other questions: There is no need to bother. AppArmor is supported by all official Arch kernels. Just set it up as explained in the wiki. That's how I did it and it works as it should.

3 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.