Ubuntu 14.04 e Skype 4.2 instalados. Configurei o AppArmor usando o perfil do Skype AppArmor deste wiki . Quando uso o AppArmor com o Skype, ele não tem áudio. Alguém está usando o AppArmor com sucesso com o mais recente Skype? Como posso fazer isso funcionar?
UPDATE:
O perfil abaixo é o que eu agora uso com sucesso. Eu comentei algumas permissões que acho que o Skype não deveria ter. Se você tiver problemas com este perfil, tente remover todos os hashes (#) após a linha 15 e recarregue o perfil com apparmor_parser -r /etc/apparmor.d/usr.bin.skype
.
# Last Modified: Tue Jun 24 05:59:42 2014
#include <tunables/global>
/usr/bin/skype {
#include <abstractions/audio>
#include <abstractions/consoles>
#include <abstractions/dbus-session>
#include <abstractions/gnome>
#include <abstractions/kde>
#include <abstractions/nameservice>
#include <abstractions/video>
deny /sys/devices/virtual/dmi/** r,
deny owner @{HOME}/docker** r,
deny owner @{HOME}/.mozilla/ r,
deny owner @{HOME}/.mozilla/** r,
# /dev/ r,
/dev/video[0-9]* mrw,
# /etc/ r,
/etc/asound.conf r,
/etc/machine-id r,
/etc/xdg/Trolltech.conf r,
# /etc/xdg/Trolltech.conf rk,
/etc/xdg/sni-qt.conf r,
# /etc/xdg/sni-qt.conf rk,
/sys/devices/pci*/*/usb[0-9]*/*/{idVendor,idProduct,speed} r,
/sys/devices/system/cpu/cpu[0-9]*/cpufreq/scaling_{cur_freq,max_freq} r,
# /tmp/** rwlk,
/usr/bin/kde4-config mrPUx,
/usr/bin/skype mrix,
/usr/bin/xdg-open mrPUx,
/usr/lib{,32}/libv4l/v4l2convert.so r,
# /usr/lib{,32}/libv4l/v4l2convert.so mr,
/usr/lib{,32}/skype/skype mrix,
/usr/share/icons/*/index.theme r,
# /usr/share/icons/*/index.theme rk,
/usr/share/nvidia/nvidia-application-profiles-*-rc r,
# /usr/share/skype/ r,
/usr/share/skype/** r,
# /usr/share/skype/lib/libQtWebKit.so.4 mr,
/{run,dev}/shm/pulse-shm* r,
# /{run,dev}/shm/pulse-shm* rwk,
# /home/ r,
owner @{HOME}/ r,
owner @{HOME}/.Xauthority r,
owner @{HOME}/.cache/fontconfig/* r,
owner @{HOME}/.kde/** r,
owner @{HOME}/.Skype/ r,
owner @{HOME}/.Skype/** rwk,
owner @{HOME}/.config/Skype/ r,
owner @{HOME}/.config/Skype/** rwk,
owner @{HOME}/.config/Trolltech.conf r,
# owner @{HOME}/.config/Trolltech.conf rwk,
owner @{HOME}/.config/fontconfig/fonts.conf r,
owner @{HOME}/.config/gtk-3.0/bookmarks r,
owner @{HOME}/.config/oxygen-gtk/argb-apps.conf r,
# owner @{HOME}/.config/oxygen-gtk/argb-apps.conf rw,
owner @{HOME}/.config/pulse/cookie r,
# owner @{HOME}/.config/pulse/cookie rwk,
owner @{HOME}/.icons/** r,
owner @{HOME}/.kde4/share/config/gtkrc-2.0 r,
owner @{HOME}/.kde4/share/config/kdeglobals r,
# owner @{HOME}/.kde4/share/config/kdeglobals rwk,
owner @{HOME}/.kde4/share/config/oxygenrc r,
owner @{HOME}/Downloads/ r,
owner @{HOME}/Downloads/** rw,
owner @{PROC}/[0-9]*/cmdline r,
owner @{PROC}/[0-9]*/fd/ r,
owner @{PROC}/[0-9]*/status r,
owner @{PROC}/[0-9]*/task/ r,
owner @{PROC}/[0-9]*/task/[0-9]*/stat r,
@{PROC}/*/net/route r,
@{PROC}/[0-9]*/net/arp r,
@{PROC}/sys/kernel/{ostype,osrelease} r,
@{PROC}/sys/vm/overcommit_memory r,
}