Log files now owned by syslog user, 1.21.1
Bug #1417449 reported by
Stuart Bishop
on 2015-02-03
This bug affects 1 person
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | juju-core |
High
|
Unassigned | ||
| | 1.21 |
High
|
Unassigned | ||
| | 1.22 |
High
|
Unassigned | ||
Bug Description
Ownership of local provider log files is now incorrect. They should be owned by the user who created the environment. As of 1.21.1, they are mostly owned by the syslog user and ca-cert.pem is owned by the root user. This makes them rather useless.
Curtis Hovey (sinzui)
on 2015-02-03
| tags: | added: logging |
| Changed in juju-core: | |
| status: | New → Triaged |
| importance: | Undecided → High |
| milestone: | none → 1.23 |
Curtis Hovey (sinzui)
on 2015-02-05
| tags: | added: canonical-is |
| John Weldon (johnweldon4) wrote : | #3 |
Correction - seems to be introduced by revision b6e8043b
| Nate Finch (natefinch) wrote : | #4 |
As pointed out above, this code has existed in this way for almost a year at this point. I believe the correct behavior is for the local provider to behave as closely as possible to the rest of the providers, which means to have the logs owned by the syslog user. So, I don't believe this is actually a bug.
| Changed in juju-core: | |
| status: | Triaged → Won't Fix |
Curtis Hovey (sinzui)
on 2015-02-09
| Changed in juju-core: | |
| milestone: | 1.23 → none |
To post a comment you must log in.


stub@belch: ~/.local/ juju/local/ log$ ls -al 0.log 1.log 2.log
total 288
drwxr-xr-x 2 syslog adm 4096 Feb 3 16:34 .
drwxrwxr-x 24 root syslog 4096 Feb 3 16:26 ..
-rw------- 1 syslog adm 116163 Feb 3 16:34 all-machines.log
-rw-r--r-- 1 root root 883 Feb 3 16:34 ca-cert.pem
-rw------- 1 syslog syslog 600 Feb 3 16:26 logrotate.conf
-rwx------ 1 syslog syslog 105 Feb 3 16:26 logrotate.run
-rw------- 1 syslog syslog 35395 Feb 3 16:32 machine-0.log
-rw------- 1 syslog fuse 3646 Feb 3 16:33 machine-1.log
-rw------- 1 syslog fuse 3646 Feb 3 16:33 machine-2.log
-rw------- 1 syslog fuse 3646 Feb 3 16:33 machine-3.log
-rw------- 1 syslog fuse 3646 Feb 3 16:34 machine-4.log
-rw------- 1 syslog syslog 936 Feb 3 16:26 rsyslog-cert.pem
-rw------- 1 syslog syslog 891 Feb 3 16:26 rsyslog-key.pem
-rw------- 1 syslog fuse 28724 Feb 3 16:34 unit-cassandra-
-rw------- 1 syslog fuse 28401 Feb 3 16:34 unit-cassandra-
-rw------- 1 syslog fuse 28058 Feb 3 16:34 unit-cassandra-
-rw------- 1 syslog fuse 1840 Feb 3 16:34 unit-client-0.log