From patchwork Mon Mar 25 11:09:00 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Tilman_Keskin=C3=B6z?= X-Patchwork-Id: 230630 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 0D6C12C00A9 for ; Mon, 25 Mar 2013 22:09:19 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 17139101B04; Mon, 25 Mar 2013 11:09:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FoerdSPJf5KM; Mon, 25 Mar 2013 11:08:59 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id C68AA101AC7; Mon, 25 Mar 2013 11:08:58 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id CC7C88F753 for ; Mon, 25 Mar 2013 11:09:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 2BEF385746 for ; Mon, 25 Mar 2013 11:09:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id a5hqrL7gRiog for ; Mon, 25 Mar 2013 11:09:11 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail01.rise-w.com (mail01.rise-w.com [88.116.105.226]) by whitealder.osuosl.org (Postfix) with ESMTPS id 1F64F85BBB for ; Mon, 25 Mar 2013 11:09:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail01.rise-w.com (Postfix) with ESMTP id 5DEDB40E09D; Mon, 25 Mar 2013 12:09:08 +0100 (CET) Received: from [192.168.4.2] (inek.arved.priv.at [78.142.160.182]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.rise-world.com (Postfix) with ESMTPSA id 55ABB40E090; Mon, 25 Mar 2013 12:09:07 +0100 (CET) Message-ID: <5150304C.1080708@arved.at> Date: Mon, 25 Mar 2013 12:09:00 +0100 From: =?UTF-8?B?VGlsbWFuIEtlc2tpbsO2eg==?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130308 Thunderbird/17.0.4 MIME-Version: 1.0 To: buildroot@busybox.net References: <20130320142936.6D2CF9B1DD@busybox.osuosl.org> In-Reply-To: <20130320142936.6D2CF9B1DD@busybox.osuosl.org> X-Enigmail-Version: 1.4.6 Subject: Re: [Buildroot] [Bug 6128] [patch] Fix S01logging pidfile handling X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net * bugzilla [Wed, 20 Mar 2013 14:29:36 +0000 (UTC)]: > https://bugs.busybox.net/show_bug.cgi?id=6128 > > --- Comment #2 from Thomas Petazzoni 2013-03-20 14:30:20 UTC --- > Thanks. Can you send this as two proper separate patches on the Buildroot > mailing list? > --- busybox-1.20.x.config.orig 2013-03-20 14:42:31.297615642 +0100 +++ busybox-1.20.x.config 2013-03-20 14:42:51.045615146 +0100 @@ -41,7 +41,7 @@ CONFIG_FEATURE_CLEAN_UP=y CONFIG_FEATURE_UTMP=y CONFIG_FEATURE_WTMP=y -# CONFIG_FEATURE_PIDFILE is not set +CONFIG_FEATURE_PIDFILE=y CONFIG_FEATURE_SUID=y # CONFIG_FEATURE_SUID_CONFIG is not set # CONFIG_FEATURE_SUID_CONFIG_QUIET is not set --- S01logging.orig 2013-03-20 14:42:18.313615967 +0100 +++ S01logging 2013-03-20 14:42:35.373615539 +0100 @@ -6,13 +6,13 @@ case "$1" in start) echo -n "Starting logging: " - start-stop-daemon -S -q -p /var/run/syslog.pid --exec /sbin/syslogd -- -m 0 + start-stop-daemon -S -q -p /var/run/syslogd.pid --exec /sbin/syslogd -- -m 0 start-stop-daemon -S -q -p /var/run/klogd.pid --exec /sbin/klogd echo "OK" ;; stop) echo -n "Stopping logging: " - start-stop-daemon -K -q -p /var/run/syslog.pid + start-stop-daemon -K -q -p /var/run/syslogd.pid start-stop-daemon -K -q -p /var/run/klogd.pid echo "OK" ;;