-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add conf AppArmor #397
base: master
Are you sure you want to change the base?
add conf AppArmor #397
Conversation
Hi, |
cli/Valet/AppArmor.php
Outdated
*/ | ||
public function install() | ||
{ | ||
if ((strpos($this->cli->run("aa-status"), 'is loaded') == 0)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this specific to debian/ubutun or is this behavior also on other distros (arch, ...)
OpenSUSE,Mandriva, too. In arch have the option to be active.
AppArmor is a module of kernel, so can be easy loaded in any distro, but cannot run with selinux active.
I added a condition to review if module is loaded, and now you mentioned I should implement in the construct done
77e6793
to
00ec7e4
Compare
@Adesin-fr after some days of test I have to comment,
meaby, we could recommend disable apparmor, but leave this solution as well |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Allow run valet with AppArmor enabled ref : #396
the modification of security profiles, i get it of run:
# sudo aa-logprof
I'dont know if there another way to do this, but for now works