juju has conf files in /var/log/juju on instances

Bug #1370896 reported by Brad Marshall
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
High
Nate Finch
1.24
Fix Released
High
Nate Finch

Bug Description

I've setup a test juju install using juju-core 1.21-alpha1, and found some odd files in /var/log/juju on the bootstrap node:

$ ls /var/log/juju
all-machines.log logrotate.conf machine-0.log rsyslog-key.pem
ca-cert.pem logrotate.run rsyslog-cert.pem

Specifically, I'd expect the .pem, .conf and probably .run files to be located somewhere else, most likely /etc.
Definately not stored in /var/log/juju.

Software details from the node running juju:

$ dpkg-query -W juju-core
juju-core 1.21-alpha1-0ubuntu1~14.04.1~juju1

$ lsb_release -d
Description: Ubuntu 14.04.1 LTS

Please let me know if you need any further details.

Ian Booth (wallyworld)
Changed in juju-core:
importance: Undecided → High
status: New → Triaged
milestone: none → 1.21-alpha2
Curtis Hovey (sinzui)
tags: added: logging
Curtis Hovey (sinzui)
tags: added: rsyslog
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 1.21-alpha2 → 1.21-alpha3
Curtis Hovey (sinzui)
Changed in juju-core:
importance: High → Medium
milestone: 1.21-alpha3 → none
tags: added: canonical-bootstack
Changed in juju-core:
milestone: none → 1.24-alpha1
importance: Medium → High
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 1.24-alpha1 → 1.25.0
Revision history for this message
Nate Finch (natefinch) wrote :

Upon discussion with thumper and wallyworld, we will move these to /var/lib/juju/ pending a later move Real Soon Now* to using /etc/juju/

*probably not actually soon

Nate Finch (natefinch)
Changed in juju-core:
assignee: nobody → Nate Finch (natefinch)
Nate Finch (natefinch)
summary: - juju 1.21-alpha1 has conf files in /var/log/juju on instances
+ juju has conf files in /var/log/juju on instances
Revision history for this message
Katherine Cox-Buday (cox-katherine-e) wrote :

Work on this bug is partially complete. Nate was pulled of on different things, and will return to this soon.

Revision history for this message
Eric Snow (ericsnowcurrently) wrote :
Revision history for this message
Eric Snow (ericsnowcurrently) wrote :

Follow-up fixes: lp:1464335 & lp:1468815

Revision history for this message
Nate Finch (natefinch) wrote :

FP to master in progress here: https://github.com/juju/juju/pull/2505

Revision history for this message
Nate Finch (natefinch) wrote :

Forward Port merged.

Changed in juju-core:
status: Triaged → 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.