From: Maciek Borzecki <maciej.borzecki@open-rnd.pl>
To: Khem Raj <raj.khem@gmail.com>
Cc: Christopher Larson <chris_larson@mentor.com>,
Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 6/6] systemd: remove unnecessary code
Date: Tue, 09 Feb 2016 16:50:00 +0100 [thread overview]
Message-ID: <1455033000.3663.5.camel@open-rnd.pl> (raw)
In-Reply-To: <CAMKF1spPPJYxpF4mNpqXT=_aQdCR9meet=NRQqqjDzwGuoFdGg@mail.gmail.com>
On wto, 2016-02-09 at 07:19 -0800, Khem Raj wrote:
> On Mon, Feb 8, 2016 at 2:09 AM, Maciej Borzecki
> <maciej.borzecki@open-rnd.pl> wrote:
> > Remove unnecessary chown on journal file.
> >
> > Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
> > ---
> > 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
prev parent reply other threads:[~2016-02-09 15:50 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-08 10:09 [PATCH 0/6] systemd cleanup & package split Maciej Borzecki
2016-02-08 10:09 ` [PATCH 1/6] systemd: move bash completion into separate package Maciej Borzecki
2016-02-08 10:20 ` Tanu Kaskinen
2016-02-08 10:33 ` Maciek Borzecki
2016-02-08 10:09 ` [PATCH 2/6] systemd: realign packages list Maciej Borzecki
2016-02-08 10:09 ` [PATCH 3/6] systemd: extend PACKAGECONFIG flags Maciej Borzecki
2016-02-08 10:21 ` Andreas Müller
2016-02-08 10:44 ` Maciek Borzecki
2016-02-08 11:07 ` Andreas Müller
2016-02-08 11:10 ` Maciek Borzecki
2016-02-08 10:09 ` [PATCH 4/6] systemd: use sysusers for setting up required users/groups Maciej Borzecki
2016-02-08 10:09 ` [PATCH 5/6] systemd: move some tools into systemd-extra-utils package Maciej Borzecki
2016-02-08 10:09 ` [PATCH 6/6] systemd: remove unnecessary code Maciej Borzecki
2016-02-09 14:56 ` Randy MacLeod
2016-02-09 15:19 ` Khem Raj
2016-02-09 15:50 ` Maciek Borzecki [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1455033000.3663.5.camel@open-rnd.pl \
--to=maciej.borzecki@open-rnd.pl \
--cc=chris_larson@mentor.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=raj.khem@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox