mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: "Schenk, Gavin" <G.Schenk@eckelmann.de>
To: "ptxdist@pengutronix.de" <ptxdist@pengutronix.de>
Subject: [ptxdist] rsyslog does not work with systemd 189
Date: Wed, 19 Sep 2012 10:13:48 +0000	[thread overview]
Message-ID: <D415CD2EC4182C4EAB90A76B7D9F16DCA96FEE71@EX-DAG02.eckelmann.group> (raw)

Hi,

rsyslog does not work with systemd 189. One cause is the systemd unitfile delivered with rsyslog.
It looks like:

<SNIP>
[Unit]
Description=System Logging Service

[Service]
ExecStartPre=/bin/systemctl stop systemd-kmsg-syslogd.service
ExecStart=@sbindir@/rsyslogd -n -c6
Sockets=syslog.socket
StandardOutput=null
</SNIP>

But in newer systemd environments it should look like:
[Unit]
Description=System Logging Service
Requires=syslog.socket

[Service]
ExecStart=/usr/sbin/syslog-ng -n
StandardOutput=null

[Install]
Alias=syslog.service
WantedBy=multi-user.target

The systemd-kmsg-syslogd.service does not exist anymore and this leads to infinite errors during bootup. I had a look to newer versions of rsyslog, but even in rsyslog 7.1.3 the rsyslog.service.in looks the same old way.

I am not sure what is the best way to fix this? Meantime I use a local patch in my project.

Regards
Gavin
Eckelmann Aktiengesellschaft
Vorstand: Dr.-Ing. Gerd Eckelmann (Vorsitzender)
Dr.-Ing. Peter Cordes, Dr.-Ing. Frank-Thomas Mellert
Vorsitzender des Aufsichtsrats: Hubertus G. Krossa
Sitz der Gesellschaft: Wiesbaden Amtsgericht Wiesbaden HRB 12636

-- 
ptxdist mailing list
ptxdist@pengutronix.de

             reply	other threads:[~2012-09-19 10:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-19 10:13 Schenk, Gavin [this message]
2012-09-19 12:13 ` Wolf Erik
2012-09-19 12:42   ` Schenk, Gavin
2012-09-19 13:27     ` Wolf Erik
2012-09-19 15:19       ` Schenk, Gavin
2012-09-21 15:06     ` Michael Olbrich
2012-09-24  7:21       ` Wolf Erik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D415CD2EC4182C4EAB90A76B7D9F16DCA96FEE71@EX-DAG02.eckelmann.group \
    --to=g.schenk@eckelmann.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox