Comment 38 for bug 131976

Revision history for this message
Nikolaus Rath (nikratio) wrote :

It still does not work:

[0] matterhorn[ltsp]:~# cat /etc/apparmor.d/tunables/alias
# https://bugs.launchpad.net/bugs/131976
alias file
alias /rofs -> /,
alias /cow -> /,

[0] matterhorn[ltsp]:~# /etc/init.d/apparmor restart
 * Reloading AppArmor profiles Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox-3.5
                                                                         [ OK ]
[0] matterhorn[ltsp]:~# /sbin/dhclient3
/sbin/dhclient3: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
[127] matterhorn[ltsp]:~# dmesg | tail
[ 238.455429] type=1505 audit(1265816743.526:36): operation="profile_replace" pid=3252 name=/usr/lib/connman/scripts/dhclient-script
[ 250.748581] type=1505 audit(1265816755.818:37): operation="profile_replace" pid=3253 name=/usr/bin/evince
[ 250.750097] type=1505 audit(1265816755.821:38): operation="profile_replace" pid=3253 name=/usr/bin/evince-previewer
[ 250.751089] type=1505 audit(1265816755.821:39): operation="profile_replace" pid=3253 name=/usr/bin/evince-thumbnailer
[ 251.059593] type=1505 audit(1265816756.130:40): operation="profile_replace" pid=3255 name=/usr/lib/cups/backend/cups-pdf
[ 251.059841] type=1505 audit(1265816756.130:41): operation="profile_replace" pid=3255 name=/usr/sbin/cupsd
[ 251.148214] type=1505 audit(1265816756.220:42): operation="profile_replace" pid=3256 name=/usr/sbin/tcpdump
[ 259.679327] type=1503 audit(1265816764.748:43): operation="open" pid=3280 parent=3024 profile="/sbin/dhclient3" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/rofs/etc/ld.so.cache"
[ 259.679422] type=1503 audit(1265816764.748:44): operation="open" pid=3280 parent=3024 profile="/sbin/dhclient3" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/rofs/lib/tls/i686/cmov/libc-2.10.1.so"
[ 259.680201] type=1503 audit(1265816764.752:45): operation="open" pid=3280 parent=3024 profile="/sbin/dhclient3" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/rofs/lib/libc-2.10.1.so"

Which profile do you want me to attach?