I confirm the workaround works for me:

Before:

root@ubuntu:~# cat /etc/fstab
/dev/mapper/vg00-rootvol /               ext4    errors=remount-ro 0       1
/dev/mapper/vg00-varvol /var            ext4    defaults        0       2
/dev/mapper/vg00-swap none            swap    sw              0       0

root@ubuntu:~# snap install hello-world
error: cannot perform the following tasks:
- Mount snap "core" (2898) ([start snap-core-2898.mount] failed with exit 
status 6: Failed to issue method call: Unit 
systemd-fsck@dev-mapper-vg00\x2dvarvol.service failed to load: No such file or 
directory. See system logs and 'systemctl status 
systemd-fsck@dev-mapper-vg00\x2dvarvol.service' for details.
)


After:

root@ubuntu:~# cat /etc/fstab
/dev/mapper/vg00-rootvol /               ext4    errors=remount-ro 0       1
/dev/mapper/vg00-varvol /var            ext4    defaults        0       0
/dev/mapper/vg00-swap none            swap    sw              0       0

root@ubuntu:~# snap install hello-world
hello-world 6.3 from 'canonical' installed

root@ubuntu:~# snap install canonical-livepatch
canonical-livepatch 7 from 'canonical' installed

root@ubuntu:~# sudo canonical-livepatch enable <redacted>

root@ubuntu:~# canonical-livepatch status 
kernel: 4.4.0-96.119~14.04.1-generic
fully-patched: true
version: ""


Thanks Rafael!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1718966

Title:
  Cannot install snaps on Ubuntu 14.04 with /var on its own partition

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapd/+bug/1718966/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to