snapd crashes on fedora

Zygmunt Krynicki me at zygoon.pl
Sun Jul 24 05:57:07 UTC 2016


> Wiadomość napisana przez Adam Kurkiewicz <popantrop at gmail.com> w dniu 24.07.2016, o godz. 00:30:
> 
> Hey guys, I've followed the instructions to install snapd on fedora 23:
> 
> http://snapcraft.io/docs/core/install
> 
> The installation almost worked (I just had to replace a dash with a
> hyphen. It's probably a good idea to remove it: it is between the
> words "enable" and "now") and I've got a snapd installed on my system.
> 
> However, it would't even start because (as journalctl --unit=snapd told me):
> 
> Jul 23 18:45:24 jordan snapd[10645]: error: fatal: directory
> "/var/lib/snapd" must be present

Thanks for reporting this. I think this directory is usually included in the packaging (or at least has been earlier).

> 
> I had to go ahead and manually
> 
> sudo mkdir /var/lib/snapd
> 
> which at least allowed me to start the deamon.
> 
> I can three ways to fix it:
> 
> 1) add my workaround to the official instructions
> 2) fix snapd to automatically create /var/lib/snapd or
> 3) fix zyga/ubuntucore on corp to include this directory (maybe put
> some empty file there if one can't create empty directories with corp,
> I don't know).

Let’s do this ASAP so that the user experience is not impaired. While this is addressed we can look for a more permanent and universal solution.

Best regards
ZK





More information about the Snapcraft mailing list