[Bug 1536522] Re: juju-local: systemd units fail on boot

Martin Pitt martin.pitt at ubuntu.com
Thu Jan 21 08:25:37 UTC 2016


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
Server Team, which is subscribed to juju-core in 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



More information about the Ubuntu-server-bugs mailing list