From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: =?iso-8859-1?q?J=FCrgen_Beisert?= Date: Wed, 20 Nov 2013 15:07:59 +0100 References: In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201311201507.59437.jbe@pengutronix.de> Subject: Re: [ptxdist] PTXdist klogd and syslogd 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 Cc: Dave Hi Dave, I just stumbled about the same menu entry. On Wednesday 30 October 2013 09:28:36 Dave wrote: > When you select both Busybox syslogd and Busybox klogd you get the message > "klogd should not be used together with syslog to kernel printk buffer". > > At first I thought this meant you can't use both logging facilities at the > same time. However, PTXCONF_BUSYBOX_SYSLOGD help says "when used in > conjunction with klogd ... > > I would expect that if you could not use both at the same time then > menuconfig would have the necessary rules to ensure that you didn't. > > Would someone explain in more detail what that message is trying to conve= y? You mean this message in the menuconfig? [*] syslogd = [....] [*] Linux kernel printk buffer support [*] klogd = --- klogd should not be used together with syslog to kernel printk buffe= r <---- this one? [ ] Use the klogctl() interface This is because "Linux kernel printk buffer support" in 'syslogd' and 'klog= d' do the same. You should disable 'klogd' or 'syslogd's "Linux kernel printk buffer suppor= t". If you do so the menu changes to: [*] syslogd = [....] [ ] Linux kernel printk buffer support [*] klogd = [ ] Use the klogctl() interface Or: [*] syslogd = [....] [*] Linux kernel printk buffer support [ ] klogd = And everything should be fine. Regards, Juergen -- = Pengutronix e.K. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0| Juergen Beisert =A0 =A0 =A0 =A0 =A0 =A0 | Linux Solutions for Science and Industry =A0 =A0 =A0| http://www.pengutroni= x.de/ | -- = ptxdist mailing list ptxdist@pengutronix.de