-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
apparmor.d breaks waydroid #405
Comments
How is it not working? Can you confirm you have the binder module available: |
filename: /lib/modules/6.8.9-273-tkg-eevdf-llvm/updates/dkms/binder_linux.ko.zst This seems to be an issue only with binder as ZFS works perfectly fine, removing |
what do you get with |
After reinstalling again in teardown it now shows under dkms status, the problem still occurs though. No idea why it didn't prior to the most recent install. binder/1, 6.7.6-273-tkg-eevdf, x86_64: installed |
If the module is here, you should be able to use it. Try to manually load and mount it: modinfo binder_linux
sudo modprobe binder-linux device=binder,hwbinder,vndbinder
sudo mount -t binder binder /dev/binderfs And check for any logs. |
Still nothing. searching for any differences in journalctl is nearly impossible as well since even being ran for one second fills hundreds of lines with the /dev/binder not found issue. The closest I can get to a log besides that is errors of /acct and /system being read-only but I'm not sure it's helpful as it isn't new. |
Did the command in my previous comments returned any error? If not, the directory |
The command doesn't return any errors
/dev/binder doesn't exist is the problem, this is where apparmor,d is the culprit as starting without apparmor loaded or just uninstalling apparmor.d solves this problem. |
Try to manually created it ( |
Binder is supposed to be a file apparently [gbinder] ERROR: Can't open /dev/binder: Is a directory Linking /dev/binderfs/anbox-binder to /dev/binder doesn't work either. |
It seems to be an issue with how apparmor.d handles binder: 58105:58105 transaction call to 0:0 failed 678469/29189/-22, size 0-0 line 3151 Anotherthing which does seem to not work is stopping the waydroid container: DENIED lxc-stop getattr @{lib}/ comm=lxc-stop requested_mask=r denied_mask=r ALLOWED lxc-stop getattr @{run}/ comm=lxc-stop requested_mask=r denied_mask=r |
I think there is more than this. I remember seeing this, and this should be fixed I forgot to link the commit that fix this). However, the dkms module need to be wiped and installed again. Also, lxc-stop is not one of my profile. |
Partially moved from #377
No logs besides this:
[gbinder] ERROR: Can't open /dev/binder: No such file or directory
Failed to add presence handler: None
A teardown doesn't fix this issue but uninstalling apparmor.d or just not loading apparmor on startup does.
The text was updated successfully, but these errors were encountered: