sanitized_helper prevents proper transition to other profiles
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apparmor (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
When an application using the sanitized_helper launches another binary also covered by another apparmor profile, the launched binary is running with the sanitized_helper profile instead of transiting. Here is way to reproduce/observe the problem:
Launch firefox to open a PDF through Evince:
1) firefox https:/
Observe the Apparmor profiles loaded:
2) ps Zaux| grep -v ^unconfined
/usr/lib/
/usr/lib/
I would expect Evince to run with its own profile like it does normally:
3) evince /tmp/serverguid
4) ps Zaux| grep -v ^unconfined
/usr/bin/evince simon 20218 12.7 0.4 560240 35124 pts/5 Sl+ 10:22 0:00 evince /tmp/serverguid
$ lsb_release -rd
Description: Ubuntu 12.04.1 LTS
Release: 12.04
$ apt-cache policy apparmor firefox evince
apparmor:
Installed: 2.7.102-0ubuntu3.1
Candidate: 2.7.102-0ubuntu3.1
Version table:
*** 2.7.102-0ubuntu3.1 0
500 http://
500 http://
100 /var/lib/
2.
500 http://
firefox:
Installed: 14.0.1+
Candidate: 14.0.1+
Version table:
*** 14.0.1+
500 http://
100 /var/lib/
14.
500 http://
500 http://
11.
500 http://
evince:
Installed: 3.4.0-0ubuntu1.3
Candidate: 3.4.0-0ubuntu1.3
Version table:
*** 3.4.0-0ubuntu1.3 0
500 http://
100 /var/lib/
3.4.0-0ubuntu1 0
500 http://
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: apparmor 2.7.102-0ubuntu3.1
ProcVersionSign
Uname: Linux 3.2.0-30-generic x86_64
ApportVersion: 2.0.1-0ubuntu12
Architecture: amd64
Date: Tue Aug 28 10:12:30 2012
ProcEnviron:
LANGUAGE=en_CA:en
TERM=xterm
PATH=(custom, no user)
LANG=en_CA.UTF-8
SHELL=/bin/bash
ProcKernelCmdline: BOOT_IMAGE=
SourcePackage: apparmor
UpgradeStatus: No upgrade log present (probably fresh install)
description: | updated |
Changed in apparmor (Ubuntu): | |
status: | New → Confirmed |
Changed in apparmor (Ubuntu): | |
importance: | Undecided → Low |
tags: | added: aa-policy |
This looks to be related to 1045081.