local provider "machine0" agent fails to start up on wily if "/var/lib" is not on the "/" partition.

Bug #1514555 reported by Martin Hilton
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Expired
Low
Unassigned

Bug Description

For historical reasons my /var/lib directory is in its own partition. This seems to be causing systemd to fail to be able to start the agent and db jobs.

Nov 09 18:18:22 goldfish systemd[1]: juju-agent-mhilton-local.service: Cannot add dependency job, ignoring: Unit juju-agent-mhilton-local.service failed to load: No such file or direct
Nov 09 18:18:22 goldfish systemd[1]: juju-db-mhilton-local.service: Cannot add dependency job, ignoring: Unit juju-db-mhilton-local.service failed to load: No such file or directory.

Crucially this dependency tree is generated before /var/lib is mounted. I'm not entirely sure that having /var/lib in its own partition is completely supported, but I'm pretty sure having /var in its own partition is and I believe you'd get the same problem with that too.

Revision history for this message
Cheryl Jennings (cherylj) wrote :

I suspect that this is because juju uses systemctl link to link the service files, rather than copying them over to /etc/systemd/system.

You can manually copy the files over, and hopefully that will work around this error.

Revision history for this message
Cheryl Jennings (cherylj) wrote :

... forgot to mention that the service files that are linked reside in /var/lib/juju/init/

Changed in juju-core:
status: New → Triaged
importance: Undecided → Low
tags: added: 2.0-count
affects: juju-core → juju
Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

This bug has not been updated in 5 years, so we're marking it Expired. If you believe this is incorrect, please update the status.

Changed in juju:
status: Triaged → Expired
tags: added: expirebugs-bot
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.