systemd-related tests may fail under windows

Bug #1459785 reported by Eric Snow
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
High
Eric Snow
1.24
Won't Fix
High
Eric Snow

Bug Description

The code in service/systemd/service.go stores files in a data dir if the conf is complex (e.g. multi-line ExecStart). The path to that data dir is determined from the currently running juju, even if a remote host is being targeted:

  paths.DataDir(version.Current.Series)

This makes the systemd code break under Windows in the complex case, though only in tests since Windows does not run systemd.

Revision history for this message
Eric Snow (ericsnowcurrently) wrote :
Changed in juju-core:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Eric Snow (ericsnowcurrently)
milestone: none → 1.25.0
tags: added: systemd windows
Revision history for this message
Eric Snow (ericsnowcurrently) wrote :

Fixing this in 1.24 won't make a difference so I'm marking it "won't fix" for that version.

Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
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.