Public bug reported: I'm trying to use a snap as part of a Jenkins job. Jenkins runs its jobs in /var/lib/jenkins/..., which is what home is defined as in /etc/passwd:
$ grep jenkins /etc/passwd jenkins:x:114:120:Jenkins,,,:/var/lib/jenkins:/bin/bash However, I get the following error message: cannot remain in /var/lib/jenkins, please run this snap from another location. errmsg: No such file or directory ** Affects: snappy Importance: Undecided Status: New ** Affects: snapd (Ubuntu) Importance: Undecided Status: New ** Also affects: snappy Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1607710 Title: Use passwd to determine user home directory To manage notifications about this bug go to: https://bugs.launchpad.net/snappy/+bug/1607710/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs