Comment 1 for bug 1301678

Revision history for this message
Olivier Tilloy (osomon) wrote :

I think I know what’s going on: to determine which kind of scrollbars it should display, oxide queries the form factor. And to detect a phone or tablet, the current implementation tries to enumerate udev devices matching "android_usb". Application confinement for the webapp container means that it’s not allowed to perform this kind of query, and it therefore assumes desktop form factor:

Apr 3 10:08:10 ubuntu-phablet kernel: [ 9234.082092] type=1400 audit(1396519690.090:296): apparmor="DENIED" operation="open" parent=4734 profile="com.ubuntu.developer.webapps.webapp-facebook_webapp-facebook_1.0.11//oxide_helper" name="/proc/sys/kernel/yama/ptrace_scope" pid=4735 comm="oxide-renderer" requested_mask="r" denied_mask="r" fsuid=32011 ouid=0