-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Qubes /usr/local symlink /rw/usrlocal AppArmor issue #1122
Comments
I assume you have tested this already. Just wanted to make sure that an alias will not effect the mounting of |
Yes, this is tested and working. Doesn't affect that. Affecting |
I don't know AppArmor at all, but above (together with an idea about BTW some applications had a problem with /home->/rw/home symlink, AFAIR Best Regards, |
Yes. For better consistency. I am not sure I yet have experienced /rw/home related AppArmor symlink issues, but all symlinks should have corresponding alias' configured. I'll include Are there any other (bind-) mounted locations or a list of those which probably also should be included? |
On Wed, Aug 26, 2015 at 09:10:39AM -0700, Patrick Schleizer wrote:
Ok. But since mounting /rw get more and more complex, I think we should
I think this is unnecessary, as /home is bind-mounted now.
Actually I think bind mounted locations shouldn't be a problem for Best Regards, |
Since,
what do you think about not implementing / closing this ticket? |
Good idea, one ticket less :) |
issue description:
I found a Qubes specific AppArmor issue.
Qubes symlinks
/usr/local
to/rw/usrlocal
and AppArmor does not like this.Upstream AppArmor won't add symlink support:
https://bugs.launchpad.net/apparmor/+bug/1485055
proposed solution:
I am suggesting to ship a file
/etc/apparmor.d/tunables/home.d/qubes
with the following content:Also some explanatory comment should be added. And perhaps this will needs to be extended over time with more entries. There is also a file
/etc/apparmor.d/tunables/home.d/ubuntu
already, so this seems appropriate. In which package? qubes-core-agent, I suppose?If this solution sounds alright to you, I can send a pull request.
The text was updated successfully, but these errors were encountered: