[systemd-devel] systemd-logger and external syslog daemon

Lennart Poettering lennart at poettering.net
Thu Mar 10 13:03:59 PST 2011


On Thu, 10.03.11 23:08, Mike Kazantsev (mk.fraggod at gmail.com) wrote:

> On Thu, 10 Mar 2011 19:14:29 +0300
> Andrey Borzenkov <arvidjaar at mail.ru> wrote:
> 
> > On Wed, Feb 23, 2011 at 10:48 AM, Mike Kazantsev <mk.fraggod at gmail.com> wrote:
> > 
> > > How the kmsg-syslogd->rsyslog migration (for systemd output) is supposed
> > > to work?
> > >
> > 
> > As I just went through all of it ...
> > 
> > you absolutely need rsyslog that supports passing sockets from
> > systemd. Otherwise it is race condition - rsyslog will remove and
> > recreate /dev/log on activation so you end up with
> > 
> 
> The behaviour I've described is what actually happened to me with git
> version of rsyslog from the master branch (that's what I meant by
> "latest scm version") - it's 6-git version.
> If that doesn't support passsing sockets from systemd, I don't think any
> other version does ;)

rsyslog 5.7.7 contains all the necessary glue code.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list