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

Bug #1370896 reported by Brad Marshall on 2014-09-18
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
juju-core
High
Nate Finch
1.24
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) on 2014-09-18
Changed in juju-core:
importance: Undecided → High
status: New → Triaged
milestone: none → 1.21-alpha2
Curtis Hovey (sinzui) on 2014-09-24
tags: added: logging
Curtis Hovey (sinzui) on 2014-10-20
tags: added: rsyslog
Curtis Hovey (sinzui) on 2014-10-23
Changed in juju-core:
milestone: 1.21-alpha2 → 1.21-alpha3
Curtis Hovey (sinzui) on 2014-10-28
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) on 2015-04-27
Changed in juju-core:
milestone: 1.24-alpha1 → 1.25.0
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) on 2015-05-06
Changed in juju-core:
assignee: nobody → Nate Finch (natefinch)
Nate Finch (natefinch) on 2015-05-06
summary: - juju 1.21-alpha1 has conf files in /var/log/juju on instances
+ juju has conf files in /var/log/juju on instances

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

Eric Snow (ericsnowcurrently) wrote :

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

Nate Finch (natefinch) wrote :

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

Nate Finch (natefinch) wrote :

Forward Port merged.

Changed in juju-core:
status: Triaged → Fix Committed
Curtis Hovey (sinzui) on 2015-07-21
Changed in juju-core:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers