From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail2.eckelmann.de ([217.19.183.93]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1TEJbo-00022m-RL for ptxdist@pengutronix.de; Wed, 19 Sep 2012 14:42:48 +0200 Received: from mail2.eckelmann.de (localhost.localdomain [127.0.0.1]) by localhost (Email Security Appliance) with SMTP id 6D958E9DB15_59BDB4B for ; Wed, 19 Sep 2012 12:42:28 +0000 (GMT) Received: from dag.eckelmann.group (ex-dag01.eckelmann.group [192.168.13.8]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client CN "*.eckelmann.group", Issuer "Eckelmann Root CA" (not verified)) by mail2.eckelmann.de (Sophos Email Appliance) with ESMTPS id 9FC7EE9DAFF_59BDB3F for ; Wed, 19 Sep 2012 12:42:27 +0000 (GMT) From: "Schenk, Gavin" Date: Wed, 19 Sep 2012 12:42:25 +0000 Message-ID: References: <84D7328F545A4040B6CE2CB7BE091E937A9FC7@exchange.Neuberger.local> In-Reply-To: <84D7328F545A4040B6CE2CB7BE091E937A9FC7@exchange.Neuberger.local> Content-Language: de-DE Content-Type: multipart/mixed; boundary="_002_D415CD2EC4182C4EAB90A76B7D9F16DCA96FEEA5EXDAG02eckelman_" MIME-Version: 1.0 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: , Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: "ptxdist@pengutronix.de" --_002_D415CD2EC4182C4EAB90A76B7D9F16DCA96FEEA5EXDAG02eckelman_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 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 --_002_D415CD2EC4182C4EAB90A76B7D9F16DCA96FEEA5EXDAG02eckelman_ Content-Type: application/x-compressed; name="patch_rsyslog-5.8.12.tgz" Content-Description: patch_rsyslog-5.8.12.tgz Content-Disposition: attachment; filename="patch_rsyslog-5.8.12.tgz"; size=693; creation-date="Wed, 19 Sep 2012 12:33:46 GMT"; modification-date="Wed, 19 Sep 2012 12:33:46 GMT" Content-Transfer-Encoding: base64 H4sIAKq7WVAAA+2V327TMBTGC5eWeIeDdsOUOY2Tpl0qiooYfy6QmCiIi2kXTnySmSVOSZzRIS72 MLwJL4aTtqCNDiS0Dgn8u6hT1z7++p3jk6o+r/Myo6G77zK/39sGnmEUhr0L89xc3Lu/HO/e8X7Q Y77nD4MgDIKg57EwGPk9CLei5gpNrXkF0KuTE1Sn168TZfH1i0JFY1SN/oTVbYjbPtXl/NdYSaxv +Iw2wcPB4Nr8++FolX829P2Byf9wyFgPvBvWsZH/PP87kKHCimsUEJ9DJjWd6wWdc238qMmO5tk4 5jUCpa1RmqqmiLECRkziGE3lgjZK6lTmSNOyogo/YkVNUWksBJXFPMcCleZalsrtopIdiBLBeeql CWcsGgWjIUuGXOwnCabtMACgV5VAwTOZkL9t1z/Hlfv/p0n95Rm/uf+Mhezy/Q/MbGDv/23wrCqL MTznZ1LBrLMAHmbu0owpJqeYF1wpV+AjcmCaxBjeodgDFsEM5+B7zAfmj3029hg4nu95ZNbE7zHR Yzg6fPzmyYtjMNUE62oCU03QVROsqgkuVxMhlFICq6p0zevoTCboGnGfweCDY35l0MaqITnhKuvk gFRmaRugfuDsthMCc1x+p7uECJmmpoOZngK8vyF4vGGSSCVwAZxHGIrYdaM0YpEfAOuKudW5MRZx HGdzvOkUKNvbB6f9mE4JHL01thwTOMA6qeS8lTuZdbbAyzLLpMqMy9124rzGD42ssJ6s45YmN5qA ibJac0zo0wUms7ZLH1Y46cdS9ZcuJzqHWpfzten0tKgzuowk1hIJfN8+mdZms5DVdP0/BFAFNAkJ zLqDf9Jh9inBK/Gq0fNGT1ST58YiIMwduZ47ILZzWywWi8VisVgsFovFYrFYLBaLxWKxWCwWy3b5 Bhu0GooAKAAA --_002_D415CD2EC4182C4EAB90A76B7D9F16DCA96FEEA5EXDAG02eckelman_ Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --_002_D415CD2EC4182C4EAB90A76B7D9F16DCA96FEEA5EXDAG02eckelman_--