On Fri, Mar 2, 2018 at 5:49 PM, Vincent Bernat <[email protected]> wrote:
> ❦ 2 mars 2018 09:49 +1100, Igor Cicimov <[email protected] > > : > > > $ ls -l /var/log/haproxy.log > > -rw-r----- 1 syslog adm 48939 Mar 1 20:17 /var/log/haproxy.log > > > > and I'm sure this file was automatically created (by rsyslog I guess?). > > I'm sure this has always been the case hence the reason I was confused > when > > I had to create it manually (obviously with wrong permissiosn :-/ ). > > > > So the question is now why this file did not get created in the first > place > > although I restarted rsyslog and haproxy several times? > > I suppose the permissions of /var/log are incorrect. It should be owned > by syslog? > -- The permissions look ok: # ls -ld /var/log/ drwxrwxr-x 16 root syslog 4096 Mar 2 00:00 /var/log/ # id -a syslog uid=104(syslog) gid=108(syslog) groups=108(syslog),4(adm)

