Oh, I see what's wrong: They run /var/lib/juju/init/juju-agent-martin-
local/exec-start.sh, which runs

  /home/martin/.juju/local/tools/machine-0/jujud

This can't work, as my home directory does not exist until I log in
(it's encrypted). This will equally affect /home on NFS and the like.

 * Do these juju and mongodb processes need to run as root? If they can
run as (my) user, then these two services should become session services
instead of system services.

 * If they do need to run as root, please put the data into /var/lib
somewhere, as you can't assume access to /home directories with system
services.

** Summary changed:

- juju-local: systemd units fail on boot
+ juju-local: systemd units fail on boot if /home is not accessible before 
logging in

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

Title:
  juju-local: systemd units fail on boot if /home is not accessible
  before logging in

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/juju-core/+bug/1536522/+subscriptions

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

Reply via email to