From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from akt59.rev.netart.pl (akt59.rev.netart.pl [85.128.150.59]) by mail.openembedded.org (Postfix) with ESMTP id 2653C607A5 for ; Tue, 9 Feb 2016 15:50:02 +0000 (UTC) Received: from comp-006-thk (unknown [31.182.60.238]) by open-rnd.nazwa.pl (Postfix) with ESMTP id F08182D6030; Tue, 9 Feb 2016 16:50:00 +0100 (CET) Message-ID: <1455033000.3663.5.camel@open-rnd.pl> From: Maciek Borzecki Reply-To: maciej.borzecki@open-rnd.pl To: Khem Raj Date: Tue, 09 Feb 2016 16:50:00 +0100 In-Reply-To: References: <1454926183-22439-1-git-send-email-maciej.borzecki@open-rnd.pl> <1454926183-22439-7-git-send-email-maciej.borzecki@open-rnd.pl> Organization: Open-RnD sp. z o.o. X-Mailer: Evolution 3.18.4 (3.18.4-1.fc23) Mime-Version: 1.0 Cc: Christopher Larson , Patches and discussions about the oe-core layer Subject: Re: [PATCH 6/6] systemd: remove unnecessary code X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 15:50:03 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit On wto, 2016-02-09 at 07:19 -0800, Khem Raj wrote: > On Mon, Feb 8, 2016 at 2:09 AM, Maciej Borzecki > wrote: > > Remove unnecessary chown on journal file. > > > > Signed-off-by: Maciej Borzecki > > --- > >  meta/recipes-core/systemd/systemd_228.bb | 2 +- > >  1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/meta/recipes-core/systemd/systemd_228.bb b/meta/recipes- > > core/systemd/systemd_228.bb > > index > > 40ed81a37e78c67bae13f7ee7018d85efa2f6b7d..03434ff9d5ff19fe043332b0b53a4fa96ab2b120 > > 100644 > > --- a/meta/recipes-core/systemd/systemd_228.bb > > +++ b/meta/recipes-core/systemd/systemd_228.bb > > @@ -209,7 +209,7 @@ do_install() { > >                 sed -i s%@UDEVD@%${rootlibexecdir}/systemd/systemd-udevd% > > ${D}${sysconfdir}/init.d/systemd-udevd > >         fi > > > > -       chown root:systemd-journal ${D}/${localstatedir}/log/journal > > +        # chown root:systemd-journal ${D}/${localstatedir}/log/journal > > > > journald requires these perms on this directory. Can you describe the > issue it fixes ? > I should use non-root user a bit more often. Apparently journalctl becomes useless without systemd-journal chown on /var/log/journal. I'll revise this and the other useradd/sysusers patch. Thanks for catching this.   --  Maciej Borzęcki Open-RnD Sp. z o.o., Poland www.open-rnd.pl