[Bug 1592696] Re: snaps dont work with encrypted home: failed to create user data directory. errmsg: Permission denied

2016-08-08 Thread Ɓukasz Zemczak
Installing snap-confine and ubuntu-core-launcher from xenial-proposed resolved my issues, looking good. On the pending SRU page I don't see this bug being marked as fixed by the upload, but from my POV this can be considered as 'verification-done'. -- You received this bug notification because

[Bug 1592696] Re: snaps dont work with encrypted home: failed to create user data directory. errmsg: Permission denied

2016-08-04 Thread Jamie Strandboge
Still waiting on snap-confine to land (it is in xenial-proposed)-- you can install snap-confine and ubuntu-core-launcher from https://launchpad.net/ubuntu/+source/snap- confine/1.0.38-0ubuntu0.16.04.4 and it will work. -- You received this bug notification because you are a member of Ubuntu

[Bug 1592696] Re: snaps dont work with encrypted home: failed to create user data directory. errmsg: Permission denied

2016-08-04 Thread David
Any fix for Ubuntu version 16.04? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1592696 Title: snaps dont work with encrypted home: failed to create user data directory. errmsg: Permission denied

[Bug 1592696] Re: snaps dont work with encrypted home: failed to create user data directory. errmsg: Permission denied

2016-07-26 Thread Jamie Strandboge
Err, I of course meant "will hopefully be fixed for all 16.04 LTS users soon" -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1592696 Title: snaps dont work with encrypted home: failed to create user

[Bug 1592696] Re: snaps dont work with encrypted home: failed to create user data directory. errmsg: Permission denied

2016-07-26 Thread Jamie Strandboge
FYI, this is fixed in the snap-confine that is in xenial-proposed and so it will hopefully be fixed for all 14.04 LTS users soon. In the meantime if you don't want to install proposed packages, the workarounds listed in this report continue to work. I'll list the complete workaround here: 1. make

[Bug 1592696] Re: snaps dont work with encrypted home: failed to create user data directory. errmsg: Permission denied

2016-07-26 Thread daftarche
This is too bad: Snap apps even don't run ... Linux: 4.4.0-31-generic #50-Ubuntu SMP x86_64 GNU/Linux Description:Ubuntu 16.04.1 LTS snap2.0.10 :~$ vlc failed to create user data directory. errmsg: Permission denied :~$ sudo vlc sudo: vlc: command not found It has to be fixed as a soon

[Bug 1592696] Re: snaps dont work with encrypted home: failed to create user data directory. errmsg: Permission denied

2016-07-16 Thread Steven
@brunonova + @gdstrand: Thanks, that did it for me. Linux 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1592696] Re: snaps dont work with encrypted home: failed to create user data directory. errmsg: Permission denied

2016-07-08 Thread Jamie Strandboge
@liro, the full set of snap-confine changes need to land since they are needed for a lot of other important snappy work and the snappy team will do what it takes to make them land. AIUI, the snappy team is actively working on landing snap-confine 1.0.36 (which has the fix for this bug) and they'll

[Bug 1592696] Re: snaps dont work with encrypted home: failed to create user data directory. errmsg: Permission denied

2016-07-08 Thread Iiro Laiho
@Martin Pitt, What about the patch in comment #7? It shouldn't be a too big change for a SRU? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1592696 Title: snaps dont work with encrypted home:

[Bug 1592696] Re: snaps dont work with encrypted home: failed to create user data directory. errmsg: Permission denied

2016-07-06 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: snapd (Ubuntu Xenial) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1592696

[Bug 1592696] Re: snaps dont work with encrypted home: failed to create user data directory. errmsg: Permission denied

2016-07-03 Thread Martin Pitt
There are a looot of changes in this, including a completely new build system, which don't match the usual SRU policy. Please add the missing SRU test case, an analysis of the regression potential, and point to a test plan to ensure that there are no regressions on existing xenial systems. **

[Bug 1592696] Re: snaps dont work with encrypted home: failed to create user data directory. errmsg: Permission denied

2016-07-03 Thread Martin Pitt
Sorry, "this" == upload sitting in the xenial-proposed SRU review queue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1592696 Title: snaps dont work with encrypted home: failed to create user data

[Bug 1592696] Re: snaps dont work with encrypted home: failed to create user data directory. errmsg: Permission denied

2016-06-28 Thread ilaiho
Doesn't "Fix Released" mean it is already pushed into repository? That is definitely not the case now what it comes to Xenial. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1592696 Title: snaps

[Bug 1592696] Re: snaps dont work with encrypted home: failed to create user data directory. errmsg: Permission denied

2016-06-18 Thread Redmar
@Bruno Nova, I'm sorry, I misread the apparmor_parser comment, and thought I only had to run apparmor_parser. After modifying /etc/apparmor.d/usr.bin.ubuntu- core-launcher as described in #7 running the apparmor_parser fixed snaps for me. Thanks a lot for this workaround, now I can start using

[Bug 1592696] Re: snaps dont work with encrypted home: failed to create user data directory. errmsg: Permission denied

