mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: "Wolf Erik" <Erik.Wolf@neuberger.net>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] rsyslog does not work with systemd 189
Date: Wed, 19 Sep 2012 15:27:11 +0200	[thread overview]
Message-ID: <84D7328F545A4040B6CE2CB7BE091E937A9FE1@exchange.Neuberger.local> (raw)
In-Reply-To: <D415CD2EC4182C4EAB90A76B7D9F16DCA96FEEA5@EX-DAG02.eckelmann.group>

Schenk, Gavin wrote:
> Hi,
> 
> without any warranty :D ...
> I´m not sure if I can attach files to this mail, but i´ll give it a
> try. 
> 
> Attached you hopefully find a file named patch_rsyslog-5.8.12.tgz.
> 
> Put this file into $(PTXDIST_PROJECTDIR)/patches and extract it with:
> tar -xzvf patch_rsyslog-5.8.12.tgz
> 
> Rebuild your rsyslog package with:
> ./ptxdist clean rsyslog
> ./ptxdist targetinstall rsyslog
> 
> The patch just removes the line
> ExecStartPre =/bin/systemctl stop systemd-kmsg-syslogd.service and
> adds Requires=syslog.socket in rsyslog.service.in 

Are you sure that you need "Requires=syslog.socket"?

I have tried it and it doesn't work. It seems to be work if i remove the previous configline.
Otherwise the service failed due this: A dependency job failed. See system journal for details.

> 
> Hope this helps!
> 
> Regards
> Gavin
> 
>> -----Original Message-----
>> From: Wolf Erik [mailto:Erik.Wolf@neuberger.net]
>> Sent: Wednesday, September 19, 2012 2:13 PM
>> To: ptxdist@pengutronix.de
>> Cc: Schenk, Gavin
>> Subject: AW: [ptxdist] rsyslog does not work with systemd 189
>> 
>> Hey Gavin,
>> 
>> Schenk, Gavin wrote:
>>> 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.
>> 
>> I have currently the same problem, can you share your Patch until a
>> final solution? 
>> 
>>> 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
>> 
>> 
>> 
>> Mit freundlichen Grüßen
>> 
>> i.A. Erik Wolf
>> Hardwareentwicklung
>> 
>> Neuberger Gebäudeautomation GmbH
>> Oberer Kaiserweg 6
>> 91541 Rothenburg o.d.T.
>> 
>> Telefon:  +49 9861 402-542
>> Telefax:  +49 9861 402-533
>> E-Mail:   erik.wolf@neuberger.net
>> Internet: www.neuberger.net
>> 
>> Handelsregister: AG Ansbach HRB 4933
>> Sitz: Rothenburg ob der Tauber
>> Geschäftsführer: Klaus Lenkner
>> Ust.IdNr. DE 271 188 426
> 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   



Mit freundlichen Grüßen

i.A. Erik Wolf
Hardwareentwicklung

Neuberger Gebäudeautomation GmbH
Oberer Kaiserweg 6
91541 Rothenburg o.d.T.

Telefon:  +49 9861 402-542
Telefax:  +49 9861 402-533
E-Mail:   erik.wolf@neuberger.net
Internet: www.neuberger.net

Handelsregister: AG Ansbach HRB 4933
Sitz: Rothenburg ob der Tauber
Geschäftsführer: Klaus Lenkner
Ust.IdNr. DE 271 188 426

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-19 10:13 Schenk, Gavin
2012-09-19 12:13 ` Wolf Erik
2012-09-19 12:42   ` Schenk, Gavin
2012-09-19 13:27     ` Wolf Erik [this message]
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=84D7328F545A4040B6CE2CB7BE091E937A9FE1@exchange.Neuberger.local \
    --to=erik.wolf@neuberger.net \
    --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