[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#429243: stopped working, SSH stopped logging failures!



On Wed, Sep 02, 2009 at 02:30:11PM +0100, Colin Watson wrote:

> > Maybe a better option would be to let rsyslog automatically create the
> > directory for the socket if it is missing?
> 
> If it created the socket itself as well, then that might do the job.
> We'd need to make sure permissions were consistent.

IMHO there are three cases to consider:

- A package wants to specify a location that is supposed to be
  non-volatile. In this case the directory is owned by the package,
  and there is no need to auto-create. This is the case for e.g.
  postfix.

- A package wants to specify a location that is (probably) volatile. In
  this case the package already has to have code to create the directory
  and fix the permissions if needed. This is the case for openssh.

- The sysadmin wants to add an extra listener location.

For the first two cases, it's not really the job of rsyslog etc. to get
the permissions right, so always using root:root & mode 755 is enough.
For the last case, being able to specify the default owner/permissions
in the syslog config. file would be nice, but it is not in the scope of
this bug report.

Gabor

-- 
     ---------------------------------------------------------
     MTA SZTAKI Computer and Automation Research Institute
                Hungarian Academy of Sciences
     ---------------------------------------------------------



Reply to: