valet-linux icon indicating copy to clipboard operation
valet-linux copied to clipboard

add conf AppArmor

Open cognitus opened this issue 1 year ago • 4 comments

Allow run valet with AppArmor enabled ref : https://github.com/cpriego/valet-linux/issues/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

cognitus avatar Nov 27 '22 16:11 cognitus

Hi, Thanks for this PR ! I haven't looked in depth, but a first question comes to my mind : Is this specific to debian/ubutun or is this behavior also on other distros (arch, ...) Valet is also used by other distro's users, so we must be sure that this fix will not break installation on other's system !

Adesin-fr avatar Dec 06 '22 07:12 Adesin-fr

@Adesin-fr after some days of test I have to comment,

  1. Sometimes when the kernel is updated is necessary use valet install for fix rules and permissions
  2. another solution is disable apparmor (check if is disable) as selinux, but personally, I prefer apparmor enable

meaby, we could recommend disable apparmor, but leave this solution as well

cognitus avatar Dec 12 '22 15:12 cognitus

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

sonarcloud[bot] avatar Dec 12 '22 18:12 sonarcloud[bot]

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

sonarcloud[bot] avatar May 29 '23 16:05 sonarcloud[bot]