gruber
By:
gruber

Ubuntu 12.04 x64 Server - wrong ownership on /var/log/syslog?

June 13, 2013 6.7k views
on a fresh Ubuntu 12.04 x64 Server droplet /var/log/syslog is empty and no entries are added. file ownership is root.root, after changing this to syslog.adm everything works fine. messages is also owned by root.root. is this a bug? (and is this the correct place for feedback)? also there is a file called "mail.*" (including the asterisk) in /var/log which seems wrong.
10 Answers
This is happening for me too. For all my droplets :(
This happend to me to, is it Ubuntu or DO that causes the problem?
Are you still experiencing this? If so, can you please open up a ticker so we can take a look?
Yes, still a problem.
Droplet was created 8th of August 2013. Ubuntu 12.04.
@saturlight: Can you please open up a support ticket? Thanks!
In creating a brand-new Ubuntu 12.04 x64 droplet, my permissions look all fine:

https://www.dropbox.com/s/4isejd8h13tr0j4/log2013082401.txt

-Will

I created an Ubuntu 12.04 64-bit Droplet the other day (9 Oct 2013) and ran into this problem. 2 days of logs that I needed to consult... never written to disk. WTF?

I had to add the following to my Puppet manifest just to make logging work:

file {"/var/log/messages":
owner => syslog,
group => adm,
mode => 0644,
}

file {"/var/log/debug":
owner => syslog,
group => adm,
mode => 0644,
}

file {"/var/log/syslog":
owner => syslog,
group => adm,
mode => 0644,
}
@Douglas: Can you please open up a support ticket?
What was the outcome of this?

I've just gone to check the logs on my droplet for something, and they're empty and haven't been written to since June. The permissions are broken as per the above also.
@do: It was resolved. If a new droplet has this issue, please open up a support ticket.
Have another answer? Share your knowledge.