2016-06-17 Thread Carlos Estrada
Is this going to be fixed in xenial? or just yakkety? I'm more comfortable with a package update than a workaraund. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1592696 Title: snaps dont work with

[Bug 1592696] Re: snaps dont work with encrypted home: failed to create user data directory. errmsg: Permission denied

2016-06-17 Thread Bruno Nova
@Redmar, have you modified /etc/apparmor.d/usr.bin.ubuntu-core-launcher according to comment #7 before running that command? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1592696 Title: snaps dont

[Bug 1592696] Re: snaps dont work with encrypted home: failed to create user data directory. errmsg: Permission denied

2016-06-17 Thread Leo Francisco
Yep, I'm still affected by this also. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1592696 Title: snaps dont work with encrypted home: failed to create user data directory. errmsg: Permission

[Bug 1592696] Re: snaps dont work with encrypted home: failed to create user data directory. errmsg: Permission denied

2016-06-16 Thread Redmar
I have tried the fix in #8 on 16.04 with encrypted home, but I still get the same error: redmar@raider:~$ sudo apparmor_parser -r /etc/apparmor.d/usr.bin.ubuntu-core-launcher redmar@raider:~$ hello failed to create user data directory. errmsg: Permission denied redmar@raider:~$ which hello

[Bug 1592696] Re: snaps dont work with encrypted home: failed to create user data directory. errmsg: Permission denied

2016-06-16 Thread Launchpad Bug Tracker
This bug was fixed in the package ubuntu-core-launcher - 1.0.29+1ubuntu1 --- ubuntu-core-launcher (1.0.29+1ubuntu1) yakkety; urgency=medium * debian/usr.bin.ubuntu-core-launcher: add a couple more workaround rules for ecryptfs (LP: #1592696) -- Jamie Strandboge

[Bug 1592696] Re: snaps dont work with encrypted home: failed to create user data directory. errmsg: Permission denied

2016-06-16 Thread Jamie Strandboge
Uploaded to yakkety and queued in snap-confine. Syncing with mvo and zyga on timing of those other changes to see if the ecryptfs issues should be separate SRU. ** Changed in: ubuntu-core-launcher (Ubuntu) Status: In Progress => Fix Committed -- You received this bug notification because

[Bug 1592696] Re: snaps dont work with encrypted home: failed to create user data directory. errmsg: Permission denied

2016-06-16 Thread Jamie Strandboge
For the workaround, simply use: $ sudo apparmor_parser -r /etc/apparmor.d/usr.bin.ubuntu-core-launcher No need to reboot and no need to install apparmor-utils. As for the timing of the fix-- the snappy team is making some fairly large changes to the launcher which is why the fix for this is not

[Bug 1592696] Re: snaps dont work with encrypted home: failed to create user data directory. errmsg: Permission denied

2016-06-16 Thread Jamie Strandboge
As for the yakkety denial, it looks like a rule was missed. I'll make sure that is fixed in yakkety and queued for the next SRU. ** Also affects: ubuntu-core-launcher (Ubuntu) Importance: Undecided Status: New ** Changed in: snapd (Ubuntu) Status: Confirmed => Invalid **

[Bug 1592696] Re: snaps dont work with encrypted home: failed to create user data directory. errmsg: Permission denied

2016-06-15 Thread Bruno Nova
I already commented in https://bugs.launchpad.net/snappy/+bug/1574556/comments/5 I posted a log in there. The fix (and workaround) is to add these lines to the end of the file /etc/apparmor.d/usr.bin.ubuntu-core-launcher, before the closing bracket ('}'): # Workaround

Re: [Bug 1592696] Re: snaps dont work with encrypted home: failed to create user data directory. errmsg: Permission denied

2016-06-15 Thread Mark Shuttleworth
This is a good catch, thank you! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1592696 Title: snaps dont work with encrypted home: failed to create user data directory. errmsg: Permission denied

[Bug 1592696] Re: snaps dont work with encrypted home: failed to create user data directory. errmsg: Permission denied

2016-06-15 Thread Redmar
This is from a fresh install of the latest yakkety in virtualbox: $ grep DEN /var/log/syslog Jun 15 18:49:41 test-VirtualBox kernel: [ 90.415758] audit: type=1400 audit(1466009381.034:41): apparmor="DENIED" operation="open" profile="/usr/bin/ubuntu-core-launcher"

[Bug 1592696] Re: snaps dont work with encrypted home: failed to create user data directory. errmsg: Permission denied

2016-06-15 Thread Jamie Strandboge
For the yakkety system, what is the output of 'grep DEN /vag/log/syslog'? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1592696 Title: snaps dont work with encrypted home: failed to create user

[Bug 1592696] Re: snaps dont work with encrypted home: failed to create user data directory. errmsg: Permission denied

2016-06-15 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: snapd (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1592696 Title:

[Bug 1592696] Re: snaps dont work with encrypted home: failed to create user data directory. errmsg: Permission denied

2016-06-15 Thread Simon Quigley
This is also a problem in Yakkety. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1592696 Title: snaps dont work with encrypted home: failed to create user data directory. errmsg: Permission