Firefox apparmor profile, WebGL/DRI and libc corrections.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apparmor (Ubuntu) |
Fix Released
|
Undecided
|
Jamie Strandboge |
Bug Description
libc: It's hard to find an application that dosn't read ld.so.preload, so all apparmor profiles should define it.
WebGL is calling DRI on my system and that means reading drirc.
Thanks!
diff -u -r1.1 /etc/apparmor.
--- /etc/apparmor.
+++ /etc/apparmor.
@@ -62,6 +62,7 @@
deny /boot/vmlinuz* r,
deny /var/cache/
deny @{HOME}
+ deny /etc/ld.so.preload r,
# TODO: investigate
deny /usr/bin/
@@ -138,6 +139,7 @@
/usr/bin/mkfifo Uxr, # TODO: investigate
/bin/ps Uxr, # TODO: child profile
/bin/uname Uxr, # TODO: child profile
+ /etc/drirc r,
# Site-specific additions and overrides. See local/README for details.
#include <local/
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: firefox 10.0~b2+
ProcVersionSign
Uname: Linux 3.0-2-generic-pae i686
AddonCompatChec
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.90-0ubuntu1
Architecture: i386
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: VT2020 Analog [VT2020 Analog]
Subdevices: 2/2
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/
BuildID: 20120102174747
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
Card hw:0 'SB'/'HDA ATI SB at 0xfe3f8000 irq 16'
Mixer name : 'VIA VT2020'
Components : 'HDA:11060441,
Controls : 33
Simple ctrls : 19
Card1.Amixer.info:
Card hw:1 'HDMI'/'HDA ATI HDMI at 0xfe9ec000 irq 88'
Mixer name : 'ATI R6xx HDMI'
Components : 'HDA:1002aa01,
Controls : 4
Simple ctrls : 1
Card1.Amixer.
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [on]
Channel: beta
Date: Thu Jan 19 13:52:18 2012
ForcedLayersAccel: False
IpRoute:
default via 192.168.172.100 dev eth2 metric 100
169.254.0.0/16 dev eth2 scope link metric 1000
192.168.172.0/24 dev eth2 proto kernel scope link src 192.168.172.26
IwConfig: Error: [Errno 2] No such file or directory
ProcEnviron:
LANGUAGE=en
PATH=(custom, no user)
LANG=C
SHELL=/bin/bash
Profiles: Profile0 (Default) - LastVersion=
PulseSinks: Error: command ['pacmd', 'list-sinks'] failed with exit code 127: pacmd: error while loading shared libraries: libpulsecommon-
PulseSources: Error: command ['pacmd', 'list-sources'] failed with exit code 127: pacmd: error while loading shared libraries: libpulsecommon-
RfKill: Error: [Errno 2] No such file or directory
RunningIncompat
SourcePackage: firefox
UpgradeStatus: Upgraded to precise on 2012-01-01 (17 days ago)
WpaSupplicantLog:
dmi.bios.date: 02/17/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1902
dmi.board.
dmi.board.name: Crosshair IV Formula
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: System Product Name
dmi.product.
dmi.sys.vendor: System manufacturer
mtime.conffile.
Related branches
tags: | added: apparmor |
Changed in apparmor (Ubuntu): | |
assignee: | nobody → Jamie Strandboge (jdstrand) |
status: | Triaged → In Progress |
Thank you for using Ubuntu and filing a bug. /etc/drirc would be better in the X abstraction, so I have adjusted the bug accordingly.