Skip to content
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

Partial install script #236

Closed
wants to merge 8 commits into from

Conversation

monsieuremre
Copy link
Contributor

Please do not merge just yet. I got rid of the function and make the functionality work in a standalone script. It probably just works but it needs testing. After testing we can merge.

@monsieuremre
Copy link
Contributor Author

There was a problem with regex file names like wl-{copy,paste} and mount.*. I fixed it. Seems to work in all cases. It should now work for everything. Please do test before merging.

@monsieuremre
Copy link
Contributor Author

This time I tested the whole thing. Turns out there was still an error, and I fixed it. Now it can be merged.

@roddhjav
Copy link
Owner

roddhjav commented Nov 8, 2023

Thanks.

Nitpicking a bit, but why not having a function in this script and using this function for the recursive part (instead of calling the script again). It seems to me this is what you proposed initially.

@monsieuremre
Copy link
Contributor Author

It seems to me this is what you proposed initially.

Yes indeed. It was problematic with regex profiles for some reason. The only challenge in this was really how sometimes you call other profiles using regex. I could get it to work with this, and not with the funtion. Maybe it is possible to find a workaround there too but I don't see why it would be necessary because this works already.

…armor.d into monsieuremre-partial-install

* 'partial-install' of https://github.com/monsieuremre/apparmor.d:
  dont try abstractions
  names
  even more fix
  fix
  partial install
  partial.sh
@roddhjav
Copy link
Owner

Can you have test e047da9. I get the same result than without the function. It may no be perfect still.

@roddhjav
Copy link
Owner

Closing, as more integration is required anyway a full implementation would most likely have to be integrated within the prebuild system.

@roddhjav roddhjav closed this May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants