apparmor="DENIED" with ecrypted Home directory

Jian LUO jian.luo.cn at gmail.com
Tue Jun 14 21:34:44 UTC 2016


Hi,

I got these error in a new xenial installation on my laptop.

daniel at virgo:~$ pciutils.lspci ; journalctl | tail -n3
failed to create user data directory. errmsg: Permission denied
Jun 14 23:02:23 virgo audit[7661]: AVC apparmor="DENIED" operation="open"
profile="/usr/bin/ubuntu-core-launcher"
name="/home/.ecryptfs/daniel/.Private/" pid=7661 comm="ubuntu-core-lau"
requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Jun 14 23:02:23 virgo kernel: audit: type=1400 audit(1465938143.001:272):
apparmor="DENIED" operation="open" profile="/usr/bin/ubuntu-core-launcher"
name="/home/.ecryptfs/daniel/.Private/" pid=7661 comm="ubuntu-core-lau"
requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Jun 14 23:02:23 virgo kernel: ecryptfs_dir_open: Error attempting to
initialize the lower file for the dentry with name [/]; rc = [-13]

I've tested with atom, hello-world and pciutils from the store w/ or w/o
--devmode.

Google search leads me to these two Bugs #359338 [1] and #1574526 [2]. But
doubt that this one is also related. Should I fire a new one?

Jian
---
daniel at virgo:~$ uname -a ; dpkg -l snapd|tail -n1
Linux virgo 4.4.0-24-generic #43-Ubuntu SMP Wed Jun 8 19:27:37 UTC 2016
x86_64 x86_64 x86_64 GNU/Linux
ii  snapd          2.0.8        amd64        Tool to interact with Ubuntu
Core Snappy.

daniel at virgo:~$ snap list
Name         Version               Rev  Developer  Notes
atom-cwayne  1.9.0                 1    cwayne18   devmode
hello-world  6.1                   26   canonical  -
pciutils     3.3.1-1               1    woodrow    devmode
ubuntu-core  16.04+20160531.11-56  122  canonical  -

[1] https://bugs.launchpad.net/ubuntu/+source/ecryptfs-utils/+bug/
[2] https://bugs.launchpad.net/snappy/+bug/1574526
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20160614/e07ad323/attachment.html>


More information about the Snapcraft mailing list