From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.neuberger.eu ([195.243.134.34] helo=fw.neuberger.net) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1TEKJF-0003wH-0o for ptxdist@pengutronix.de; Wed, 19 Sep 2012 15:27:24 +0200 Received: from exchange.neuberger.local ([10.46.16.202]:56461) by fw.neuberger.net with esmtp (Exim 4.76) (envelope-from ) id 1TEKJ4-000544-32 for ptxdist@pengutronix.de; Wed, 19 Sep 2012 15:27:11 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Wed, 19 Sep 2012 15:27:11 +0200 Message-ID: <84D7328F545A4040B6CE2CB7BE091E937A9FE1@exchange.Neuberger.local> In-Reply-To: References: <84D7328F545A4040B6CE2CB7BE091E937A9FC7@exchange.Neuberger.local> From: "Wolf Erik" Subject: Re: [ptxdist] rsyslog does not work with systemd 189 Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Schenk, Gavin wrote: > Hi, > = > without any warranty :D ... > I=B4m not sure if I can attach files to this mail, but i=B4ll 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 =3D/bin/systemctl stop systemd-kmsg-syslogd.service and > adds Requires=3Dsyslog.socket in rsyslog.service.in = Are you sure that you need "Requires=3Dsyslog.socket"? I have tried it and it doesn't work. It seems to be work if i remove the pr= evious 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: >>> = >>> >>> [Unit] >>> Description=3DSystem Logging Service >>> = >>> [Service] >>> ExecStartPre=3D/bin/systemctl stop systemd-kmsg-syslogd.service >>> ExecStart=3D@sbindir@/rsyslogd -n -c6 Sockets=3Dsyslog.socket >>> StandardOutput=3Dnull = >>> = >>> But in newer systemd environments it should look like: [Unit] >>> Description=3DSystem Logging Service >>> Requires=3Dsyslog.socket >>> = >>> [Service] >>> ExecStart=3D/usr/sbin/syslog-ng -n >>> StandardOutput=3Dnull >>> = >>> [Install] >>> Alias=3Dsyslog.service >>> WantedBy=3Dmulti-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=FC=DFen >> = >> i.A. Erik Wolf >> Hardwareentwicklung >> = >> Neuberger Geb=E4udeautomation 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=E4ftsf=FChrer: 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=FC=DFen i.A. Erik Wolf Hardwareentwicklung Neuberger Geb=E4udeautomation 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=E4ftsf=FChrer: Klaus Lenkner Ust.IdNr. DE 271 188 426 -- = ptxdist mailing list ptxdist@pengutronix.de