Comment 4 for bug 1634390

Revision history for this message
Sandor Zeestraten (szeestraten) wrote :

@anatasia-macmood The offending systemd service files are symlinked from /var/lib/juju/init/ to /etc/systemd/system/ by the Juju agent installer I presume.

Systemd manages to load these files fine when I simply place in /etc/systemd/system/ like Juju already does with the juju-clean-shutdown.service.

As @macgreagoir mentioned, someone with some more systemd knowledge might have a better idea if the service script can be tweaked or if the location of these files should be reconsidered.

Anyway, I think it is safe to say that Juju should not assume that /var is on the same partition as / as splitting these is a relatively common practice. Perhaps it could be added as a test case?