Access to /vendor/lib/libGLES_mali.so denied when run under confinement
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apparmor-easyprof-ubuntu (Ubuntu) |
Fix Released
|
High
|
Jamie Strandboge | ||
Saucy |
Fix Released
|
High
|
Jamie Strandboge |
Bug Description
This issue is with readonly images only.
This is what happens when running:
strace aa-exec -p com.ubuntu.
...
access(
stat64(
open("/
stat64(
stat64(
open("/
access(
access(
socket(PF_LOCAL, SOCK_STREAM, 0) = 4
connect(4, {sa_family=
send(4, "\2\0\0\
recv(4, "\2\0\0\
recv(4, "", 128, 0) = 0
close(4) = 0
write(2, "ASSERT: \"eglBindAPI(
) = 79
rt_sigprocmask(
tgkill(3148, 3148, SIGABRT) = 0
--- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=3148, si_uid=32011} ---
+++ killed by SIGABRT (core dumped) +++
Aborted (core dumped)
contrary to without confinement:
...
access(
stat64(
open("/
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: apparmor-easyprof 2.8.0-0ubuntu26
ProcVersionSign
Uname: Linux 3.4.0-4-manta armv7l
ApportVersion: 2.12.1-0ubuntu3
Architecture: armhf
Date: Mon Sep 2 15:32:10 2013
InstallationDate: Installed on 2013-09-02 (0 days ago)
InstallationMedia: Ubuntu Saucy Salamander (development branch) - armhf (20130902)
MarkForUpload: True
PackageArchitec
ProcEnviron:
TERM=linux
PATH=(custom, no user)
ProcKernelCmdline: vmalloc=512M debug_core.
PstreeP: Error: [Errno 2] No such file or directory: '/usr/bin/pstree'
SourcePackage: apparmor
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
description: | updated |
Changed in apparmor-easyprof-ubuntu (Ubuntu Saucy): | |
status: | In Progress → Fix Committed |
So, libraries have been moving around underneath apparmor. apparmor- easyprof- ubuntu 1.0.20 fixed a similar issue for /system -> /android/system. We now need another update for /vendor - > /android/vendor.